writer://

November 23, 2024

My `.bashrc` backup

Just a backup for my own sake.

Read

November 23, 2024

Add a Kubernetes Cluster Context

Each cluster provider will have some sort of kubeconfig command so you can add a context locally, for whatever cluster. Here are the two I currently know about: Each will...

Read

November 23, 2024

Difference Between Kubernetes yaml and Helm Chart

A helm chart is an abstraction that allows you to group multiple k8s configuration files into one package and deploy them together, as a template, and with variable substitution. Helm is also a...

Read

November 23, 2024

Kubernetes Helm Releases

When releasing with helm, the release name typically stays the same when you then upgrade a Helm chart. The release name represents the deployment's unique identifier in the Kubernetes cluster....

Read

November 23, 2024

Install a Kubernetes Ingress

(using kind) This setup maps ports 80 and 443 from localhost to the ingress. It's like having to map ports in virtual box, back when that was a thing. Apply the official nginx...

Read

November 23, 2024

View Your Current a Kubernetes `kubectl` Cluster Context on the CLI

When I first started using git many years ago, you would be working pretty blind on the command line (and I don't know of any GUI tools at the beginning). So, to make sure you didn't...

Read

November 23, 2024

VSCode keybindings.json file

My keybindings.json file, mostly for backup purposes: Note: on a Mac, these are in ~/Library/Application Support/Code/User/keybindings.json

Read

November 14, 2024

Kubernetes `Rollout`

In k8s, you don't "deploy", you "rollout". But, you don't "rollout" either. You either apply a deployment (or do it through helm, preferably), or kubectl create deployment <name>....

Read

November 13, 2024

Kubernetes Scaling

CA - Cluster Autoscaling. VPA - Vertical Pod Autoscaling. HPA - Horizontal Pod Autoscaling. To me, using VPA/HPA alone can’t be much cost savings. At best, it can rearrange the resources you are...

Read

November 13, 2024

Kubernetes Cluster Management

This reflects how I currently understand this, and may be incorrect: kops: create k8s clusters that you manage yourself, on whatever provider (AWS, Azure, etc) eksctl: create k8s clusters managed...

Read