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 – 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…
Docker – Administer Docker Server Remotely With Docker Context (Over SSH)
Once you have deployed your single, or multiple, Docker server(s) and find Kubernetes a bit much or overkill. You may want to administer your swarm of containers, much in the same manner as kubectl helps administer Kubernetes pods. This is possible with Docker Context. Here’s how to connect administer your docker runtime(s) remotely using Docker…
Kubernetes – Issue Certificates With Cert-Manager And LetsEncrypt
Buying certificates, even the extended validation ones, is (in my opinion) part of the old ways. I personally don’t see the value in authorizing more than domain, or IP-address, ownership when issuing certificates via the PKI model. This can be done with Let’s Encrypt, and automated with cert-manager in your Kubernetes cluster. Here’s how I’ve…