mirror of
https://github.com/rancher/rke.git
synced 2025-07-18 17:31:05 +00:00
Merge pull request #3237 from vardhaman22/k8s-1.26
[v1.4] Update KDM for k8s v1.26
This commit is contained in:
commit
01db164ec7
File diff suppressed because one or more lines are too long
1129
data/data.json
1129
data/data.json
File diff suppressed because one or more lines are too long
@ -263,7 +263,7 @@ for pid in "${!pid_upgrade_results[@]}"; do
|
||||
fi
|
||||
if [ "$kind" = "Job" ]; then
|
||||
echo_with_time "Checking job complete status of $kind $name in namespace $namespace for upgrade ${pid_upgrade_to_version} to "${upgraded_version}""
|
||||
/usr/local/bin/kubectl-${clusterk8sversion} --kubeconfig "./bin/kube_config_cluster-${pid_to_version}.yml" -n $namespace wait --for=condition=complete $kind $name --timeout=5m >/dev/null 2>&1
|
||||
/usr/local/bin/kubectl-${clusterk8sversion} --kubeconfig "./bin/kube_config_cluster-${pid_upgrade_to_version}.yml" -n $namespace wait --for=condition=complete $kind $name --timeout=5m >/dev/null 2>&1
|
||||
if [ $? -ne 0 ]; then
|
||||
echo_with_time "[FAIL] Job complete of $kind $name in namespace $namespace for upgrade ${pid_upgrade_to_version} to "${upgraded_version}" did not complete in 5 minutes"
|
||||
rollout_upgrade_results["${pid}"]="1"
|
||||
|
Loading…
Reference in New Issue
Block a user