Skip to main content

Posts

Showing posts from January, 2021

What is Kubernetes

The name Kubernetes originates from Greek, meaning helmsman or pilot, also known as k8s. Google open-sourced the Kubernetes project in 2014 and donated the Kubernetes project to the Cloud Native Computing Foundation (CNCF) in 2015. Kubernetes originated from a Google's project called borg. Borg was the predecessor to Kubernetes, and Kubernetes combines over 15 years of Google's experience running production workloads at scale with best-of-breed ideas and practices from the community.

How to increase devmapper: Thin Pool or loop-lvm Size in Docker

Sometimes while we do any docker operation or build docker images, we might encounter devmapper: Thin Pool space issue. daemon: devmapper: Thin Pool has 132480 free data blocks which is less than minimum required 163840 free data blocks. Create more free space in thin pool or use dm.min_free_space option to change behavior We can resize a loop-lvm thin pool manually without any device-tool utility. 1. First grep the location of Data loop file.      $ sudo docker info | grep loop WARNING: Usage of loopback devices is strongly discouraged for production use. Use `--storage-opt dm.thinpooldev` to specify a custom block storage device. Data file: /dev/loop0 Metadata file: /dev/loop1 Data loop file: /var/lib/docker/devicemapper/devicemapper/data Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata 2. Check the total size of loop0 device. $ echo $[ $(sudo blockdev --getsize64 /dev/loop0) / 1024 / 1024 / 1024 ] 100 3. We will add 100GB in Data file: /dev/l...