Skip to content

Commit

Permalink
fix create kurator-host cluster timeout
Browse files Browse the repository at this point in the history
Signed-off-by: LiZhenCheng9527 <[email protected]>
  • Loading branch information
LiZhenCheng9527 committed Feb 1, 2024
1 parent b10a840 commit 6558d00
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Build Clusters
uses: helm/[email protected]
with:
version: v0.18.0
version: v0.20.0
install_only: true
- name: Set Up Clusters
run: |
Expand Down
2 changes: 1 addition & 1 deletion hack/local-dev-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ ROOT_DIR=$(git rev-parse --show-toplevel)/hack
KIND_CONFIGS_ROOT=${ROOT_DIR}/kind-configs
source "${ROOT_DIR}"/util.sh

KIND_VERSION=${KIND_VERSION:-"kindest/node:v1.25.3"}
KIND_VERSION=${KIND_VERSION:-"kindest/node:v1.27.3"}

# variable define
KUBECONFIG_PATH=${KUBECONFIG_PATH:-"${HOME}/.kube"}
Expand Down
2 changes: 1 addition & 1 deletion hack/util.sh
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ function util::check_clusters_ready() {
local context_name=${2}

echo "Waiting for kubeconfig file ${kubeconfig_path} and clusters ${context_name} to be ready..."
util::wait_file_exist "${kubeconfig_path}" 600
util::wait_file_exist "${kubeconfig_path}" 900
util::wait_for_condition 'running' "docker inspect --format='{{.State.Status}}' ${context_name}-control-plane &> /dev/null" 300

kubectl config rename-context "kind-${context_name}" "${context_name}" --kubeconfig="${kubeconfig_path}"
Expand Down

0 comments on commit 6558d00

Please sign in to comment.