wyrihaximusnet/default-backend

Chart version: 0.4.1
Api version: v2
App version: random
A Helm chart for Kubernetes
application
Chart Type
Active
Status
Unknown
License
462
Downloads
https://helm.wyrihaximus.net
Set me up:
helm repo add center https://repo.chartcenter.io
Install Chart:
helm install default-backend center/wyrihaximusnet/default-backend
Versions (0)

Default Backend

Opinionated helm chart for wyrihaximusnet/default-backend.

Provided tags

  • random - Each time when the images are build a random image is selected and build, plus every hour an image is retagged as random and pushed.
  • images/* - For each directory inside images/.

Configuration

This chart has very little configuration, it runs without any. But it is recommended to set the number of replica’s (until autoscaling support has been added), and optionally configure ingress hosts. Listed below is my personal configuration. Both k8s.wyrihaximus.net and default-backend.k8s.wyrihaximus.net are active, refresh the pages a few times. This configuration example also enables the cronjob that replaces the oldest pod, and forces the latest, hourly retagged, Docker image to be used. It also has the horizontal pod autoscaler enabled.

replicas: 3

cron:
  replaceOldestPodHourly: true

hpa:
  enable: true

ingress:
  hosts:
    - k8s.wyrihaximus.net
    - default-backend.k8s.wyrihaximus.net

Opinionated decisions

  • requires kubernetes ^1.18
  • Ports are hardcoded to 6969 for the service, and 9696 for the metrics.
  • TLS is assumed to be required, and is set up based on supplied hosts in ingress.hosts.
  • It’s assumed that this helm chart will be run in it’s own namespace, so the naming for all resources is kept as simple as possible.
  • Prometheus export annotations are added for metric scraping.
  • The default tag is random to randomly cycle through the different 404 pages.
  • Comes with a pod
  • Replace oldest pod every hour to hook into the hourly random image retagging