infrapuzzle/k8s
Moritz Graf 786849ed82 Adding current version of gitlab chart 2020-04-05 20:29:26 +02:00
..
auth Adding # status: notices 2020-04-05 19:40:18 +02:00
cert-manager Adding # status: notices 2020-04-05 19:40:18 +02:00
development Adding current version of gitlab chart 2020-04-05 20:29:26 +02:00
kuard Adding current working version 2020-04-05 14:38:30 +02:00
nextcloud Adding # status: notices 2020-04-05 19:40:18 +02:00
nginx-ingress Adding # status: notices 2020-04-05 19:40:18 +02:00
troubleshoot Adding # status: notices 2020-04-05 19:40:18 +02:00
README.md Adding # status: notices 2020-04-05 19:40:18 +02:00

README.md

k8s

This folder holds all the services required for my private infrastructure. Following contraints apply:

  • Order of implementation is top down.
  • Every namespace has a subfolder within this subdirectory.
  • helm3

namespaces

k create ns flux
k create ns cert-manager
k create ns nginx-ingress
k create ns infrapuzzle
k create ns kuard
k create ns auth
k create nextcloud

helm-operator

As I use helm extensively, using the helm-operator was a logical step. See documentation for installation.

$ helm repo add fluxcd https://charts.fluxcd.io
$ helm repo update
$ kubectl apply -f https://raw.githubusercontent.com/fluxcd/helm-operator/master/deploy/crds.yaml
$ helm upgrade -i helm-operator fluxcd/helm-operator \
    --namespace flux \
    --set helm.versions=v3

ingress-controller

Apply with helm-operator:

$ kubectl apply -f nginx-ingress/ingress.yaml

cert-manager

Apply with helm-operator:

$ kubectl apply -f https://raw.githubusercontent.com/jetstack/cert-manager/master/deploy/manifests/00-crds.yaml
$ kubectl apply -f cert-manager/cert-manager.yaml
$ kubectl apply -f cert-manager/staging-issuer.yaml
$ kubectl apply -f cert-manager/production-issuer.yaml

To test all this you may use the kuaard demo project:

$ kubectl apply -f kuard
# checkout: https://kuard.haumdaucher.de
$ kubectl delete -f kuard

auth

Including:

  • openLDAP
  • phpldapadmin
  • ldap self service
  • dex

nextcloud

Install with helm


Migate

Backup