Deploy Uptime Kuma on Kubernetes

Uptime-Kuma is a self-hosted monitoring tool that gains more and more popularity on GitHub. This post describes how to deploy the Uptime-Kuma on Kubernetes. Use the following StatefulSet to deploy Uptime-Kuma: # StatefulSet apiVersion: apps/v1 kind: StatefulSet metadata: name: uptime-kuma namespace: monitoring spec: replicas: 1 serviceName: uptime-kuma-service selector: matchLabels: app: uptime-kuma template: metadata: labels: app: uptime-kuma spec: containers: - name: uptime-kuma image: louislam/uptime-kuma env: - name: UPTIME_KUMA_PORT value: "3001" - name: PORT value: "3001" ports: - name: uptime-kuma containerPort: 3001 protocol: TCP volumeMounts: - name: uptime-kuma-data mountPath: /app/data volumeClaimTemplates: - metadata: name: uptime-kuma-data spec: accessModes: ["ReadWriteOnce"] volumeMode: Filesystem resources: requests: storage: 2Gi storageClassName: <your-storage-class> Make sure to enter a storage class you want to use....

January 6, 2021 · 2 min · Julian Beck

Set up Basic-Auth using Traefik 2 on Kubernetes

Traefik is a modern reverse proxy and load balancer that makes deploying microservices easy. Traefik is natively compliant with Kubernetes, Docker and a lot of other cluster technologies. Traefik allows the use of middlewares to tweak requests before they are sent to a service. There are several available middlewares in Traefik, some can modify the request, the headers, some are in charge of redirections and some add authentication. This Post explains how to configure the BasicAuth-Middleware for Traefik 2 in Kubernetes....

January 5, 2021 · 3 min · Julian Beck

Fast local Development using Ko, Golang, and Minikube

ko is a simple, fast container image builder for Go applications. In combination with minikube, it enables an easy local development cycle. In this post, I will explain how to set up ko to directly build and deploy Golang applications to minikube. First, we need to start a local minikube cluster. Use the following command to deploy a local cluster and set it as the current kubectl context. minikube start Ko can build and push containers to all kinds of registries....

January 1, 2021 · 3 min · Julian Beck