Assignment of Day3
Limited Time Offer!
For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!
Write down 10 features of Kubernetes with image
- Reduce the complexity of container
- Container orchestration
- Scheduling user requests
- Scaling containers
- Load balancing the containers
- Rollback containers
- Self-healing
- Monitoring
- Add-ons like ingress, dns
- Ability to absorb changes quickly
What are the components of Kubernetes master and explain each component’s function?
There are 4 major components in kubernetes master.
1. API server -> Collect or get the user input and act as a front end to control plane
2. Controller -> responsible for noticing and responding when node goes down.
3. Scheduler -> Provide information to worker for instantiating the pod.
4. Cluster store -> Uses etcd for storing configuration about cluster state.
What are the components of Kubernetes worker and explain each component’s function?
1. Kubelet -> communicate with control plane and the Node. Manages the pods and the containers.
Kubernetes worker consist of
2. Container engine -> for managing the docker images for runtime.
3. Kubeproxy -> for allocating the network config for the pod.
4. Pod -> Collection of one or more containers
What is Pod in kubernetes? Explain in 15 points with image as an example
- Collection of one or more containers
- Pods can only be instantiated not created.
- Pods are created using json/yaml file.
- Ephemeral in nature (temporary)
- Pod to pod communication through kubeproxy
- Atomicity in nature
- Pod has the life cycle/ states such as ready/pending, running, succeeded/failed
- Services inside the pod is accessed through same pod IP.
- Pod with multiple containers are not a good practice.
- Pod either runs or exits.