harbor/make/kubernetes/registry-svc.yaml
2016-10-21 18:39:10 +08:00

15 lines
207 B
YAML

apiVersion: v1
kind: Service
metadata:
name: registry
labels:
name: registry
spec:
ports:
- name: internal
port: 5000
- name: external
port: 5001
selector:
name: registry