Enable TLS bootstrapping in a Kubernetes cluster
Add a new node using a bootstrap token to Kubernetes
Photo by Jordan Harrison from Unsplash.
containers, programming, golang, hacks, kubernetes, productivity, books
Add a new node using a bootstrap token to Kubernetes
Photo by Jordan Harrison from Unsplash.
A sidecar in a Kubernetes Job, what? Yeah you might need one and here is how to shut it.
Have you ever had a sidecar in your Kubernetes Job? If no, then trust me that you are lucky. If yes, then you will have the frustration of your life. The thing is Kubernetes Jobs are meant to exit on completion. But if you have a long-running sidecar, then that might twist things for Kubernetes and in turn of you.
A new way to ship scripts to container images.
We generally use some sort of scripts in application container images. They serve various purposes. Some scripts might do an initial setup before the application starts, others may have the whole logic of the container image, etc. Whatever the goal may be the general pattern is to copy the script into the container image, build the image and then the script is available when you consume the image.
Tips and tricks to make your day to day usage easier.
Git is a day to day tool for version control. It has become a de facto method of source code versioning, it has become ubiquitous with development and its an essential skill for a programmer. I use it all the time.
Tips and tricks to make your day to day usage easier
This blog will showcase my productivity tips with kubectl
. This does not venture into any plugins per se. But only using bash aliases to achieve it.
Backing up Prometheus??!!
This blog will show you how to take a backup from a running Prometheus and restore it in some other Prometheus instance. You might ask why would you even want to do something like that? Well, sometimes you want the Prometheus metrics because they were collected for some particular purpose and you want to do some analysis later.
This is an explanation of the framework that I have created to manage scripts and binaries.
I always had a conundrum about how to manage the scripts and binaries downloaded randomly from the internet. One way is to put them in the global PATH
directory like /usr/local/bin
, but I am sceptical about it.
List of all the talks presented by me
Watch from 55m59s
Dealing with apiserver in minikube can be tricky
If you want to provide extra flags to the kube-apiserver
that runs inside minikube how do you do it? You can use the minikube’s --extra-config
flag with apiserver.<apiserver flag>=<value>
, for e.g. if you want to enable RBAC
authorization mode you do it as follows:
Subpath Volume Mount could give you access to node
A volume mount CVE was discovered in Kubernetes 1.9 and older which allowed access to node file system using emptyDir
volume mount using subpath. The official description goes as follows: