Update install scripts for compatibility with K8s 1.32.3 35/14735/10
authorJuheeShin <odong3094@khu.ac.kr>
Fri, 5 Sep 2025 02:44:15 +0000 (02:44 +0000)
committerJuheeShin <odong3094@khu.ac.kr>
Fri, 5 Sep 2025 02:44:47 +0000 (02:44 +0000)
- Updated install_kubeflow.sh for compatibility
- Updated KFP version from 2.2.0 to 2.3.0 for better K8s 1.32.3 compatibility

Issue-ID: AIMLFW-179
Change-Id: I069bd022799bb34072b4be0ac5fe2874c639277b
Signed-off-by: JuheeShin <odong3094@khu.ac.kr>
tools/kubeflow/bin/install_kubeflow.sh

index 9cd44e3..f094ade 100755 (executable)
 
 kubectl create namespace kubeflow
 sleep 10
-
 kubeflow_dir=tools/kubeflow
 previous_dir=$PWD
 source $previous_dir/$kubeflow_dir/leofs_env.sh
 
-KFP_VERSION="2.2.0"
+# Updated KFP version for better Kubernetes v1.32.3 compatibility
+KFP_VERSION="2.3.0"  # Updated from 2.2.0 to 2.3.0 for better compatibility
 REPO_URL="https://github.com/kubeflow/pipelines/archive/refs/tags/$KFP_VERSION.tar.gz"
 WORK_DIR="/tmp/kubeflow_pipelines"
-CUSTOM_ENV_DIR="$previous_dir/$kubeflow_dir/aimlfw-kustomize"  # Update this path to your actual custom kustomize directory
+CUSTOM_ENV_DIR="$previous_dir/$kubeflow_dir/aimlfw-kustomize"
 
 # Create a working directory in /tmp
 mkdir -p $WORK_DIR
@@ -46,12 +46,13 @@ cp -r $CUSTOM_ENV_DIR manifests/kustomize/env/
 
 # Replace placeholders in the specific kustomize file using environment variables
 KUSTOMIZE_FILE="manifests/kustomize/env/$(basename $CUSTOM_ENV_DIR)/minio-artifact-secret-patch.env"
+
 # Replace values in the kustomize file
 sed -i "s/PLACEHOLDER_LEOFS_KEY/$LEOFS_KEY/g" $KUSTOMIZE_FILE
 
 cd manifests/kustomize/env/$(basename $CUSTOM_ENV_DIR)
 
-# deploy all the artifacts
+# Deploy all the artifacts
 kustomize build ../../cluster-scoped-resources | kubectl apply -f -
 kubectl wait crd/applications.app.k8s.io --for condition=established --timeout=60s
 kustomize build ./ | kubectl apply -f -