-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdeployment.yaml
38 lines (38 loc) · 995 Bytes
/
deployment.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: kube-vci-provisioner
namespace: kube-system
spec:
replicas: 1
revisionHistoryLimit: 4
selector:
matchLabels:
k8s-app: kube-vci-provisioner
provisioner.answear.com/vci: ""
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 1
maxUnavailable: 1
template:
metadata:
labels:
k8s-app: kube-vci-provisioner
provisioner.answear.com/vci: ""
spec:
containers:
- name: kube-vci-provisioner
image: gcr.io/wearco/kube-vci-provisioner:latest
imagePullPolicy: "Always"
args:
- -provisionerName=provisioner.answear.com/vci
- -flexDriver=answear.com/vcloud
serviceAccountName: kube-vci-provisioner
tolerations:
- key: CriticalAddonsOnly
operator: Exists
- key: node-role.kubernetes.io/master
operator: Exists
nodeSelector:
node-role.kubernetes.io/master: ""