c12s-kubespray/roles/kubernetes-apps/registry/templates/registry-svc.yml.j2

18 lines
338 B
Text
Raw Permalink Normal View History

---
apiVersion: v1
kind: Service
metadata:
2018-02-09 07:47:57 +00:00
name: registry
namespace: {{ registry_namespace }}
labels:
2018-02-09 07:47:57 +00:00
k8s-app: registry
addonmanager.kubernetes.io/mode: Reconcile
kubernetes.io/name: "KubeRegistry"
spec:
selector:
2018-02-09 07:47:57 +00:00
k8s-app: registry
ports:
2018-02-09 07:47:57 +00:00
- name: registry
port: {{ registry_port }}
2018-02-09 07:47:57 +00:00
protocol: TCP