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
SwiftUI Add to siri button

Add to Siri Button with SwiftUI

For an app I was building I needed to add an Add to Siri Button, to add new Interaction to Shortcuts. While this straightforward in UIKit, it was more challenging in a project that uses SwiftUI. SwiftUI makes it easy to build and prototype good-looking UIs for all kinds of applications. While the code of SwiftUI is simple and clean, it is still young and a lot of API functionality is missing....

May 20, 2020 · 3 min · Julian Beck

Stripe Client Side Donation Button With React

I wanted to add a Donation Button to my React Website https://localpdf.tech. Stripes Client-Only-Checkout is perfect for that, beacause you don’t need a server. Donation Button using React Stripe and Tailwind Enable Stripe Client only Integration First, you need to add a Test-Product to Stripe. Make sure you activate Viewing Test Data: After that create a simple Test-Product to test our Donation button later on. After you have created the Product we can enable the Client-Only integration....

March 16, 2020 · 2 min · Julian Beck