K3s-cluster/Makefile

17 lines
560 B
Makefile
Raw Permalink Normal View History

dev:
kubectl taint nodes outsider type=services:NoSchedule --overwrite
kubectl apply -k environments/dev/bootstrap --all
kubectl apply -k environments/dev --prune=true --all
prod:
kubectl taint node -l type=outbound type=services:NoSchedule --overwrite
kubectl apply -k environments/prod/bootstrap --all
kubectl apply -k environments/prod --all
monitor:
kubectl apply -f nginx/external/servicemonitor.yaml
kubectl apply -f nginx/internal/servicemonitor.yaml
kubectl apply -f argo/servicemonitor.yaml
kubectl apply -f cloudnativepg/podmonitor.yaml