2018-02-04 12:32:33 +08:00
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
2018-02-09 15:47:57 +08:00
|
|
|
name: registry
|
|
|
|
namespace: {{ registry_namespace }}
|
2018-02-04 12:32:33 +08:00
|
|
|
labels:
|
2018-02-09 15:47:57 +08:00
|
|
|
k8s-app: registry
|
2018-02-04 12:32:33 +08:00
|
|
|
addonmanager.kubernetes.io/mode: Reconcile
|
|
|
|
kubernetes.io/name: "KubeRegistry"
|
|
|
|
spec:
|
|
|
|
selector:
|
2018-02-09 15:47:57 +08:00
|
|
|
k8s-app: registry
|
2018-02-04 12:32:33 +08:00
|
|
|
ports:
|
2018-02-09 15:47:57 +08:00
|
|
|
- name: registry
|
2020-03-17 20:52:22 +08:00
|
|
|
port: {{ registry_port }}
|
2018-02-09 15:47:57 +08:00
|
|
|
protocol: TCP
|