Helm cheatsheet

Get all Helm Chart versions helm search repo <repo name>/<chart name> --versions helm search repo jenkins/jenkins --versions Installing a specific Helm Chart version helm install <release name> <repo name>/<chart name> -n <namespace> --version <version> helm install jenkins jenkins/jenkins -n jenkins -f jenkins_values.yaml --version 3.4.0

Podcasts-2021

Capturing the list of podcasts I listened over the year. How to Get rich - Naval Ravikant Founders Talk (Changelog) - Leading Auth0 to a $6.5 billion acquisition Founders Talk (Changelog) - The journey to massive scale and ultra-resilience - Cockroach DB Changelog - Inside 2021’s infrastructure for Changelog.com Go Time (Changelog) - Event-driven systems Changelog - Curl is a full-time job (and turns 23) Go Time (Changelog) - Why writing is important Think Like a CEO - Season-5 Episode-1: Financial Wealth and Freedom Think Like a CEO - Season-5 Episode 2: The 8 MythUnderstandings Between You and Financial Wealth

Terraform cheatsheet

To apply a single resource terraform apply -target=<resource_type>.<local_name> eg: terraform apply -target=google_sql_database_instance.instance To get a single resource from the state file terraform state show '<resource_type>.<local_name>' eg: terraform state show 'kubernetes_secret.cloudsqlproxy-SA' To delete a single resource from the state file terraform state rm '<resource_type>.<local_name>' eg: terraform state rm 'kubernetes_secret.cloudsqlproxy-SA'

Django cheatsheet

Generate APP secret key from django.core.management.utils import get_random_secret_key get_random_secret_key() Command line shortcut to stop all Django server processes. ps -A | grep -i "python manage.py runserver" | awk '{print $1}' | xargs kill -9 Shortcut for zsh/bash stop_django_server() { ps -A | grep -i "python manage.py runserver" | awk '{print $1}' | xargs kill -9 } To refresh your zsh - zsh -l

Articles

A Day in the Life of an Engineering Manager Essential Reading for Software Engineering Managers

Reading Goal - 2021

In 2020, my goal was to read 12 books, and I read only 8 and I am still reading a book. This year I am not changing the goal, I want to read 12 books. When I chose books in 2020, mostly it was random except for a few books. I didn’t select the books based on a theme except for personal finance - I picked titles from this article. For 2021, I want to read books on Health and Personal Finance. Here is my list for 2021. To Read Never split the difference: Negotiating as if Your Life Depended on it - Chris Voss and Tahl Raz (From 2020 reading goal) The phoenix project - Gene Kim, Kevin Behr, George Spafford (From 2020 reading goal) The automatic millionaire - David Bach I will teach you to be rich - Ramit Sethi Principles: life and work - Ray Dalio Digital Minimalism - Cal Newport The Cancer Code - Dr.

Podcasts December 2020

Capturing the list of podcasts I listened over the month. Changelog - Growing as a software engineer Deep-Questions with Cal Newport - Ep.56 Go Time (Changelog)- Cloudy with a chance of Kelsey Hightower Changelog - Coding without your hands

Digital Ocean Kubernetes Cert Manager - Failed to perform Self check GET request (Solved)

In GKE (Google Kubernetes Engine), setting up ingress controller and cert-manager is straightforward. After setting up the ingress controller and cert-manager on DO Kubernetes, my sub-domain was still not served on https. When I checked cert-manager logs, I found this error: Waiting for http-01 challenge propagation: failed to perform self check GET request. After little searching on Google I found this article on DO. In short, add the following annotation to your ingress resource and you should be good. service.beta.kubernetes.io/do-loadbalancer-hostname: "workaround.example.com" Related Github issue: https://github.com/jetstack/cert-manager/issues/3238

What, Why and How learning trick

We recently hired a DevOps intern at BeautifulCode. We gave him a learning plan which covers a lot of concepts in DevOps. In one of our one-one meetings, he raised a concern: “learning too many tools in a condensed period is putting pressure on me.” Firstly I agreed with him. Later I told him I would have felt the same way if I am in his position. Then I gave my 2 cents on the learning for which I haven’t prepared. He had to learn 5 tools (I am calling tools, for lack of a better word). I have listed the tools in his learning plan and discussed What each tool does in the bigger picture.

Podcasts November 2020

Capturing the list of podcasts I listened over the month. Changelog - Inside 2020’s infrastructure for Changelog.com Brain Science (Changelog) - The practice of being present Software Engineering Daily - Staff Engineering with Will Larson