19 lines
331 B
YAML
19 lines
331 B
YAML
|
apiVersion: v1
|
||
|
kind: Service
|
||
|
metadata:
|
||
|
labels:
|
||
|
app: dind
|
||
|
{{/* has to be a constant */}}
|
||
|
name: dind
|
||
|
spec:
|
||
|
ports:
|
||
|
- name: "dind-port"
|
||
|
port: 1300
|
||
|
protocol: TCP
|
||
|
|
||
|
# This is a headless service, Kubernetes won't assign a VIP for it.
|
||
|
# *.dind.default.svc.cluster.local
|
||
|
clusterIP: None
|
||
|
selector:
|
||
|
app: dind
|