TIL - building bash using cat and tee and EOF
So I've started to make more use of cat and tee and the EOF symbol when creating documentation describing how one can create various different artefacts from, say, Bash on Linux and macOS.Typically,...
View ArticleAide Memoire - Git and SSH rather than HTTPS
So I'm tinkering with a GitHub project and, having cloned it, was trying to build it using the Makefile: -cd etcd-operator/makewhich fairly quickly tried/failed to pull in a submodule: -Cleanup...
View ArticleHomebrew on macOS - Docker says "No" - well, kinda
Whilst helping out a friend, I was running through a process to get Docker running without Docker Desktop, as per this: -Run Docker without Docker Desktop on macOSwhich makes heavy use of Homebrew.This...
View ArticleMore fun with Docker and Homebrew - authentication this time
Following on from my earlier post: -Homebrew on macOS - Docker says "No" - well, kinda I hit a related problem post the installation of Minikube etc.When I tried to log into Docker Hub: -docker login...
View ArticleNote to self - using the CRI tool - crictl - to clean up unready pods
Purely 'cos I know I'll need this again: -for i in `crictl pods | grep NotReady | awk '{print $1}'`; do crictl rmp $i; donewhich is for use when I've got a bunch of NotReady pods waiting to be nuked.
View ArticleToday I Learned - how to grep for two strings
So I do a lot of work with IBM Container Registry (ICR) via the IBM Cloud command-line tool.Having logged into my IBM Cloud account: -ic login -ssoI then log into my ICR instance: -ic cr loginand go...
View ArticleDoh, Jenkins says "java.io.IOException: Is a directory"
I'm using Jenkins to build a container image, using a Jenkinsfile hosted in a GitHub project, and was hitting this each and every time I ran my build: - java.io.IOException: Is a directoryat...
View ArticleToday I Learned - more about Git config
Whilst trying to create a container image from a project on GitHub, I hit an issue with the cloning process of the GH repository ...Specifically, the repo contains a submodule which, in my simple...
View ArticleHello World, what is your version ?
Whilst having a discussion with a colleague about running Eclipse on macOS Big Sur 11.6 with Java 8, I wanted to check whether the latest Eclipse 2021-09 would work with Java 8 ( aka Java 1.8.0_251...
View ArticleNuking a pesky K8s namespace from orbit ...
I was having problems with a recalcitrant Kubernetes namespace that just did not want to be deleted ...kubectl get namespaces | grep -v ActiveNAME STATUS AGEfoobar...
View ArticleTinkering with Kubernetes Networking - Today I'm Learning ....
I'm having oh-so-much fun debugging a TLS-encrypted, client-certificate-protected service running on Kubernetes 1.20, and was looking for a way to "see inside" the ClusterIP service itself.This: -Lab...
View ArticlePodman - my first time
Now that things are a-changin' with Docker Desktop, I wanted to give podman a try.I'm running macOS 11.6 Big Sur and have Homebrew installed: -brew --versionHomebrew 3.2.14Homebrew/homebrew-core (git...
View ArticlePodman and Homebrew and Docker - Permission to launch ...
Following my earlier post: -Podman - my first timeand harking back to an older post: -Homebrew on macOS - Docker says "No" - well, kindaI thought I'd update Homebrew: -brew upgradeUpdating...
View ArticleAnd there's more - podman in action
Following on from my two earlier posts: -Podman - my first timePodman and Homebrew and Docker - Permission to launch ...here we go, using Podman to run a container from a "Here's one I created earlier"...
View ArticlePodman - pruning
So, back in the Docker days, I wrote a basic little script called prune.sh which would ... prune containers that had exited: -#!/usr/bin/env bashecho "Removing Docker containers that have Exited"docker...
View ArticleWord to the wise - check your serial
I'm transitioning from an iPhone 8 Plus to an iPhone 13, and had wiped the older phone ( having remembered to turn off Find My... and also log out from iCloud ).All was good, and the new iPhone 13 is...
View ArticlePodman broke my IBM Cloud
As per my earlier posts, I'm all over Podman at the moment.Having removed Docker Desktop, I then realised that this broke the IBM Cloud CLI tool, specifically the Container Registry plugin: -ic cr...
View ArticleFun with keyctl on Ubuntu
One of my friends is tinkering with keyctl and had a few questions about the Linux kernel modules e.g. pkcs8_key_parser.So I ran through an end-to-end setup to grow my own understanding, with thanks...
View ArticleMore fun with keyctl on Ubuntu
Following on from my earlier post: -Fun with keyctl on UbuntuI started seeing the same Bad message exception when adding a certificate into a keyring: -keyctl padd asymmetric foo @u <...
View ArticleKubernetes - tailing Pod logs - TIL
I saw this on Twitter a few days back: -but hadn't yet got around to playing with it.I thought I'd test it with a brand new K8s 1.20 cluster running on IBM Kubernetes Service (IKS).Firstly, I queried...
View Article