Pravar Agrawal Technology & Travel

Building Containers With Podman

For someone who is been working with containers, Docker & Podman would sound familiar. But there are many folks who are still reluctant to migrate entirely on Podman from Docker. So why such less participation? Are there any downsides of using this tool over Docker? Let’s try to answer these questions in this post. First, we will see how does the Docker actually works. As we know in Docker, the Docker daemon runs as a service on the host operating system.

Monitoring With Prometheus (Part-II)

In my last post, we discussed about what Prometheus is, how it works and some generic configuration around it. In this post, we’ll take a detailed look at Instrumentation, Dashboards & Grafana, Labels, Node Exporter and few other components of Prometheus. There are various benefits of using Prometheus by adding Instrumentation to any of our applications. For example, we can use Python3 to instrument with Prometheus for our application. A simple pip install prometheus_client would do that.

Monitoring With Prometheus (Part-I)

When it comes to managing distributed microservices, Monitoring could be one of the main obstacles. Monitoring microservices based architecture has never been easy and especially when combined with orchestration tools like Kubernetes. Out of the long list of open source time-series databases available, Prometheus is one of the most widely popular. Prometheus has even emerged as a de-facto monitoring solution with Kubernetes. Let’s discuss in detail about what Prometheus, how it works and how we can use it in our stack.

Kubernetes Power Tools

Kubernetes is a definite powerhouse of many tools when it comes to Cloud Native DevOps. It is a micro-services based architecture which can be integrated with different tools for effective administration, monitoring of our workloads. Let’s take a look at such useful tools in this post. Kubernetes Go Language client library The Go client library for Kubernetes here can be used to write effective scripts or programs for effective cluster administration, interaction or debugging.

Node JS on K8s

Bootstraping your application on Kubernetes has never been easy, with so many tutorials available online. As long as we can package your application along with all the dependencies in a container, we can very well deploy it and run it inside a Kubernetes cluster. Let’s see how to run a simple hello world application written in Node JS as Kubernetes deployment. As part of this, we will be creating a simple web application written in Node JS serving on port 3000.

Travis CI

Continuous Integration & Delivery is an important aspect of DevOps methodology. It is surely a process which comes as a part of the whole DevOps cycle and many people misunderstand it for a simple deployment procedure. I’ve seen lot of projects saving time by correctly and effectively implementing their CI/CD flow. In recent past, I got a chance to work on one such CI/CD tool Travis CI and here is my experience with it.

Rootconf Hyderabad

Attending a Rootconf has always been on my list ever since I attended a workshop on TOR at HasGeek office earlier this year. In the month of August, I came to know about the Hyderabad edition of RootConf scheduled later this year in November. Rootconf is all about discussing latest tech in the areas like DevOps, SRE, Distributed Systems and of course meeting some new people from the industry. This really helps in understanding how the variety of available tools are being used in different scenarios at various organizations.

My CKA Preparation

Recently I appeared for my CKA(Certified Kubernetes Administrator) certification, after a year of lingering over exam dates. And I’m glad that I cleared it in the first attempt. In this post, I’ll be sharing my experience starting from the exam format and preparation. I bought the certificate exam around last year during Black Friday sale by CNCF and it cost me almost $160 for the whole bundle including exam and training course.

Pycon India 2019 - A Visit

Although this post is coming almost a month after, the memories are still so fresh. “Came for the language, stayed for the community” - I have heard it before and read it over couple of t-shirts as well. But realized the power of that statement at this year’s PyCon-India 2019. This year, PyCon India was scheduled to be in Chennai from October 12-15th, including conferences, dev-sprints & workshops. Since, it was my first PyCon ever I bought the tickets as soon as they were out in June earlier this year.

Add Busybox to Container

While working on the kubernetes, few times we run into a situation where we need to access the shell inside a pod’s container. And to do that we use, $ kubectl exec -it <pod_name> -- /bin/sh #/ In this case, as we have invoked the already existing shell so the access works like a butter. But, what if there is no /bin/sh in the container? The easiest way to do that is to copy the busyboxexecutable into a container at the build time.