Skip to content
Snippets Groups Projects
Commit 730caa3d authored by Andreas Krüger's avatar Andreas Krüger Committed by k8s-ci-robot
Browse files

Add PriorityClasses on the last master. (#3706)

parent 7deb8420
No related branches found
No related tags found
No related merge requests found
......@@ -179,7 +179,7 @@
copy: src=k8s-cluster-critical-pc.yml dest={{ kube_config_dir }}/k8s-cluster-critical-pc.yml
when:
- kube_version is version('v1.11.1', '>=')
- inventory_hostname == groups['kube-master'][0]
- inventory_hostname == groups['kube-master']|last
- name: PriorityClass | Create k8s-cluster-critical
kube:
......@@ -190,4 +190,4 @@
state: latest
when:
- kube_version is version('v1.11.1', '>=')
- inventory_hostname == groups['kube-master'][0]
- inventory_hostname == groups['kube-master']|last
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment