Please enable JavaScript.
Coggle requires JavaScript to display documents.
Kubernetes(Link Title ) (Component on master node (API Server (provides…
Kubernetes(
Link Title
)
Component on master node
Storage Backend
stores resource definitions (usually etcd is used)
API Server
provides Kubernetes API and manages storage backend
access the storage backend directly through Kubernetes API.
Controller Manager
ensures resource statuses match specifications
Schdeuler
schedules Pods to worker nodes
Component on work node
Kubectl
manages execution of containers on a worker node
Output Format
kubectl get pod
kubectl get pods -o custom-columns='NAME:metadata.name'
Display container images of Pods
kubectl get pods -o custom-columns='NAME:metadata.name,IMAGES:spec.containers[*].image'
Display availability zones of nodes
kubectl get nodes -o custom-columns='NAME:metadata.name,ZONE:metadata.labels.failure-domain.beta.kubernetes.io/zone'
kubeconfig .
Link Title
set of contexts
Cluster
URL of the API server of a cluster
User
authentication credentials for a specific user of the cluster
Namespace
the namespace to use when connecting to the cluster
Kubectx && kubens
Description:
switching between clusters and namespaces
Kubectl
list all contexts
kubectl config get-contexts
get the current context
kubectl config current-context
change the current context
kubectl config use-context
change an element of a context
kubectl config set-context
Config Map