A few days ago I implemented the horizontal pod auto scaling for our application based on customer metrics in the Kubernetes. During the implementation, I setup a Prometheus server to gather metrics from the application and setup a Prometheus-Adapter to… Read More
crd-install for apiextensions.k8s.io/v1 does not work in helm v2 command
A few days ago, when I tried to install the below application with the latest helm chart using helm v2 command, I got an error message complaining that the helm chart is a helm v3 chart. https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-prometheus-stack After struggling for… Read More
boilerplate code for Linux getopt
Linux getopt command is often used to parse script options. I find a piece of boilerplate code for this command and mark it in this post for further reference. set -eu set +e options=$(getopt –name “demo.sh” -o “f:d” -l “file:,debug”… Read More