Fix Rancher access: add kubectl port-forward + tailscale serve setup
This commit is contained in:
18
infrastructure/addons/rancher/service-rancher-tailscale.yaml
Normal file
18
infrastructure/addons/rancher/service-rancher-tailscale.yaml
Normal 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
|
||||
Reference in New Issue
Block a user