You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
# Additional manual steps
|
|
|
|
|
|
|
|
## Control
|
|
|
|
|
|
|
|
(as root)
|
|
|
|
```sh
|
|
|
|
apt update && apt upgrade -y
|
|
|
|
reboot
|
|
|
|
apt install apparmor apparmor-utils -y
|
|
|
|
```
|
|
|
|
Follow https://community.hetzner.com/tutorials/k3s-glusterfs-loadbalancer
|
|
|
|
|
|
|
|
## Longhorn Storage
|
|
|
|
|
|
|
|
On all nodes install [open-iscsi](https://longhorn.io/docs/1.5.1/deploy/install/#installing-open-iscsi).
|
|
|
|
|
|
|
|
```sh
|
|
|
|
helm repo add longhorn https://charts.longhorn.io
|
|
|
|
helm repo update
|
|
|
|
helm install longhorn longhorn/longhorn --namespace longhorn-system --create-namespace --version 1.5.1
|
|
|
|
```
|
|
|
|
|
|
|
|
## Hetzner Storage
|
|
|
|
|
|
|
|
https://github.com/hetznercloud/csi-driver/blob/main/docs/kubernetes/README.md
|
|
|
|
|
|
|
|
## Metrics
|
|
|
|
|
|
|
|
```sh
|
|
|
|
kubectl apply -f https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml
|
|
|
|
```
|
|
|
|
|
|
|
|
## Prometheus / Grafana
|
|
|
|
https://grafana.com/blog/2023/01/19/how-to-monitor-kubernetes-clusters-with-the-prometheus-operator/
|
|
|
|
|
|
|
|
```sh
|
|
|
|
kubectl apply -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/main/bundle.yaml --force-conflicts=true --server-side=true
|
|
|
|
```
|
|
|
|
|
|
|
|
## Traefik (fix)
|
|
|
|
|
|
|
|
```sh
|
|
|
|
kubectl apply -f https://raw.githubusercontent.com/traefik/traefik/v2.10/docs/content/reference/dynamic-configuration/kubernetes-crd-definition-v1.yml
|
|
|
|
```
|