Fix Rancher access: add kubectl port-forward + tailscale serve setup
This commit is contained in:
@@ -2,4 +2,3 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- helmchartconfig-traefik.yaml
|
||||
- service-traefik-tailscale.yaml
|
||||
|
||||
@@ -1,31 +0,0 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: traefik-tailscale
|
||||
namespace: kube-system
|
||||
annotations:
|
||||
tailscale.com/hostname: k8s-cluster-cp-1
|
||||
tailscale.com/proxy-class: infra-stable
|
||||
spec:
|
||||
type: LoadBalancer
|
||||
loadBalancerClass: tailscale
|
||||
selector:
|
||||
app.kubernetes.io/instance: traefik-kube-system
|
||||
app.kubernetes.io/name: traefik
|
||||
ports:
|
||||
- name: web
|
||||
port: 80
|
||||
protocol: TCP
|
||||
targetPort: web
|
||||
- name: websecure
|
||||
port: 443
|
||||
protocol: TCP
|
||||
targetPort: websecure
|
||||
- name: flux
|
||||
port: 9001
|
||||
protocol: TCP
|
||||
targetPort: 9001
|
||||
- name: rancher
|
||||
port: 9442
|
||||
protocol: TCP
|
||||
targetPort: 9442
|
||||
Reference in New Issue
Block a user