Try to fix endpoints issue

This commit is contained in:
douzeb 2022-12-23 10:17:42 +01:00
parent b038898c8a
commit 7219e55b5c
2 changed files with 6 additions and 3 deletions

View file

@ -8,6 +8,7 @@ spec:
type: ClusterIP
ports:
- protocol: TCP
name: http
port: 80
targetPort: 80
---
@ -24,7 +25,7 @@ metadata:
endpointslice.kubernetes.io/managed-by: gitops
addressType: IPv4
ports:
- name: ''
- name: 'http'
appProtocol: http
protocol: TCP
port: 80

View file

@ -6,7 +6,8 @@ metadata:
namespace: infra
spec:
ports:
- protocol: TCP
- name: http
protocol: TCP
port: 80
targetPort: 8080
---
@ -18,7 +19,8 @@ metadata:
labels:
kubernetes.io/service-name: tdc-aren-external-svc # Is there a way to have the `tdc-aren-` prefix automatically applied here?
ports:
- port: 8080
- name: http
port: 8080
endpoints:
- addresses:
- "10.10.10.11"