fix(svc): EndpointSlices should have the same name as the svc

This commit is contained in:
Vegard Hagen
2024-04-19 09:29:08 +02:00
parent 32d97558ec
commit 4b63ad037f
2 changed files with 2 additions and 19 deletions

View File

@@ -1,7 +1,7 @@
apiVersion: discovery.k8s.io/v1
kind: EndpointSlice
metadata:
name: home-assistant-1
name: home-assistant
namespace: haos
labels:
kubernetes.io/service-name: home-assistant
@@ -16,20 +16,3 @@ endpoints:
- 192.168.1.27
conditions: # https://github.com/argoproj/argo-cd/issues/15554
ready: true
---
# Traefik uses Endpoints instead of EndpointSlice
apiVersion: v1
kind: Endpoints
metadata:
name: home-assistant
namespace: haos
labels:
kubernetes.io/service-name: home-assistant
endpoints.kubernetes.io/managed-by: cluster-admins
subsets:
- addresses:
- ip: 192.168.1.27
ports:
- name: http
port: 8123
protocol: TCP

View File

@@ -1,7 +1,7 @@
apiVersion: discovery.k8s.io/v1
kind: EndpointSlice
metadata:
name: proxmox-euclid-1
name: proxmox-euclid
namespace: proxmox
labels:
kubernetes.io/service-name: proxmox-euclid