writer://

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

November 13, 2024

Kubernetes Helm Basics

This is for my own understanding. It might be wrong but reflects my current understanding. Helm is a package manager and templater. It stores whatever info it has about the configuration in the...

Read

November 6, 2024

How to Find What Resource to List for `kind:`

When creating an application in kubernetes, there are a lot of values for the kind: field. This is how to find those, and explain them so you know what values should be there. Example:...

Read

November 4, 2024

VSCode *.code-workspace file

An example of a <something>.code-workspace file, mostly for backup purposes:

Read

October 31, 2024

VSCode settings.json file

My settings.json file as of 2024-10-31, mostly for backup purposes: Note: on a Mac, these are in ~/Library/Application Support/Code/User/settings.json

Read

October 31, 2024

VSCode Tips and Snippet

Open any compatible file: To open a file that isn't in a workspace into a new window instead. I like this when it's just a random file I want to edit, not part of a project.

Read

October 30, 2024

The `awk` Command

Has some crossover abilities but really shines with displaying or translating column data. Example usage: Find something in a file, then display the first two columns: Output data in a more...

Read

October 25, 2024

Why You Need an HPA for Every Container

HPA = Horizontal Pod Autoscaler. POD You need to configure resource request values for all of your containers in Kubernetes because HPA makes scaling decisions based on those values. It makes those...

Read