SRE – Day2

What is Docker volume and how to work with it?

Docker volumes are file systems mounted on Docker containers to preserve data generated by the running container.

The volumes are stored on the host, independent of the container life cycle. This allows users to back up data and share file systems between containers easily.

To create a Docker Volume use the command:

docker volume create [volume_name]

Mounting a Data Volume:

docker run --mount source=[volume_name],destination=[path_in_container] [docker_image]

What is Kubernetes pod?

Pod is a Logical definition of Running applications in Kubernetes. It contains one are more containers.It will get assigned a IP address from kube-proxy which is shared between its containers. Also gets a Volume which also shared among its containers. It runs as long as container running. Pod is instantiated by Kubelet.

List of container runtime tools which is supported by Kubernetes?

What are the new major changes happened in kubernetes 1.22?

  • Server-side Apply graduates to GA
  • External credential providers now stable
  • etcd moves to 3.5.0
  • Quality of Service for memory resources
  • Node system swap support
  • Windows enhancements and capabilities
  • Default profiles for seccomp
  • More secure control plane with kubeadm
  • Removal of several deprecated beta APIs
  • API changes and improvements for ephemeral containers