update: remove obsolete traefik service configuration and add playbook for copying K3s config

This commit is contained in:
jon brookes 2025-08-08 17:41:57 +01:00
parent 514e05a1f6
commit eba7f8322d
4 changed files with 79 additions and 57 deletions

View file

@ -130,45 +130,6 @@ EOF
helm install traefik traefik/traefik --namespace kube-system -f /tmp/traefik-values.yaml
fi
# cat > traefik-turn-service.yaml << EOF
# apiVersion: v1
# kind: Service
# metadata:
# name: traefik-turn
# namespace: kube-system
# labels:
# app.kubernetes.io/instance: traefik-traefik
# app.kubernetes.io/name: traefik
# spec:
# type: LoadBalancer
# ports:
# - name: turn-tcp
# port: 1194
# protocol: TCP
# targetPort: turn-tcp
# - name: turn-udp
# port: 1194
# protocol: UDP
# targetPort: turn-udp
# selector:
# app.kubernetes.io/instance: traefik-traefik
# app.kubernetes.io/name: traefik
# EOF
# kubectl apply -f traefik-turn-service.yaml
# rm -f traefik-turn-service.yaml
# echo "Don't forget to create TCP and UDP ingress routes for the TURN server with:"
# echo "kubectl apply -f k8s-manifests/galene/ingressroute-tcp.yaml"
# echo "kubectl apply -f k8s-manifests/galene/ingressroute-udp.yaml"
# echo ""
echo "To access the dashboard:"
echo "kubectl port-forward -n kube-system \$(kubectl get pods -n kube-system -l \"app.kubernetes.io/name=traefik\" -o name) 9000:9000"
echo "Then visit http://localhost:9000/dashboard/ in your browser"