Posts

k8s Refresher

k8s Great k8s Refresher. No bullshit. +100:  https://www.youtube.com/watch?v=X48VuDVv0do Also, docker desktop on Mac can run a local k8s cluster. But if this fails to start then this will help: https://github.com/docker/for-mac/issues/5027#issuecomment-718076014 Some useful commands # CRUD of k8s unit of deployment kubectl create/edit/delete deployment [name]                   kubectl apply | delete -f [file name] # READ/DEBUG kubectl get nodes | pods | services | replicaset | deployment  kubectl describe pod [pod name] kubectl logs [pod name] kubectl exec -it [pod name] -- bin/bash kubectl get all          # everything kubectl get pod --watch  # dynamic kubectl get pod -o wide  # additional info

LinkedIn

I notice my ego gravitates towards career goals at the end of the year. So, I ended up on LinkedIn and realised I can't stand that site.  I guess it's valuable in that people have to present their real identities and you can always find people you've worked with in the past. But there is so much fake ness on there as well.  I watched a video of Bill Gates presenting his books of the year; which is fine. But it's fully animated with a soundtrack... How the fuck am I supposed to compete against Bill Gates. 😂

Focus Mode

Image
Sometimes (most times!) you need a simple text editor with no distractions so that you can focus on what matters. I like VSCode, not that I ever code in it, but because it's clean, simple and fast. I found a focus mode extension called writer-mode which strips off the noise. That plus word wrap at 80 columns; vertical ruler at 80 cols; and a block cursor and bingo... nice .  https://github.com/krzysztofzuraw/writer-mode 

The Old Mac

My MacBook Pro, mid 2010 (blah!) edition battery needs servicing ... pretty good going for 10 1/2 years. Wonder where and how much to replace this. The laptop is fine; although it's struggling on websites; probably all the extra shite that's loaded onto them. Also, I keep forgetting how to do a forward delete. It's fn + delete. And alt+3 is #. There is a eject CD hardware key, but no # key. Apple ... WTF.