Skip to content
This repository has been archived by the owner on Feb 9, 2022. It is now read-only.

Commit

Permalink
wait 60 sec for api server to become stable
Browse files Browse the repository at this point in the history
  • Loading branch information
Sameer Naik committed Apr 17, 2019
1 parent e797d47 commit a325af3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,11 @@ def runIntegrationTest(String description, String kubeprodArgs, String ginkgoArg
sh "kubectl cluster-info"
}

// HACK: We have been experiencing the following error while executing "kubeprod install"
// "Error: unable to retrieve the complete list of server APIs: metrics.k8s.io/v1beta1: the server is currently unable to handle the request"
// To workaround this issue a 60 sec sleep is added to allow the api server to become READY before performing the installation.
sleep 60

try {
sh "kubeprod install ${kubeprodArgs} --manifests=${env.WORKSPACE}/src/github.com/bitnami/kube-prod-runtime/manifests"
try {
Expand Down

0 comments on commit a325af3

Please sign in to comment.