Skip to content

An overview of Kubernetes components

k8s-components.png

Component nameControl plane, worker node, or client
KubeadmAdmin tool
Kube-apiserverControl plane (master node)
EtcdControl plane (master node)
Kube-schedulerControl plane (master node)
Kube-controller-managerControl plane (master node)
KubeletWorker node
Kube-proxyWorker node
Container EngineWorker node
kubectlClient

Control panel

  • API server
  • etcd database
  • kube-scheduler
  • kube-controller-manager
  • cloud-controller-manager

Worker node components

  • kubelet
  • kube-proxy
  • Container runtime (Docker/CRI-O/containerd)

Interacting with the API server

  • CLI: kubectl
  • API: https://kubernetes.io/docs/concepts/overview/kubernetes-api

API Resources

NAMESHORTNAMESAPIVERSIONNAMESPACEDKIND
bindingsv1TRUEBinding
componentstatusescsv1FALSEComponentStatus
configmapscmv1TRUEConfigMap
endpointsepv1TRUEEndpoints
eventsevv1TRUEEvent
limitrangeslimitsv1TRUELimitRange
namespacesnsv1FALSENamespace
nodesnov1FALSENode
persistentvolumeclaimspvcv1TRUEPersistentVolumeClaim
persistentvolumespvv1FALSEPersistentVolume
podspov1TRUEPod
podtemplatesv1TRUEPodTemplate
replicationcontrollersrcv1TRUEReplicationController
resourcequotasquotav1TRUEResourceQuota
secretsv1TRUESecret
serviceaccountssav1TRUEServiceAccount
servicessvcv1TRUEService
mutatingwebhookconfigurationsadmissionregistration.k8s.io/v1FALSEMutatingWebhookConfiguration
validatingwebhookconfigurationsadmissionregistration.k8s.io/v1FALSEValidatingWebhookConfiguration
customresourcedefinitionscrd,crdsapiextensions.k8s.io/v1FALSECustomResourceDefinition
apiservicesapiregistration.k8s.io/v1FALSEAPIService
controllerrevisionsapps/v1TRUEControllerRevision
daemonsetsdsapps/v1TRUEDaemonSet
deploymentsdeployapps/v1TRUEDeployment
replicasetsrsapps/v1TRUEReplicaSet
statefulsetsstsapps/v1TRUEStatefulSet
tokenreviewsauthentication.k8s.io/v1FALSETokenReview
localsubjectaccessreviewsauthorization.k8s.io/v1TRUELocalSubjectAccessReview
selfsubjectaccessreviewsauthorization.k8s.io/v1FALSESelfSubjectAccessReview
selfsubjectrulesreviewsauthorization.k8s.io/v1FALSESelfSubjectRulesReview
subjectaccessreviewsauthorization.k8s.io/v1FALSESubjectAccessReview
horizontalpodautoscalershpaautoscaling/v2TRUEHorizontalPodAutoscaler
cronjobscjbatch/v1TRUECronJob
jobsbatch/v1TRUEJob
certificatesigningrequestscsrcertificates.k8s.io/v1FALSECertificateSigningRequest
leasescoordination.k8s.io/v1TRUELease
bgpconfigurationscrd.projectcalico.org/v1FALSEBGPConfiguration
bgppeerscrd.projectcalico.org/v1FALSEBGPPeer
blockaffinitiescrd.projectcalico.org/v1FALSEBlockAffinity
caliconodestatusescrd.projectcalico.org/v1FALSECalicoNodeStatus
clusterinformationscrd.projectcalico.org/v1FALSEClusterInformation
felixconfigurationscrd.projectcalico.org/v1FALSEFelixConfiguration
globalnetworkpoliciescrd.projectcalico.org/v1FALSEGlobalNetworkPolicy
globalnetworksetscrd.projectcalico.org/v1FALSEGlobalNetworkSet
hostendpointscrd.projectcalico.org/v1FALSEHostEndpoint
ipamblockscrd.projectcalico.org/v1FALSEIPAMBlock
ipamconfigscrd.projectcalico.org/v1FALSEIPAMConfig
ipamhandlescrd.projectcalico.org/v1FALSEIPAMHandle
ippoolscrd.projectcalico.org/v1FALSEIPPool
ipreservationscrd.projectcalico.org/v1FALSEIPReservation
kubecontrollersconfigurationscrd.projectcalico.org/v1FALSEKubeControllersConfiguration
networkpoliciescrd.projectcalico.org/v1TRUENetworkPolicy
networksetscrd.projectcalico.org/v1TRUENetworkSet
endpointslicesdiscovery.k8s.io/v1TRUEEndpointSlice
eventsevevents.k8s.io/v1TRUEEvent
flowschemasflowcontrol.apiserver.k8s.io/v1beta2FALSEFlowSchema
prioritylevelconfigurationsflowcontrol.apiserver.k8s.io/v1beta2FALSEPriorityLevelConfiguration
ingressclassesnetworking.k8s.io/v1FALSEIngressClass
ingressesingnetworking.k8s.io/v1TRUEIngress
networkpoliciesnetpolnetworking.k8s.io/v1TRUENetworkPolicy
runtimeclassesnode.k8s.io/v1FALSERuntimeClass
poddisruptionbudgetspdbpolicy/v1TRUEPodDisruptionBudget
podsecuritypoliciespsppolicy/v1beta1FALSEPodSecurityPolicy
clusterrolebindingsrbac.authorization.k8s.io/v1FALSEClusterRoleBinding
clusterrolesrbac.authorization.k8s.io/v1FALSEClusterRole
rolebindingsrbac.authorization.k8s.io/v1TRUERoleBinding
rolesrbac.authorization.k8s.io/v1TRUERole
priorityclassespcscheduling.k8s.io/v1FALSEPriorityClass
csidriversstorage.k8s.io/v1FALSECSIDriver
csinodesstorage.k8s.io/v1FALSECSINode
csistoragecapacitiesstorage.k8s.io/v1beta1TRUECSIStorageCapacity
storageclassesscstorage.k8s.io/v1FALSEStorageClass
volumeattachmentsstorage.k8s.io/v1FALSEVolumeAttachment

Kubernetes-Primitives.png

Reference

  • Kubernetes – An Enterprise Guide (Marc Boorshtein, Scott Surovich)
  • Certified Kubernetes Administrator (CKA) Study Guide (Benjamin Muschko)

Disclaimer
  1. License under CC BY-NC 4.0
  2. Copyright issue feedback me#imzye.me, replace # with @
  3. Not all the commands and scripts are tested in production environment, use at your own risk
  4. No privacy information is collected here
Try my iOS App