From 9a4a3c34741ce5e40739840a797440338cabbea9 Mon Sep 17 00:00:00 2001 From: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com> Date: Tue, 17 Dec 2024 12:14:32 +0100 Subject: [PATCH] kubernetes 1.32 kind 1.26 Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com> kind 0.26 Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com> update KFP SDK from 2.4.0 to 2.11.0 Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com> --- .github/workflows/pipeline_swfs_test.yaml | 2 +- .github/workflows/pipeline_test.yaml | 4 ++-- README.md | 4 ++-- .../install_KinD_create_KinD_cluster_install_kustomize.sh | 8 ++++---- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/pipeline_swfs_test.yaml b/.github/workflows/pipeline_swfs_test.yaml index 6bebea16e..27b9b4e6e 100644 --- a/.github/workflows/pipeline_swfs_test.yaml +++ b/.github/workflows/pipeline_swfs_test.yaml @@ -64,7 +64,7 @@ jobs: - name: List and deploy test pipeline with authorized ServiceAccount Token run: | - pip3 install kfp==2.4.0 + pip3 install kfp==2.11.0 KF_PROFILE=kubeflow-user-example-com TOKEN="$(kubectl -n $KF_PROFILE create token default-editor)" diff --git a/.github/workflows/pipeline_test.yaml b/.github/workflows/pipeline_test.yaml index 5c73d1ce2..792d5937e 100644 --- a/.github/workflows/pipeline_test.yaml +++ b/.github/workflows/pipeline_test.yaml @@ -57,7 +57,7 @@ jobs: - name: List and deploy test pipeline with authorized ServiceAccount Token run: | - pip3 install kfp==2.4.0 + pip3 install kfp==2.11.0 KF_PROFILE=kubeflow-user-example-com TOKEN="$(kubectl -n $KF_PROFILE create token default-editor)" @@ -94,7 +94,7 @@ jobs: - name: Fail to list pipelines with unauthorized ServiceAccount Token run: | - pip3 install kfp==2.4.0 + pip3 install kfp==2.11.0 KF_PROFILE=kubeflow-user-example-com TOKEN="$(kubectl -n default create token default)" diff --git a/README.md b/README.md index 9af40b80c..871a8c36e 100644 --- a/README.md +++ b/README.md @@ -103,7 +103,7 @@ The `example` directory contains an example kustomization for the single command #### Prerequisites - 32 GB of RAM recommended - 16 CPU cores recommended -- `kind` +- `kind` 0.26+ - `docker` - Linux kernel subsystem changes to support many pods - `sudo sysctl fs.inotify.max_user_instances=2280` @@ -116,7 +116,7 @@ kind: Cluster apiVersion: kind.x-k8s.io/v1alpha4 nodes: - role: control-plane - image: kindest/node:v1.31.0@sha256:53df588e04085fd41ae12de0c3fe4c72f7013bba32a20e7325357a1ac94ba865 + image: kindest/node:v1.32.0@sha256:c48c62eac5da28cdadcf560d1d8616cfa6783b58f0d94cf63ad1bf49600cb027 kubeadmConfigPatches: - | kind: ClusterConfiguration diff --git a/tests/gh-actions/install_KinD_create_KinD_cluster_install_kustomize.sh b/tests/gh-actions/install_KinD_create_KinD_cluster_install_kustomize.sh index e0627c6c0..76896feb6 100755 --- a/tests/gh-actions/install_KinD_create_KinD_cluster_install_kustomize.sh +++ b/tests/gh-actions/install_KinD_create_KinD_cluster_install_kustomize.sh @@ -20,7 +20,7 @@ if [ -e /swapfile ]; then fi { - curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.24.0/kind-linux-amd64 + curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.26.0/kind-linux-amd64 chmod +x ./kind sudo mv kind /usr/local/bin } || { echo "Failed to install KinD"; exit 1; } @@ -49,11 +49,11 @@ kubeadmConfigPatches: \"service-account-signing-key-file\": \"/etc/kubernetes/pki/sa.key\" nodes: - role: control-plane - image: kindest/node:v1.31.0@sha256:53df588e04085fd41ae12de0c3fe4c72f7013bba32a20e7325357a1ac94ba865 + image: kindest/node:v1.32.0@sha256:c48c62eac5da28cdadcf560d1d8616cfa6783b58f0d94cf63ad1bf49600cb027 - role: worker - image: kindest/node:v1.31.0@sha256:53df588e04085fd41ae12de0c3fe4c72f7013bba32a20e7325357a1ac94ba865 + image: kindest/node:v1.32.0@sha256:c48c62eac5da28cdadcf560d1d8616cfa6783b58f0d94cf63ad1bf49600cb027 - role: worker - image: kindest/node:v1.31.0@sha256:53df588e04085fd41ae12de0c3fe4c72f7013bba32a20e7325357a1ac94ba865 + image: kindest/node:v1.32.0@sha256:c48c62eac5da28cdadcf560d1d8616cfa6783b58f0d94cf63ad1bf49600cb027 " | kind create cluster --config -