Tag: 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…

  • Docker – Administer Docker Server Remotely With Docker Context (Over SSH)

    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

    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…