harbor/Deploy/kubernetes/proxy-rc.yaml

23 lines
397 B
YAML
Raw Normal View History

2016-04-03 05:27:56 +02:00
apiVersion: v1
kind: ReplicationController
metadata:
name: proxy
labels:
name: proxy
spec:
replicas: 1
selector:
name: proxy
template:
metadata:
labels:
name: proxy
spec:
containers:
- name: proxy
image: caicloud/harbor_proxy:latest
2016-04-03 05:27:56 +02:00
imagePullPolicy: Always
ports:
- containerPort: 80
- containerPort: 443