1
0
Fork 0
Go to file
Massaki Archambault bb2c1270a2 add snmp-exporter 2023-10-19 23:48:14 -04:00
kustomize add snmp-exporter 2023-10-19 23:48:14 -04:00
terraform switch from kustomize plugin to external-secret 2023-02-20 09:07:49 -05:00
.gitignore ClusterSecretStore configuration 2023-02-17 12:22:50 -05:00
Makefile add snmp-exporter 2023-10-19 23:48:14 -04:00
README.md merge prod and prod-cluster, update Makefile, readme 2023-02-20 10:26:16 -05:00

README.md

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