Automating cluster creation on DigitalOcean

So far I have mostly used Amazons EKS platform for my posts on Kubernetes. However, this is of course not the only choice - there are many other providers that offer Kubernetes in a cloud environment. One of them which is explicitly targeting developers is DigitalOcean. In this post, I will show you how easy … Continue reading Automating cluster creation on DigitalOcean

Kubernetes storage under the hood part III – storage classes and provisioning

In the last post, we have seen the magic of persistent volume claims in action. In this post, we will look in more details at how Kubernetes actually manages storage. Storage classes and provisioners First, we need to understand the concept of a storage class. In a typical environment, there are many different types of … Continue reading Kubernetes storage under the hood part III – storage classes and provisioning

Kubernetes storage under the hood part II – persistent storage

The storage types that we have discussed so far realize ephemeral storage, i.e. storage tied to the lifecycle of the Pod on a specific node. Of course, there are many use cases like databases or other stateful applications that require storage that is persistent and has a lifecycle independent of the Pod. In this post, … Continue reading Kubernetes storage under the hood part II – persistent storage

Kubernetes storage under the hood part I – ephemeral storage

So far, we have mainly discussed how compute and network resources are used and managed with Kubernetes. We will now turn to the third fundamental element of a container platform - storage. Docker storage concepts Before we talk about Kubernetes storage concepts, let us first recall how storage is managed in Docker. The following tests … Continue reading Kubernetes storage under the hood part I – ephemeral storage

Managing traffic with Kubernetes ingress controllers

In one of the previous posts, we have learned how to expose arbitrary ports to the outside world using services and load balancers. However, we also found that this is not very efficient - in the worst case, the number of load balancers we need equals the number of services. Specifically for HTTP/HTTPS traffic, there … Continue reading Managing traffic with Kubernetes ingress controllers

Watching Kubernetes networking in action

In this post, we will look in some more detail into networking in a Kubernetes cluster. Even though the Kubernetes networking model is independent of the underlying cloud provider, the actual implementation does of course depend on the cloud provider which communicates with Kubernetes through a CNI plugin. I will continue to use EKS, so … Continue reading Watching Kubernetes networking in action