Python refresher: lists vs tuples vs sets vs dictionaries

July 13, 2024

Just a quick refresher to clarify differences:

  • Sets, lists, tuples, and dictionaries are all data structures that offer various ways to organize and store data. The difference is in the details.
  • Lists are an ordered and mutable collection of elements(meaning that their values can be modified after creation).
      . . .

Read More

Anatomy of a sample docker file

July 11, 2024

Just a quick refresh on the elements of a sample docker file:

FROM ubuntu

LABEL maintainer="Mike <[email protected]>"

USER root

COPY ./foo.bash /

RUN apt -y update
RUN apt -y install foo foo2
RUN chmod 755 /foo.bash

USER nobody

ENTRYPOINT [ . . .

Read More

Explain to me like I'm 9: what exactly ARE Docker containers?

July 10, 2024

I recently came across what could be the best explanation of containers and wanted to share it.

Source: "Learning Docker" series on LinkedIn Learning by Carlos Nunez.

  • A container is composed of two things: a Linux namespace and a Linux control group.
  • Namespaces are a Linux kernel feature that provides . . .

Read More

Pondering the "it works on my machine" problem

July 09, 2024

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 - . . .

Read More

Kubernetes Refresher - Pods vs Containers vs Deployment vs Services

July 09, 2024

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 . . .

Read More

Refresher on Docker Containers

July 09, 2024

Here's a quick recap on Docker containers and how they work.

  • Containers are virtualized instances of operating system kernels.
  • Be careful though: Unlike virtual machines, while containers look like separate smaller instances of Linux or Windows, they consume resources like processor time, memory, and disk space directly . . .

Read More

Data storage options for Kubernetes

July 08, 2024

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 . . .

Read More

Archive
   Subscribe by email and never miss a post.

This update link alerts you to new Silvrback admin blog posts. A green bubble beside the link indicates a new post. Click the link to the admin blog and the bubble disappears.

Got It!