3 min read
While trying to setup CRC (a OpenShift version of minikube) on your laptop, while trying to start crc it might fail starting with the following crypting message:
$ crc start
requires memory in MiB >= 9216
23/08/2022
Read more...3 min read
Starting Kubernetes 1.23, ephemeral containers are enabled by default (in beta though). Using ephemeral containers we can now troubleshoot pods by deploying a temporary container into it with extra privileges or binaries to use
22/08/2022
Read more...2 min read
Everytime you create a container using docker, if not already set using --name, docker chooses a name for you: you can expect two words with a underscore:
$ docker run --rm -d alpine sleep 24h
38c4cc4e87762fc113ef174e9a4989e13d21037678abd3fe73840b825f14c7bf
$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
38c4cc4e8776 alpine "sleep 24h" 5 seconds ago Up 3 seconds romantic_shtern
For this example it was chosen romantic_shtern, but it can use a great variety of words:
$ docker ps --all | grep -v "Up" | awk '{ print $NF }'
NAMES
mystifying_poitras
suspicious_shtern
focused_chatelet
keen_mendel
happy_jackson
xenodochial_margulis
kind_blackburn
gallant_pascal
trusting_thompson
(...)
So, how does Docker generate names for it's containers?
01/08/2022
Read more...2 min read
When writing helm charts being able to specify the files to use for ConfigMap or a Secret objects is way more convenient than having the object already rendered. Using .Files.Glob we can tell help to import a set of files into the object
08/07/2022
Read more...2 min read
Some times for convenience we might want to install helm on one of the k3s nodes. If we do so we'll get the following error:
# helm list
Error: Kubernetes cluster unreachable: Get "http://localhost:8080/version": dial tcp 127.0.0.1:8080: connect: connection refused
07/07/2022
Read more...