AJ - intro to k8s Flashcards
notes from edx - Intro to kubernetes
Name 3 container runtimes
runC, containerd (usered by Docker), rkt
3 components of worker node
container runtime, kubelet, kubeproxy
3 components of master node
api-server, scheduler, controller
What is the role of kubelet?
agent on worker node which communicates with master node
what are two services run by container runtime?
ImageService and ContainerService
What is the role of kube-proxy?
kube-proxy is the network proxy which runs on each worker node and listens to the API server for each Service endpoint creation/deletion. For each Service endpoint, kube-proxy sets up the routes so that it can reach to it
Describe the 4 types of kubenetes set
All-in-One Single-Node Installation
With all-in-one, all the master and worker components are installed on a single node. This is very useful for learning, development, and testing. This type should not be used in production. Minikube is one such example, and we are going to explore it in future chapters.
Single-Node etcd, Single-Master, and Multi-Worker Installation
In this setup, we have a single master node, which also runs a single-node etcd instance. Multiple worker nodes are connected to the master node.
Single-Node etcd, Multi-Master, and Multi-Worker Installation
In this setup, we have multiple master nodes, which work in an HA mode, but we have a single-node etcd instance. Multiple worker nodes are connected to the master nodes.
Multi-Node etcd, Multi-Master, and Multi-Worker Installation
In this mode, etcd is configured in a clustered mode, outside the Kubernetes cluster, and the nodes connect to it. The master nodes are all configured in an HA mode, connecting to multiple worker nodes. This is the most advanced and recommended production setup.
Kubernetes administration tools
kubeadm, kubespray, Kops
What is purpose of ReplicationControllers
Ensure specified number of replicas are running.
What is ReplicatSet
Same as ReplicationController which support both equality and set-based selectors