k8s part 1 (architecture) Flashcards
what are worker nodes in k8s?
These are the physical servers where the containers will be running.
How many ways can a k8s master receive commands from the user?
Through API CLI and GUI
what is kubectl in k8s?
It is a command line tool that allows you to run commands against a k8s cluster.
what are the things you need before you start running kubectl commands against a k8s master?
you need the kubectl binary, a kube config file
what is the function of the api server?
Responsible for exposing the k8s API, it acts as the entry point for the entire cluster.
what is the function of ETCD?
Used for storing all the configuration data of the cluster.
what is the function of the scheduler?
Component on the master that selects nodes for pods to run on.
what is the function of the controller manager?
watches the state of the cluster through the API server and makes changes so that the desired state matches the current state.
what is the function of the cloud controller manager?
It allows Kubernetes to interact with the underlying cloud provider.
what is the function of the kubelet in a worker node?
Its primary role is to ensure that containers are running in the pods as expected.
what is the function of the kube-proxy in a worker node?
Kube-proxy is a critical component of Kubernetes responsible for maintaining network communication between the pods.
what is the function of the container runtime in a worker node?
It is the software responsible for running containers. eg docker, containerd,
what is a k8s object?
It is a record of intent that you pass to the k8s cluster.