TIL: How do I find the requisite information to join a Compute Node to an...
Having build a K8s 1.21 cluster a week or so back, I'd removed my Compute Node with: -kubeadm reset( run on the Compute Node itself )I then wanted to find the command that I'd previously used to join...
View ArticleDoh, Kubernetes fails to run due to a lack of ...
Having started the build of a new K8s 1.21 cluster: -kubeadm init --pod-network-cidr=10.244.0.0/16 --apiserver-advertise-address=$private_ip --apiserver-cert-extra-sans=$public_ip --kubernetes-version...
View ArticleBash and fun with escape characters
Whilst writing the world's simplest Bash script to: -delete a poddeploy a new podlist the running podsdescribe the newly deployed podI wanted to add newline characters into my echo statements, to make...
View ArticleTinkering with OpenLDAP on Docker on Ubuntu
Following a discussion with a colleague on Slack, I thought I'd remind myself how OpenLDAP works as a service running inside a container, via the Docker container runtime interface (CRI).Using this...
View ArticleTinkering with containerd and the ctr tool
Some notes from a recent tinkering with containerd and ctr ...which ctr/usr/bin/ctrctr versionClient: Version: 1.4.4-0ubuntu1~20.04.2 Revision: Go version: go1.13.8Server: Version:...
View ArticleDesign, build, and deploy universal application images
From IBM ( for whom I've worked for ~30 years ) : -Building high-quality container images and their corresponding pod specifications is the foundation for Kubernetes to effectively run and manage an...
View ArticleAurélie Vache's Series - Some really useful learnings ...
Saw this on Twitter earlier: -Aurélie Vache's Seriesincluding: -Understanding Network things: part 1 – L4 / L7 layers Understanding Network things: part 2 – IP address & CIDRAurélie also has some...
View ArticleNetworking notworking on Ubuntu ?
Whilst helping a colleague dig into some issues he was seeing pulling an IBM WebSphere Liberty image from Docker Hub, I realised that my Ubuntu box was missing a couple of useful utilities, including...
View ArticleMore fun with containerd and the ctr tool
As per previous posts, I've been tinkering ( gosh, I love that word ) with containerd and Kata 2.0 a lot recently.Having deployed containerd and Kata 2.0 into my Kubernetes 1.21 environment, I am...
View ArticleDocker Content Trust and the Case of the PEBCAK
I'm doing some work with trusted/signed container images at present, and am using IBM Container Registry (ICR) as my ... container registry.I'm doing the actual build/tag/push from an Ubuntu 20.04 VM,...
View ArticleLearning new stuff each and every day - turning Markdown into man pages
I'm tinkering with a container tool called skopeo at present, and am building it on an Ubuntu 20.04 box.One thing that I'd not realised, until I was looking to contribute some changes back to the...
View ArticleFun n' games breaking, and then fixing, containerd
By virtue of the fact that I was hacking around with my Kubernetes 1.21 / containerd 1.44 / Kata 2.0 environment today, I managed to rather impressively break the containerd runtime.In even better...
View ArticleLearning Rust - because Kata
As per previous posts here, I've been working with Kata Containers this past few months, and, as such, have been tinkering with Rust because a core part of the Kata project, namely the kata-agent is...
View ArticleAnd here we go - more Rust By Example
Following on from my earlier post: -Learning Rust - because Katahere's a simpler version of my function: -fn main() { for part in "docker.io/davidhay1969/hello-world-nginx:latest".split(&['/',...
View ArticleFollowing up - arrays and string munging in Rust
Following up on And here we go - more Rust By Example I had some fun munging a string into elements of an array in Rust.This is with what I ended up: -fn main() { let image_string: &str =...
View ArticleGah, problems building Kata Containers but totally self-inflicted
Whilst trying to build the kernel using Kata Containers, I kept hitting a problem which appeared to be with the make command.As an example: -./build-kernel.sh...
View ArticleA reprise - growing disks in Ubuntu
I've written this many times over the years, with many different Linux distributions, but had a need to REDO FROM START yesterday, growing the disk within an Ubuntu VM running on VMware Fusion.So, for...
View ArticleFor a future me - remembering to stop VMware Tools service when running Kata...
I keep writing and re-writing this script, because I forgot to store it somewhere memorable ....The problem to be solved is that the Kata Containers runtime, aka kata-runtime, will not start unless I...
View ArticleNesting VMs - not quite as cosy as it sounds....
I wrote about this a few months back: -Kata Containers and Ubuntu Linux - lessons learned - 3/many - a WIPin the context of VM nesting being a pain ....For context, I'm trying ( and failing ) to get...
View ArticleFun and games with sudo and Go in Ubuntu 20.04
Whilst reviewing a colleague's documentation, where he was describing how to code in Go, I noticed a discrepancy in the way that things work when one runs a command as a non-root user vs. running as...
View Article