Pod Health With Liveness Probes

Kubernetes relies on Probes to determine the health of a Pod container. A probe can be understood simply as a periodical diagnostic performed by the kubelet on the container. In this short article, I’m going to show you a liveness probe in action. Liveness probes are used to check if a Pod is healthy (running as expected) or not. It simply acts as a check for Kubernetes to know when it should restart the container. ...

May 13, 2021 · 3 min · Arsh Sharma

kubectl exec Is So Cool!

I recently learned about kubectl port-forward and kubectl exec, and I was amazed by what simple but cool stuff you could o with just these two commands when getting started with Kubernetes. So that’s what this post is going to be about. Running Our Pod I’m going to use minikube to launch my cluster but feel free to use whatever you like. Once you have your cluster up and running (using minikube start), create a nginx pod using: ...

April 29, 2021 · 4 min · Arsh Sharma

Creating A CLI In Golang

This is technically the first post on my blog so I’m pretty excited to write this one 😄 For the last few months, I’ve been working on depstat, which is a command-line tool to analyze dependencies, as part of my CNCF Internship. I’ve had a blast working on this especially because of the welcoming community. depstat is going to be used to evaluate dependency updates to Kubernetes and has been written in Go so I thought about sharing some stuff I learned :D ...

April 17, 2021 · 5 min · Arsh Sharma

To New Beginnings!

Hey folks! I’ve finally set up my own blog (yaaaaaay!). I was looking at ways to import the articles from my Dev.to but it seems like there is no easy way to go about it and I can’t find the mental strength to copy-paste all 14 articles I’ve written till now. From now on, I will be posting all articles here first and then cross posting them to Dev.to (maybe Medium too). In case you are interested in reading the previous ones, here are their links: ...

April 14, 2021 · 1 min · Arsh Sharma