Skip to content

Instantly share code, notes, and snippets.

@carlosgrillet
Created June 13, 2025 17:53
Show Gist options
  • Select an option

  • Save carlosgrillet/eb25fca1f4b99c4fba0e3d4c1b513b2a to your computer and use it in GitHub Desktop.

Select an option

Save carlosgrillet/eb25fca1f4b99c4fba0e3d4c1b513b2a to your computer and use it in GitHub Desktop.
This is a list with all the resources availabes in kubernetes api.

Kubernetes Resources

API and Registration

  1. APIService: Registers API services to extend the Kubernetes API.
  2. CustomResourceDefinition (CRD): Defines custom resources, enabling users to create their own resource types.

Certificates

  1. CertificateSigningRequest (CSR): Manages certificate signing requests for entities needing TLS certificates.

RBAC (Role-Based Access Control)

  1. ClusterRole: Defines permissions at the cluster level.
  2. ClusterRoleBinding: Binds cluster roles to users, groups, or service accounts at the cluster level.
  3. Role: Defines permissions within a specific namespace.
  4. RoleBinding: Binds roles to users, groups, or service accounts within a namespace.

Configuration and Storage

  1. ConfigMap: Stores configuration data as key-value pairs for use by pods.
  2. Secret: Stores sensitive data like passwords or tokens securely.
  3. PersistentVolume (PV): Represents storage resources available to the cluster.
  4. PersistentVolumeClaim (PVC): Requests storage from persistent volumes.
  5. StorageClass: Defines storage classes to provision storage dynamically.

Workloads

  1. Pod: The smallest deployable units in Kubernetes, representing one or more containers.
  2. ReplicationController: Ensures a specified number of pod replicas are running.
  3. ReplicaSet: Maintains a stable set of replica pods.
  4. Deployment: Manages updates and rollbacks for ReplicaSets and Pods.
  5. DaemonSet: Ensures a copy of a pod runs on all (or some) nodes.
  6. StatefulSet: Manages stateful applications with unique identities and persistent storage.
  7. Job: Runs tasks to completion.
  8. CronJob: Schedules Jobs to run at specified intervals.

Networking

  1. Service: Exposes an application running on a set of Pods as a network service.
  2. Endpoints: Tracks the IP addresses of Pods backing a Service.
  3. EndpointSlice: Splits endpoints into smaller slices for scalability.
  4. Ingress: Manages external HTTP/HTTPS access to services.
  5. IngressClass: Defines different ingress controller configurations.

Scheduling and Scaling

  1. Node: Represents worker machines in the cluster.
  2. HorizontalPodAutoscaler (HPA): Automatically scales the number of Pods based on CPU or other metrics.
  3. PodDisruptionBudget (PDB): Limits the number of Pods that can be down during voluntary disruptions.
  4. PriorityClass: Defines priority levels for scheduling Pods.

Resource Management

  1. ResourceQuota: Limits resource usage (CPU, memory, storage) per namespace.
  2. LimitRange: Enforces minimum and maximum resource constraints for Pods and containers.

Cluster Coordination

  1. Lease: Used for leader election and coordination between components.
  2. Event: Records cluster events for debugging and monitoring.
  3. Event (v1): An enhanced version of the core Events API.

Admission Control

  1. MutatingWebhookConfiguration: Configures webhooks that modify objects before they are stored.
  2. ValidatingWebhookConfiguration: Configures webhooks that validate objects before they are stored.
  3. ValidatingAdmissionPolicy: Defines policies for validating requests.
  4. ValidatingAdmissionPolicyBinding: Binds validating admission policies to resources.

Storage and CSI (Container Storage Interface)

  1. CSIDriver: Registers CSI drivers in the cluster.
  2. CSINode: Tracks CSI driver information on nodes.
  3. CSIStorageCapacity: Reports storage capacity for CSI drivers.
  4. VolumeAttachment: Tracks volume attachments to nodes.

Flow Control

  1. FlowSchema: Defines how API requests are categorized for flow control.
  2. PriorityLevelConfiguration: Configures priority levels for API request handling.

Miscellaneous

  1. ControllerRevision: Stores historical revisions of controllers like Deployments or StatefulSets.
  2. NetworkPolicy: Defines rules for traffic between Pods.
  3. PodTemplate: Templates for creating Pods.
  4. RuntimeClass: Defines container runtime configurations for Pods.
  5. Namespace: Logical partitions for organizing resources in the cluster.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment