Skip to content

Commit

Permalink
Merge pull request #6920 from granular-ryanbonham/cherrypick_6821_rel…
Browse files Browse the repository at this point in the history
…ease-1.12

Cherry pick of #6821 onto release-1.12
  • Loading branch information
k8s-ci-robot authored May 10, 2019
2 parents 2f98b12 + 256b183 commit fe06df3
Showing 1 changed file with 6 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,8 @@ metadata:
labels:
k8s-app: openstack-cloud-provider
k8s-addon: openstack.addons.k8s.io
annotations:
scheduler.alpha.kubernetes.io/critical-pod: ""
spec:
updateStrategy:
type: RollingUpdate
Expand All @@ -193,18 +195,10 @@ spec:
runAsUser: 1001
serviceAccountName: cloud-controller-manager
tolerations:
# this is required so CCM can bootstrap itself
- key: node.cloudprovider.kubernetes.io/uninitialized
value: "true"
effect: NoSchedule
# this is to have the daemonset runnable on master nodes
# the taint may vary depending on your cluster setup
- key: node-role.kubernetes.io/master
effect: NoSchedule
# this is to restrict CCM to only run on master nodes
# the node selector may vary depending on your cluster setup
- key: "CriticalAddonsOnly"
operator: "Exists"
- effect: NoSchedule
operator: Exists
- key: CriticalAddonsOnly
operator: Exists
containers:
- name: openstack-cloud-controller-manager
image: "{{- .ExternalCloudControllerManager.Image }}"
Expand Down

0 comments on commit fe06df3

Please sign in to comment.