mirror of https://github.com/kubernetes/kops.git
Merge pull request #14840 from hakman/fix_res-tracking_scenario
Update resource tracking test scenario
This commit is contained in:
commit
e42a8dd5a5
|
|
@ -26,16 +26,16 @@ function haveds() {
|
|||
# Start a cluster with an old version of channel
|
||||
|
||||
export KOPS_BASE_URL
|
||||
KOPS_BASE_URL="https://artifacts.k8s.io/binaries/kops/1.21.5"
|
||||
KOPS_BASE_URL="https://artifacts.k8s.io/binaries/kops/1.22.6"
|
||||
KOPS=$(kops-download-from-base)
|
||||
|
||||
# Start with a cluster running nodeTerminationHandler
|
||||
ARGS="--set=cluster.spec.nodeTerminationHandler.enabled=true"
|
||||
ARGS="${ARGS} --set=cluster.spec.nodeTerminationHandler.enableSQSTerminationDraining=false"
|
||||
ARGS="--set=cluster.spec.cloudProvider.aws.nodeTerminationHandler.enabled=true"
|
||||
ARGS="${ARGS} --set=cluster.spec.cloudProvider.aws.nodeTerminationHandler.enableSQSTerminationDraining=false"
|
||||
|
||||
${KUBETEST2} \
|
||||
--up \
|
||||
--kubernetes-version="1.21.0" \
|
||||
--kubernetes-version="1.22.17" \
|
||||
--kops-binary-path="${KOPS}" \
|
||||
--create-args="$ARGS"
|
||||
|
||||
|
|
@ -51,7 +51,7 @@ kops-acquire-latest
|
|||
cp "${KOPS}" "${WORKSPACE}/kops"
|
||||
|
||||
# Switch to queue mode. This should remove the DS and install a Deployment instead
|
||||
kops edit cluster "${CLUSTER_NAME}" "--set=cluster.spec.nodeTerminationHandler.enableSQSTerminationDraining=true"
|
||||
kops edit cluster "${CLUSTER_NAME}" "--set=cluster.spec.cloudProvider.aws.nodeTerminationHandler.enableSQSTerminationDraining=true"
|
||||
|
||||
# allow downgrade is a bug where the version written to VFS is not the same as the running version.
|
||||
kops update cluster --allow-kops-downgrade
|
||||
|
|
|
|||
Loading…
Reference in New Issue