system-config/setup-k8s.sh

7 lines
422 B
Bash
Raw Normal View History

2024-09-12 20:17:45 +02:00
#!/bin/bash
set -euo pipefail
2024-05-31 09:53:09 +02:00
helm upgrade --install metallb metallb --repo https://metallb.github.io/metallb --namespace metallb-system --create-namespace
kubectl label namespaces metallb-system pod-security.kubernetes.io/enforce=privileged
kubectl apply -f k8s/metallb.yaml
helm upgrade --install ingress-nginx ingress-nginx --repo https://kubernetes.github.io/ingress-nginx --namespace ingress-nginx --create-namespace