41 lines
762 B
YAML
41 lines
762 B
YAML
# dev.aggtaa.com backends live outside the cluster on 10.0.64.157:
|
|
# selector-less Service + hand-written EndpointSlice point at them.
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: dev
|
|
namespace: dev
|
|
spec:
|
|
ports:
|
|
- name: ui
|
|
port: 10001
|
|
- name: api
|
|
port: 10002
|
|
- name: m
|
|
port: 10003
|
|
---
|
|
apiVersion: discovery.k8s.io/v1
|
|
kind: EndpointSlice
|
|
metadata:
|
|
name: dev-external
|
|
namespace: dev
|
|
labels:
|
|
kubernetes.io/service-name: dev
|
|
endpointslice.kubernetes.io/managed-by: flux
|
|
addressType: IPv4
|
|
ports:
|
|
- name: ui
|
|
port: 10001
|
|
protocol: TCP
|
|
- name: api
|
|
port: 10002
|
|
protocol: TCP
|
|
- name: m
|
|
port: 10003
|
|
protocol: TCP
|
|
endpoints:
|
|
- addresses:
|
|
- 10.0.64.157
|
|
conditions:
|
|
ready: true
|