1
0
Fork 0
home-stack-kustomize/README.md

2.3 KiB

home-stack-kustomize

Kubernetes deployment for home cluster.

Deploying

Deployments are done through a Makefile.

Prerequisites:

  • make
  • terraform
  • kustomize
  • kubectl
  • highlight (for prettying diff)

Prod deployment

infra

make infra

This will:

  1. Configure external-secret to be able to sync kubernetes secrets with the secret store in AWS.
  2. Configure the DNS entries in DigitalOcean

diff

make 

or

make prod-diff

Generated kubernetes manifest will be in ./build/prod.yaml.

apply

make prod-apply

Generated kubernetes manifest will be in ./build/prod.yaml.

Server-side resources that are not declared in the manifest will be pruned.

Services

service local prod
kubernetes-dashboard http://kubernetes-dashboard.localhost https://kubernetes-dashboard.badjnet.home
traefik http://traefik.localhost/dashboard/ https://traefik.badjnet.home/dashboard/
longhorn https://longhorn.badjnet.home
grafana http://grafana.localhost https://grafana.badjnet.home
prometheus http://prometheus.localhost https://prometheus.badjnet.home
gitea http://gitea.localhost https://gitea.badjware.dev
drone http://drone.localhost https://drone.badjware.dev
nextcloud http://nextcloud.localhost https://cloud.badjware.dev