Kubernetes

Knative

October 26, 2021
Software
Tech, Kubernetes, Knative

Knative # Serving # Label networking.knative.dev/visibility: cluster-local marks a Knative Service as private and accesible only via ClusterIP. The default is to make the Knative Service publically accessible. Job https://github.com/knative/serving/releases/download/latest/serving-default-domain.yaml updates -n knative-serving cm/config-domain to add a default domain such as 34.145.71.17.sslip.io

K8s Debugging

September 12, 2021
Software
Tech, Kubernetes

Get an ubuntu shell on a K8s cluster # Run kubectl run my-temp-shell --rm -i --tty --image ubuntu -- bash Ref Networking troubleshooting on a K8s cluster # Run kubectl run tmp-shell --rm -i --tty --image nicolaka/netshoot Ref Decode K8s Docker Registry Secret # Run k get secret/MY_SECRET_NAME -ojsonpath='{.data.\.dockerconfigjson}' | base64 -D

RPi with K3S with Knative

August 27, 2021
Software
Tech, Kubernetes, K3S, Raspberry Pi, Knative

The process # Use Ubuntu Server 64 bit OS # The Rasberry Pi OS is 32 bit and wont work for Envoy which only has arm64 images available. Install OS # Download the Ubuntu OS, extract the zip file Install it to the SD Card Instructions diskutil list # Get disk# diskutil unmountDisk /dev/diskN sudo dd bs=1m if=path_of_your_image.img of=/dev/rdiskN; sync sudo diskutil eject /dev/rdiskN replacing N with the disk number ...

CKAD Exam Preparation

November 7, 2020
Software
Tech, Kubernetes, CKAD

The process # Study # Took Mumshad’s super popular CKAD preparation course. It introduced the relevant kubernetes concepts and the labs at the end of each section were great for reinforcing the material. At $20 the course was a steal 🔥🔥🔥. This was the only resource I used and I passed the exam 🎉. Practice # From reading about the exam online and from the mock exams in Mumshad’s course, I realized that the exam is not hard but you have to be fast. ...

CKAD Notes

September 15, 2020
Software
Tech, Kubernetes, CKAD

Sparse CKAD Notes # Node # Runs the containers deployed on K8s. It is the worker Kubelet # Agent running on the node that monitors health of pods and running pods on the container runtime Container Runtime # Engine that runs the containers Master # Handles all requests and is the brains that orchestrates work on the workers API Server # Receives all incoming API requests and is the frontend to K8s cluster ...