c12s-kubespray/roles/kubernetes-apps/registry/templates/registry-svc.yml.j2
Wong Hoi Sing Edison f8ebd08e75 Registry Addon Fixup
2018-03-22 21:33:32 +08:00

18 lines
365 B
Django/Jinja

---
apiVersion: v1
kind: Service
metadata:
name: registry
namespace: {{ registry_namespace }}
labels:
k8s-app: registry
kubernetes.io/cluster-service: "true"
addonmanager.kubernetes.io/mode: Reconcile
kubernetes.io/name: "KubeRegistry"
spec:
selector:
k8s-app: registry
ports:
- name: registry
port: 5000
protocol: TCP