c12s-application-set/deploy/external-svc/tdc-aren/backend.yaml

27 lines
506 B
YAML
Raw Normal View History

---
apiVersion: v1
kind: Service
metadata:
name: external-svc
namespace: infra
spec:
ports:
2022-12-23 09:17:42 +00:00
- name: http
protocol: TCP
port: 80
targetPort: 8080
---
apiVersion: discovery.k8s.io/v1
kind: EndpointSlice
metadata:
name: external-svc-1
namespace: infra
labels:
kubernetes.io/service-name: tdc-aren-external-svc # Is there a way to have the `tdc-aren-` prefix automatically applied here?
ports:
2022-12-23 09:17:42 +00:00
- name: http
port: 8080
endpoints:
- addresses:
- "10.10.10.11"