From 2fcbe88134faf67a0a2db96a265fdc64d3e92e60 Mon Sep 17 00:00:00 2001 From: Joe Monk Date: Sun, 4 Aug 2024 22:36:54 +0100 Subject: [PATCH] Shuffle services and ports --- clusters/kairos/longhorn/ingress.yaml | 2 +- clusters/kairos/traefik/kustomization.yaml | 1 + clusters/kairos/traefik/service.yaml | 12 ++++++++++++ 3 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 clusters/kairos/traefik/service.yaml diff --git a/clusters/kairos/longhorn/ingress.yaml b/clusters/kairos/longhorn/ingress.yaml index 1020ccd..c60da41 100644 --- a/clusters/kairos/longhorn/ingress.yaml +++ b/clusters/kairos/longhorn/ingress.yaml @@ -13,4 +13,4 @@ spec: namespace: longhorn-system nativeLB: true kind: Service - port: 80 \ No newline at end of file + port: 8000 \ No newline at end of file diff --git a/clusters/kairos/traefik/kustomization.yaml b/clusters/kairos/traefik/kustomization.yaml index 0f2d995..7834b58 100644 --- a/clusters/kairos/traefik/kustomization.yaml +++ b/clusters/kairos/traefik/kustomization.yaml @@ -2,4 +2,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization namespace: kube-system resources: +- service.yaml - ingress.yaml \ No newline at end of file diff --git a/clusters/kairos/traefik/service.yaml b/clusters/kairos/traefik/service.yaml new file mode 100644 index 0000000..03ffa16 --- /dev/null +++ b/clusters/kairos/traefik/service.yaml @@ -0,0 +1,12 @@ +apiVersion: v1 +kind: Service +metadata: + name: traefik-dashboard +spec: + type: ClusterIP + selector: + app: traefik + ports: + - name: http + port: 9000 + targetPort: 9000 \ No newline at end of file