This is an automated email from the ASF dual-hosted git repository. wilfred-s pushed a commit to branch manirajv06/YUNIKORN-3290 in repository https://gitbox.apache.org/repos/asf/yunikorn-k8shim.git
commit 9d8709e18ea7f45bbe16cfb6014258879351bcfc Author: Wilfred Spiegelenburg <[email protected]> AuthorDate: Wed Jun 3 13:33:00 2026 +1000 Fix K8s 1.36 kind cluster startup --- scripts/kind-1.36.yaml | 24 ++++++++++++++++++++++++ scripts/run-e2e-tests.sh | 7 +++++-- 2 files changed, 29 insertions(+), 2 deletions(-) diff --git a/scripts/kind-1.36.yaml b/scripts/kind-1.36.yaml new file mode 100644 index 00000000..909b4bd2 --- /dev/null +++ b/scripts/kind-1.36.yaml @@ -0,0 +1,24 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +kind: Cluster +apiVersion: kind.x-k8s.io/v1alpha4 +featureGates: +nodes: + - role: control-plane + - role: worker + - role: worker diff --git a/scripts/run-e2e-tests.sh b/scripts/run-e2e-tests.sh index 5f5f66d2..746b01f2 100755 --- a/scripts/run-e2e-tests.sh +++ b/scripts/run-e2e-tests.sh @@ -50,9 +50,12 @@ function update_kind_config() { if verlt "${version}" "1.32"; then # 1.31 or earlier KIND_CONFIG=./scripts/kind.yaml - else - # 1.32 or later; enable InPlacePodVerticalScaling and PodLevelResources feature flags + elif verlt "${version}" "1.36"; then + # 1.32 to 1.35; enable InPlacePodVerticalScaling and PodLevelResources feature flags KIND_CONFIG=./scripts/kind-1.32.yaml + else + # 1.36 or later; remove features that moved to beta or are completely gone. + KIND_CONFIG=./scripts/kind-1.36.yaml fi } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
