2 - Kubernetes Concepts Flashcards
What is the purpose of each software below?
Minikube
MicroK8s
Kubeadm
- Minikube and MicroK8s are for installation in developer environments, such as notebooks.
- Kubeadm is used to install kubernete in large-scale environments or cloud providers.
What is a POD ?
POD is a single instance of an application. It is the smallest object that can be created in Kubernetes.
An application configured in a POD within Kubernetes. The number of users accessing this application is growing and we need to increase scalability. How can I do this ?
We created a new POD running the same instance of the application and now we have two PODs running the same instance of the application. We should never create a new instance of the application in the same POD.
When should we create more than one container within a POD?
When we have an application that performs some type of task to support our main application.
Which command is used to create a POD?
kubectl run name –image image_container
Which command is used to see the PODs running?
kubectl get pods
Which command is used to see more details of a POD running?
kubectl describe pod name
or
kubectl get pods -o wide