harbor/Deploy/kubernates/registry-rc.yaml

30 lines
597 B
YAML
Raw Normal View History

2016-04-03 03:27:56 +00:00
apiVersion: v1
kind: ReplicationController
metadata:
name: registry
labels:
name: registry
spec:
replicas: 1
selector:
name: registry
template:
metadata:
labels:
name: registry
spec:
containers:
- name: registry
image: index.caicloud.io/caicloud/harbor_registry:2.3.0
imagePullPolicy: Always
ports:
- containerPort: 5000
- containerPort: 5001
- containerPort: 53
2016-04-03 03:27:56 +00:00
volumeMounts:
- name: storage
mountPath: /storage
volumes:
- name: storage
emptyDir: {}