Skip to content

Commit

Permalink
Add waiting after creating cluster(sometimes x509 error is occuring)
Browse files Browse the repository at this point in the history
  • Loading branch information
GHRik committed Jun 7, 2021
1 parent 8a3f3cf commit 0329ac4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ansible/roles/cluster/tasks/initCluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,9 @@
shell: . $HOME/.bashrc

- name: Taint master node
command: kubectl taint node master-node node-role.kubernetes.io/master:NoSchedule-
shell: kubectl taint node master-node node-role.kubernetes.io/master:NoSchedule-
retries: 12
delay: 30
register: error_info
until: error_info.rc == 0

0 comments on commit 0329ac4

Please sign in to comment.