Skip to content

Commit

Permalink
Backported hitachienergy#1888 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
atsikham committed Feb 4, 2021
1 parent a2c483c commit 82c17c0
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,14 @@
- name: k8s/master0 | Wait for cluster's readiness
include_tasks: utils/wait.yml

# Even though cluster is seen as ready here, the next task may occasionally fail with error like
# "Error from server (NotFound): the server could not find the requested resource".
# The following task prevents this issue.
- name: k8s/master0 | Refresh api-resources cache
shell: kubectl api-resources --cached=false > /dev/null
when:
- version is version('1.18', '<')

# 'kubeadm upgrade apply' overwrites Epiphany's customized CoreDNS so we patch it again.
# This task restores 'hosts' plugin and should be run each time K8s was upgraded in order to support "--wait-for-pods" epicli feature (issue #1218).
- name: k8s/master0 | Customize CoreDNS
Expand Down

0 comments on commit 82c17c0

Please sign in to comment.