Publish package in NPM and serve the static content from CDN

I have been utilizing AWS to host my personal blog for almost 3 years now. Originally my blog was hosted in WordPress and then I migrated to ghost. It’s been...

Backup of etcd database in kubernetes

Kubernetes cluster state is saved in etcd datastore. In the post we are going to see how to take a backup for etcd database in kubernetes cluster. Setup I am...

RBAC in kubernetes

There are 3 elements involved in RBAC. In this post we are going to see how to provide user level access to resources. Subjects - Users or Process that wants...

Upgrading kubernetes cluster master and worker nodes

This post we are going to discuss how to upgrade the kubernetes cluster, both master and worker nodes. We are going to upgrade a older version v1.15 to v.1.16. Setup...

Running kubernetes custom scheduler

Kubernetes cluster have a default scheduler kube-scheduler. If the default scheduler does not suits our requirement we can also create our own scheduler. In the post we will discus how...

Creating static pod in kubernetes

Static Pods are managed directly by the kubelet daemon on a specific node, without the API server observing them. Static pods automatically restarts if it crashes. Static Pods are always...

Pod scheduling in kubernetes - detailed step by step

We can assign the pod to node based on various methods. Lets discuss all the below methods in the post Using nodeName Using labels in nodeSelector Node Affinity/Anti Affinity Pod...

Kubernetes stateful set with local-storage persistent volume

StatefulSets are similar to deployment contains identical container spec but ensures an order of the deployment. StatefulSets deploy pods in a sequential orders. Each pod as its own identity and...