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

19 lines
365 B
Text
Raw 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
kubernetes.io/cluster-service: "true"
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: 5000
protocol: TCP