Assignment Day 3

What is the architecture and components of Kubernetes? Kubernetes is a portable, extensible, open-source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation. It has a large, rapidly growing ecosystem. Kubernetes services, support, and tools are widely available. When you deploy Kubernetes, you get a cluster. A Kubernetes cluster consists of a set of worker machines, called nodes, that run containerized applications. Every cluster has at least one worker node. The worker node(s) host the Pods that are

Read more

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

The docker update command dynamically updates container configuration. We can use this command to prevent containers from consuming too many resources from their Docker host eg : docker update –cpu-shares 512 219444e11a87 docker inspect 219444e11a87 We can check the value for CPU share to be 512 docker wait Start a container in the background. $ docker run -dit –name=my_container ubuntu bash Run docker wait, which should block until the container exits. $ docker wait my_container In another terminal, stop the first container. The docker

Read more

Assignment 1

What is the diff between docker pause and docker unpause? The command “docker pause” suspends all processes in the specified containers. Usually the SIGSTOP signal is sent to the process, which is observable by the process being suspended. EG : docker pause 9b1247ebff59 docker ps -a 9b1247ebff59   jenkins/jenkins   “/sbin/tini — /usr/…”   20 minutes ago   Up 17 seconds (Paused)          8080/tcp, 50000/tcp   Demo1 EG : The command “docker unpause” automatically un-suspends the processes in the specified containers. Usually this is accomplished via

Read more