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

19 lines
380 B
Plaintext
Raw Normal View History

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