k8s service externalIPs vs NodePort in GKE

I’ve seen discussions on this topic scattered around the internet, so the idea of this post is to gather them all (at least, the most useful of them – imho) into 1 single chart, so they can be easily understood from a bird eyes’ view. The illustration below shows how 2 types of service can […]

Read More k8s service externalIPs vs NodePort in GKE

GIT_SSH_COMMAND

I have a number of git repos on remote systems (e.g. GitLab) where my laptop’s pub key is already registered for a certain other account not associated with the aforementioned git repos. Thus, I usually have to GIT_SSH_COMMAND=’ssh -i <path/to/some/private/key>’ git <command> so as to communicate with these repos under the correct identity. I might […]

Read More GIT_SSH_COMMAND

make a string url-safe

When running devops scripts (among other things), we often need to get a url-safe representation of an arbitrary string. This is commonly known as “url slug” by the average netizens. As my JavaScript is better than my bash, and npx is more universally available than my capability to master both Windows and Linux shell scripts, […]

Read More make a string url-safe