k8s

  • 18 July 2023

From nginx to traefik (and solving X-Forwarded-For)

I recently switched my home setup from nginx to traefik. I had to get used to the new configuration styles and weird doc style of traefik, but suffice to say, I am happy at the end results.

Traefik ships with SNI, allowing me to snoop the connection and prevent unauthorized access to my file server. (One m…

Read more 
  • 09 July 2018

Kubernetes: Heapster to Metrics Server

I recently updated my kubernetes cluster from 1.10.2 to 1.11.0. I noticed heapster was being deprecated and completely removed by version 1.13.0. I thought this would be the perfect time to try out metrics-server. I had to download the git repo to apply the kubernetes yaml to my cluster. Since this is sometime…

Read more 
  • 06 June 2018

Jenkins-x on home kubernetes cluster

Jenkins-x appears to be the next big thing in CI/CD workflows - especially if you develop applications on kubernetes. There were a few tweaks I needed to do to set it up:

  1. I had to manually create Persistent Volumes (no big deal, below are what I have for my NFS share)

                            
                        
                        Read more 
                    
                
            
            
                
            
        
            
                
                    
                
    
                
    • 03 April 2018

    Allowing outside access to Home Kubernetes Cluster

    After I created a home kubernetes cluster, I immediately wanted to allow external access to pods/services/ingresses hosted inside the cluster. One must be aware that in bare metal environments, there is no receiver of an api call to create a load balancer. Since there is not a scriptable environment available to kubernetes, kubernetes cannot reques…

    Read more 
    • 02 April 2018

    Home Kubernetes cluster

    k8s

    So I admit it - I am completely obsessed with Kubernetes. All of the web app/api deployment challenges in the past 20 years have been somewhat solved with the Kubernetes orchestration and scheduling platform. Kubernetes brings fault-tolerance, and Highly available systems if set up correctly (i.e. use a Kubernetes cloud installer). I enjoy having t…

    Read more 
    • 08 December 2017

    kubernetes health check

    The day before thanksgiving, I was pondering an issue I was having. I was pinning a package to a specific version in my Docker container and the repository I grabbed it from stopped offering this specific version. This resulted in a container that Jenkins responded as being built correctly, but missing an integral package that allowed my applicatio…

    Read more 
    • 01 December 2017

    Adding a user to k8s RBAC

    In order to add a user to a kubernetes cluster, we will need several things: kubectl, CA.crt and CA.key (found in your head node's /etc/kubernetes/pki folder), and openssl.

    First, create a private key for the new user. In this example, we will name the file employee.key:

    
                            
                        
                        Read more