Introduction Flashcards
What is a container?
A standard unit of software that packages up code and its dependencies so the application can be run quickly and reliably from one environment to another
Explain the laptop/desktop analogy with containers
Desktop: not portable, requires a lot of external dependencies (keyboard, mouse, monitor)
Laptop: run it anywhere, everything is included
Containers are like laptops
What are three advantages of containers?
- Portability
- Consistency
- Low Overhead (use fewer resources)
What is a container runtime?
The software used to run containers on a machine
What is Kubernetes?
It’s an open-source system for automating deployment, scaling, and management, of containerized applications
T/F: K8S handles deploying your containers to multiple servers
True
T/F: K8S doesn’t allow you to manage multiple replicas of your application
False
T/F: K8S can scale up your apps by spinning up/spinning down replicas of your containers
True
What is a K8S Cluster?
It’s a collection of worker machines that run containers
What is a control plane in the context of a K8S cluster?
A collection of software/services that control the cluster, i.e.
- users interact with the cluster using the control plane
- the control plane monitors the state of the cluster
What is a node in the context of a K8S cluster?
A machine that runs containers within the cluster, i.e.
- the node is solely responsible for the containers within it
- it monitors the state of its containers and reports the status back to the control plane
What does a worker node require to manage its containers?
A container runtime, e.g. containerd
What does a worker node require to manage Kubernetes activity on its node?
A component called kubelet
What is kubeadm?
it’s a tool that streamlines the process of setting up our kubernetes cluster
T/F: The K8S API is the central point of communication between various kubernetes components
True