What is the architecture and components of Kubernetes?

The Control plane (master)The Control plane is made up of the kube-api server, kube scheduler, cloud-controller-manager and kube-controller-manager. Kube proxies and kubelets live on each node, talking to the API and managing the workload of each node. As the control plane handles most of Kubernetes’ ‘decision making’, nodes which have these components running generally don’t have any user containers running – these are normally named as master nodes. Cloud-controller-managerThe cloud-controller-manager runs in the control plane as a replicated set of

Read more

Assignment Day 2 – Explain docker update & docker wait commands with example

docker update The docker update command dynamically updates container configuration. You can use this command to prevent containers from consuming too many resources from their Docker host eg : docker update –cpu-shares 512 317e428b3427(share cpu) you can check with the docker inspect 166eb15bcb01 command docker wait Start a container in the background. Run docker wait, which should block until the container exits. In another terminal, stop the first container. The docker wait command above returns the exit code. This is the same docker wait command from above,

Read more

Assignment for Docker – Day 1

What is the diff between docker stop and docker kill? docker stop: Stop a running container (send SIGTERM, and then SIGKILL after grace period) […] The main process inside the container will receive SIGTERM, and after a grace period, SIGKILL. [emphasis mine] docker kill: Kill a running container (send SIGKILL, or specified signal) […] The main process inside the container will be sent SIGKILL, or any signal specified with option –signal. [emphasis mine] What is the diff between docker pause

Read more

Assignment for Docker – Day 1

Create a POST on bestDevops.com and answer following questions? Install Docker in your assigned VM? Verify docker installation and basic commands? Self proov it – What is Container? What is the diff between docker pause and docker unpause? What is the diff between docker stop and docker kill?

Read more