When you upgrade a Helm chart in a Kubernetes cluster you can also customize parameters of the chart to configure a release. The Helm chart parameters customization is carried out by updating сhart values. This note shows how to update a Helm chart with new values using a helm upgrade command.
Restart X Server – Ubuntu Linux
While working on a Linux systems like Ubuntu, Linux Mint, etc., through a graphical user interface (GUI) it may happen that some application will hang the GUI and freeze a system. To unfreeze the system without rebooting a machine we can restart an X server (also known as X11, or just X) that is the […]
Kubectl: Run Pod With Command & Exec Into
Unless for very specific reasons, you should never run a Pod with a long-running application on its own, but use a Deployment for this. Nevertheless, if you want to quickly run some container image on Kubernetes resources, you can use a kubectl run command. For example, i often need to run the Pod on a […]
Kubectl: Force Delete Namespace Stuck In Terminating
Sometimes a deletion of a Namespace in Kubernetes gets hung up and the kubectl delete namespace command never completes. Such Namespaces get stuck in a Terminating state but can be manually deleted using a Kubernetes API. This note shows how to force delete the Terminating Namespaces in Kubernetes.
Helm: Get Values
When you install a Helm chart into a Kubernetes cluster you can pass custom values to configure the release. Comparing versions of Helm values and reviewing old releases is a good practice for keeping track of changes. Below you will find how to get values of a Helm chart release using a helm get values […]
Helm: List Installed Charts
Helm uses a packaging format called charts (a collection of Kubernetes resource files). Helm charts installed on a Kubernetes cluster can be listed by using a helm command. This short note shows how to list all the Helm charts installed by the helm command.
Git Bash: Increase Terminal Scrollback Buffer Size
If you run a command that produces a lot of output in a Git Bash and you try to scroll up to the beginning of that output, you may see that it has been truncated. The number of lines that can be displayed in the Git Bash is controlled by a scrollback buffer size (10000 […]
Git Bash: Install jq
jq is a command-line tool for parsing a JSON data (like grep or sed for a text data). You can use the jq command on Windows using a Git Bash, but firstly it has to be installed as it is not among the default tools. This note shows how to install the jq for the […]
GitHub Actions: Parallel Jobs – Example
A workflow in a GitHub Actions can be optimized by splitting it into several jobs, which run in parallel by default. Parallel jobs is a great way to improve build times and provide a faster feedback to your development & QA teams. This note shows how to run jobs in parallel in the Github Actions.
tun0: Rename OpenVPN Client Interface
When an OpenVPN client establishes a connection with a server, by default, it uses a /dev/net/tun virtual network device and spawns a tunX interface. If you have only one OpenVPN client, most of all the name of the interface is tun0 as, by default, there is a dev tun setting in the OpenVPN client’s .ovpn […]