Kubernetes Resources

In Kubernetes, resources are like building blocks used to create and manage your cluster. Each resource is an object with metadata (such as names and labels) and a desired state that defines its behavior. All objects in Kubernetes are managed by an API and stored in the etcd database.

For example, a Pod resource defines how to run a group of containers, while a Service resource manages network access to those containers. Everything you can manage with kubectl or the Kubernetes API - like workloads, storage, or configuration - is a resource, making them essential for defining and controlling your cluster's behavior.

The following command lists all the resources that can be managed in a Kubernetes cluster, including their names, short names, API versions, and whether they are namespaced:

kubectl api-resources

The most relevant resources for the KCNA exam are marked red

Resource Overview

Core Resources

Workloads

Networking

RBAC (Role-Based Access Control)

Storage

Admission Control

API Extensions

Authentication and Authorization

Autoscaling

Certificates

Coordination

Discovery

Events

Flow Control

Node Management

Policies

Scheduling


Revision #43
Created 18 November 2024 21:50:34 by Admin
Updated 25 November 2024 16:02:47 by Admin