Pondering the "it works on my machine" problem
I've been working recently with Kubernetes and docker (super fun!). A question kept lingering in the back of my mind though: why is inconsistent stability and results in prod such a broadly reported issue?
I came across a LinkedIn course by Carlos Nunez and I really liked the reasons he gave:
- Missing Tools - . . .
Kubernetes Refresher - Pods vs Containers vs Deployment vs Services
Another quick recap:
- Pods are the smallest unit of compute in Kubernetes.
- Kubernetes pods group similar containers into a logical unit.
- Containers inside of Kubernetes pods have the same IP address and move "together" from host to host.
- Pods get scheduled on to kubelets (nodes).
- While you can create . . .
Data storage options for Kubernetes
Here's a high-level refresher on persistent storage options for K8 workloads. Note: there are a lot of techniques and ways to store data. These are just two popular examples.
Database storage - For example, a mysql or postgres SQL database running on a server that is separate from your cluster. Or perhaps leveraging a . . .
Refresher on ways to manage Kubernetes pods
I'll keep this brief -- here's a reminder on the various ways that Kubernetes can manage pods:
- Kubernetes Deployment - The most common way to deploy containerized applications. This approach lets you control the number of replicas running. When you have a new version of the application running, Kubernetes can keep the . . .
Kubernetes Worker Node Architecture 101
Here's some quick recap points regarding worker nodes in Kubernetes:
- Remember the previous analogy about the Kubernetes control plane being like an air traffic control tower? Think of a worker node as an airport terminal where planes park and passengers board.
- In order to be highly available, most Kubernetes clusters . . .
Kubernetes Control Plane Architecture 101
Here's a quick recap of kubernetes control plane architecture:
- An instance of Kubernetes is called a cluster.
- Each cluster has a control plane and at least one worker node.
- Think of the control plane like air traffic control at a busy airport with people overlooking the cluster to make sure nodes and pods are . . .
Tech Glossary
Because sometimes it's nice to have terminology all in one place.
Here's a list of terms and concepts I get asked about. I'll keep adding to it over time.
Containers / Kubernetes
- Containers -- A technology that bundles the code for an application, and the configuration required to run the code itself, in one unit. (Source: LinkedIn Learning)
- Container registry -- A . . .