mirror of
https://github.com/optim-enterprises-bv/homelab.git
synced 2025-11-03 03:17:58 +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
|
apiVersion: discovery.k8s.io/v1
|
||||||
kind: EndpointSlice
|
kind: EndpointSlice
|
||||||
metadata:
|
metadata:
|
||||||
name: home-assistant-1
|
name: home-assistant
|
||||||
namespace: haos
|
namespace: haos
|
||||||
labels:
|
labels:
|
||||||
kubernetes.io/service-name: home-assistant
|
kubernetes.io/service-name: home-assistant
|
||||||
@@ -16,20 +16,3 @@ endpoints:
|
|||||||
- 192.168.1.27
|
- 192.168.1.27
|
||||||
conditions: # https://github.com/argoproj/argo-cd/issues/15554
|
conditions: # https://github.com/argoproj/argo-cd/issues/15554
|
||||||
ready: true
|
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
|
apiVersion: discovery.k8s.io/v1
|
||||||
kind: EndpointSlice
|
kind: EndpointSlice
|
||||||
metadata:
|
metadata:
|
||||||
name: proxmox-euclid-1
|
name: proxmox-euclid
|
||||||
namespace: proxmox
|
namespace: proxmox
|
||||||
labels:
|
labels:
|
||||||
kubernetes.io/service-name: proxmox-euclid
|
kubernetes.io/service-name: proxmox-euclid
|
||||||
|
|||||||
Reference in New Issue
Block a user