Fix Rancher access: add kubectl port-forward + tailscale serve setup
Some checks failed
Deploy Cluster / Ansible (push) Has been cancelled
Deploy Cluster / Terraform (push) Has been cancelled

This commit is contained in:
2026-03-24 20:01:57 +00:00
parent 47b384a337
commit 60ceac4624
7 changed files with 35 additions and 60 deletions

View File

@@ -0,0 +1,18 @@
apiVersion: v1
kind: Service
metadata:
name: rancher-tailscale
namespace: cattle-system
annotations:
tailscale.com/hostname: k8s-cluster-cp-1-rancher
tailscale.com/proxy-class: infra-stable
spec:
type: LoadBalancer
loadBalancerClass: tailscale
selector:
app: rancher
ports:
- name: http
port: 80
protocol: TCP
targetPort: 80