writer://

December 7, 2024

Docker RUN v ADD v COPY

I was wondering why we needed specific commands like COPY, instead of just RUN cp file1 file2. Research, and a colleague, says there are two reasons: Basically,...

Read

December 7, 2024

Docker RUN v CMD v ENTRYPOINT

RUN - (buildtime) during image build, lines in a bash script to install everything for the image. Most Dockerfiles will have many of these. Each one creates a docker layer. It's a good idea to...

Read

December 3, 2024

Kubernetes Control Plane

Control Plane is a group of components to run the cluster; Data Plane is everything that is actually the app and things supporting the app. It's like the Control Plane is the OS and the Data Plane is...

Read

November 23, 2024

Configuration backup for `~/.tmux.conf`

Plugins TPM Plugin Manager

Read

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