mirror of
https://github.com/optim-enterprises-bv/homelab.git
synced 2025-11-01 18:37:52 +00:00
fix(svc): EndpointSlices should have the same name as the svc
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user