Following on from my earlier post: -
Tuesday, 1 March 2022
More fun with variables and spaces, with added jq
I thought I'd have a little fun using jq to achieve a similar outcome, but without the need to munge the output using sed.
This is with what I came up: -
export my_version=$(ic ks versions --output JSON | jq -j '.kubernetes | select(.minor | contains(23)) | .major,".",.minor,".",.patch')
which, you have to admit, is definitely NOT shorter than the alternative, but way more fun.
echo $my_version | hexdump
0000000 31 2e 32 33 2e 34 0a
Again with the Python and pip fun, this time on my Mac, where commands such as: pip3 list and: - pip3 install --upgrade pip were failing w...
After an unscheduled reboot of the VMs that host my K8s cluster, I was struggling to work out why the kubelet wasn't starting properly...
I hit a wee snag earlier today, whilst attempting to unpack some IBM software on my NAS. Being a command-line junkie, I'd SSH'd into...
I've just spent ~1 hour trying to get a pair of Powerline adapters to .... pair. This involved pressing a "Pair" button on one...