How to use consul DNS in kubernetes

by Vikrant
September 11, 2018

In the previous article, we have seen the installation of consul on Kubernetes using helm chart. In this article, I am going to do the modification in coredns of minikube setup to add the stub zone so that DNS queries related to consul can go to consul DNS.

How to run multi datacenter setup using consul?

by Vikrant
September 10, 2018

In the previous articles, we have discussed about the consul deployment and consul templates. In this article, I am going to use four docker machines to create two DCs.

How to use consul template to configure haproxy dynamically?

by Vikrant
September 9, 2018

In previous article, I have provided the basic setup information related to consul. In this article, I am going to show the practical implementation of consul templates. Many things covered in this article can be taken care in more automatic way but I was happy to do them manually for understanding each step.

How to run consul in docker

by Vikrant
September 8, 2018

While working with kubernetes, I was intrigued by the service discovery topic. I read about consul in past but never got the chance to make my hands dirty with it. Today, I spend sometime to run the consul in docker environment. I used docker-machine on MAC with virtual box to quicly start a machine with docker.

How DNS discovery works in kubernetes

by Vikrant
September 5, 2018

In this article, I share the information related to DNS which I collected from official kubernetes documentation. All the examples are taken from the official kubernetes guide. DNS provides the service discovery functionality in kubernetes. minikube by default start dns server for you in kube-system namespace.

Understand the usage of python classmethods

by Vikrant
August 29, 2018

While trying to understand the difference between staticmethod and classmethod I landed on this blog post. I was bit confused after reading the comment “classmethod can be helpful in case of inheritence instead of having one staticmethod calling another staticmethod”.

Kubernetes prometheus persistent storage

by Vikrant
August 29, 2018

In one of the previous blog post I showed the usage of rook operator to install ceph on top of kubernetes. I have followed the same link to create ceph cluster on kubernetes and verified that PVC is getting created successfully.

Kubernetes prometheus operator deployment

by Vikrant
August 29, 2018

In one of the previous article I talked about the Kubernetes monitoring. In this article I am covering the deployment of prometheus operator on kubernetes and steps to start monitoring your application.