k3s/examples/openshift-origin/openshift-controller.yaml

34 lines
725 B
YAML
Raw Normal View History

2017-01-08 00:33:28 +00:00
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
labels:
2015-05-05 14:23:47 +00:00
name: openshift
name: openshift
spec:
2015-05-05 14:23:47 +00:00
replicas: 1
2017-01-08 00:33:28 +00:00
selector:
matchLabels:
name: openshift
template:
metadata:
labels:
2015-05-05 14:23:47 +00:00
name: openshift
spec:
containers:
- args:
2015-05-05 14:23:47 +00:00
- start
- master
- --config=/config/master-config.yaml
image: "openshift/origin"
name: origin
ports:
2015-05-05 14:23:47 +00:00
- containerPort: 8443
name: openshift
volumeMounts:
2015-05-05 14:23:47 +00:00
- mountPath: /config
name: config
readOnly: true
volumes:
2015-05-05 14:23:47 +00:00
- name: config
secret:
secretName: openshift-config