In this post, we will use the Kubernetes code generator to create client code and informers which will allow us to set up the basic event handlers for our customer controller. Before we start to dig into this, note that compared to my previous post, I had to make a few changes to the CRD … Continue reading Building a bitcoin controller for Kubernetes part II – code generation and event handling
Tag: Docker
Building a bitcoin controller for Kubernetes part I – the basics
As announced in a previous post, we will, in this and the following posts, implement a bitcoin controller for Kubernetes. This controller will be aimed at starting and operating a bitcoin test network and is not designed for production use. Here are some key points of the design: A bitcoin network will be specified by … Continue reading Building a bitcoin controller for Kubernetes part I – the basics
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
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
Kubernetes – an overview
Docker containers are nice and offer a very lean and structured way to package and deploy applications. However, if you really want to run large scale containerized applications, you need more - you need to deploy, orchestrate and manager all your containers in a highly customizable and automated way. In other words, you need a … Continue reading Kubernetes – an overview
Controlling Docker container with Python
In the last few posts on the bitcoin blockchain, I have already extensively used Docker container to quickly set up test environments. However, it turned out to be a bit tiresome to run the containers, attach to them, execute commands etc. to get into a defined state. Time to learn how this can be automated … Continue reading Controlling Docker container with Python
Docker internals: networking part II
In this post, we will look in more detail at networking with Docker if communication between a Docker container and either the host or the outside world is involved. It turns out that in these cases, the Linux Netfilter/iptables facility comes into play. This post is not meant to be an introduction into iptables, and … Continue reading Docker internals: networking part II