Stefan Kecskes

Never stop learning, because life never stops teaching

Using Volumes in Kubernetes

Volumes in Kubernetes are used to store data used by our applications. So that concept is very similar to volumes in docker containers. But there are some subtle differences, as always in life; nothing can be simple. :) There are many types of volumes in Kubernetes, and in this post, we will group them by properties and see some of the most common types.

Declarative Kubernetes

Imperative approach using kubectl .... is great, but we came at some point to situation where our commands became too long with many parameters or that running the same command again and again was time-consuming and more error-prone. That is where we stop using imperative approach and start to use declarative approach with Kubernetes Resource definition files.

Kubernetes basics

Kubernetes is more flexible and extensible tool, provides more mature features, like self-healing, rollouts and rollbacks, secret management, auto-scaling and I mean really large scale applications, adoption by big companies like Google, Microsoft, Amazon, IBM, etc. and can run in single cloud, multi-cloud, on-premises, hybrid cloud, etc. This might take longer to learn, but at the end it is worth it. So buckle up and let’s dive into the Kubernetes basics.