Kubernetes – Simple Readiness and Liveness Probe, for Simple Nginx Deployments
When deploying an Nginx pod for the sake of making some files available on the internet (because why use S3 or Minio, keep it simple… and private). Standard procedure with Kubernetes deployments is to have a liveness and readiness endpoint. This can be done with some Nginx configuration, or better yet, a file served from…
Kubernetes – Connect to Hidden KubeAPI using Comprehensive Shell Script
It is enticing to publicly expose your KubeAPI endpoint. For ease of access, using cloud based automation services (i.e GitHub Workflows) or just plain laziness. Authentication exists for sure, but what about possible exploits or ddos?
Kubernetes – Prune Old Container Images and Set Image Threshold for K3s
The k3s binary allows for supplying vanilla Kubernetes args using the `–kubelet-arg=` switch. Two of these are useful in tuning Kubernetes built in garbage collection for pruning old unused container images. Much link Dockers `docker image prune`.
Kubernetes – K3s etcd scheduled backup to S3/Minio
K3s, as a lightweight Kubernetes distribution, packs a surprising amount of features. Among them, a etcd backup and restore feature.
Kubernetes – Persistent NFS Storage On Control Plane For Minimal Cluster
Got a minimal (k3s) cluster running? Need persistent storage, NOT dependent on the pods worker node? For testing and small scale deployments, an NFS-server can be installed on any of the control nodes and mounted on the worker nodes. Here’s how: First, install and configure nfs-server on control node Second, install nfs-client on all the…