Kubernetes is an open-source container orchestrator that automates tasks such as management, monitoring, scaling, and deployment of containerized applications.
How is Kubernetes related to Docker?
Docker is an open-source software platform. Its biggest benefit is the packaging of settings and dependencies of an application on a container which allows for portability.
Kubernetes allows for the linking of several containers running on multiple hosts.
What is Helm?
Helm is a tool for automating the creation, packaging, configuration, and deployment of applications into Kubernetes clusters.
What is the advantage of deploying in containers instead of hosts?
Deploying in containers offers better isolation from other applications.
What are the features of Kubernetes?
- Kubernetes controls how to launch the containers, replacing manual processes
- Manages various clusters at the same time
- Provides additional services like security, networking, and storage
- Self-monitors the health of nodes and containers
- Resources can be scaled not just vertically but horizontally as well
What are the main concepts of Kubernetes architecture?
There are two main components, the master node and the worker node. Each has individual components.
What is the role of the master node?
The master node is the node that manages a set of worker nodes.
What is the role of the kube-apiserver?
It validates and provides configuration data for API objects, such as pods, services, replication controllers, etc
What is a node in Kubernetes?
A node is a unit of computing, it represents a single machine in the cluster. It can be a physical machine or a virtual machine on a cloud provider.
What does the node status contain?
The main components of node status are address, condition, capacity, and info.
What processes run on a Kubernetes master node?
The kube-api server process serves to scale the deployment to more instances
What is a pod in Kubernetes?
A pod is a high-level structure, it can contain one or more containers. Containers that are on the same pod share resources that enable them to easily communicate with each other.
What does the kube-scheduler do?
The kube-scheduler assigns nodes to newly created pods.
What are Daemon sets?
Daemon sets are pods that run only once on a host, they are used for attributes like monitoring and network.
What is Heapster in Kubernetes?
Heapster is a performance monitoring and metric collection system that is natively supported in Kubernetes.
What is Minibube?
Minikube is a tool that enables users to run Kubernetes locally in Docker.
What are the initial namespaces in Kubernetes?
- Default
- Kube – system
- Kube – public
What is the Kubernetes controller manager?
The Kubernetes controller manager is a daemon that is used to embed control loops for things like garbage collection and namespace creation. It enables multiple processes to run on the controller node even though they are compiled as a single process.
What are the types of controller managers?
- Endpoints controller
- Service accounts controller
- Namespace controller
- Node controller
- Token controller
- Replication controller