Category: Kubernetes

  • Kubernetes – Persistent NFS Storage On Control Plane For Minimal Cluster

    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 […]

  • Kubernetes – Issue Certificates With Cert-Manager And LetsEncrypt

    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 […]

  • Kubernetes – Redis Deployment

    Kubernetes – Redis Deployment

    Need to quickly get started with Redis in your Kubernetes cluster? Here’s an deployment with service: Next, configure your Redis enabled application to use “redis-service” as it’s Redis endpoint. Cache them objects 👾

  • Kubernetes – Allow Only Cloudflare CDN Through Nginx Ingress

    Kubernetes – Allow Only Cloudflare CDN Through Nginx Ingress

    If you are like me, and enjoy the world-encompassing CDN from Cloudflare, you “proxy” your domain through Cloudflare towards your Kubernetes Ingress. Why then, should you allow any other traffic to the Ingress? Here’s how to whitelist Cloudflare only in Nginx Ingress. Cloudflares IP-ranges can be found here: https://www.cloudflare.com/ips/ Whitelist them on the Nginx Ingress […]

  • Kubernetes – LENS GUI

    Kubernetes – LENS GUI

    Still learning Kubernetes and having a difficult time with kubectl? Or do you just want a quick and fancy overview of your cluster(s)? In any case, I can warmly recommend the LENS Kubernetes GUI! Just go to File > Add Cluster and paste in your kubectl config (remember to double check the “server” attribute) and […]