Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade 3rd-party components #109

Merged
merged 1 commit into from
Oct 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions scripts/env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ function wait_for_pods() {
#

KWOK_REPO=kubernetes-sigs/kwok
KWOK_RELEASE="v0.6.0"
KWOK_RELEASE="v0.6.1"

function deploy_kwok() {
printGreen Deploying KWOK
Expand Down Expand Up @@ -108,14 +108,14 @@ function deploy_prometheus() {
--set prometheus.prometheusSpec.serviceMonitorSelectorNilUsesHelmValues=false \
--set prometheus.prometheusSpec.podMonitorSelectorNilUsesHelmValues=false

kubectl -n monitoring wait --for=condition=ready pod -l app.kubernetes.io/instance=kube-prometheus-stack --timeout=300s
kubectl -n monitoring wait --for=condition=ready pod -l app.kubernetes.io/instance=kube-prometheus-stack --timeout=600s
}

# Tested workload managers
#

# https://github.com/kubernetes-sigs/jobset
JOBSET_VERSION=v0.6.0
JOBSET_VERSION=v0.7.0

function deploy_jobset() {
printGreen Deploying jobset
Expand All @@ -127,7 +127,7 @@ function deploy_jobset() {

wait_for_pods "jobset-system" 1

kubectl -n jobset-system wait --for=condition=ready pod -l control-plane=controller-manager --timeout=300s
kubectl -n jobset-system wait --for=condition=ready pod -l control-plane=controller-manager --timeout=600s
}

# https://github.com/kubernetes-sigs/kueue
Expand All @@ -143,7 +143,7 @@ function deploy_kueue() {

wait_for_pods "kueue-system" 1

kubectl -n kueue-system wait --for=condition=ready pod -l control-plane=controller-manager --timeout=300s
kubectl -n kueue-system wait --for=condition=ready pod -l control-plane=controller-manager --timeout=600s
}

# https://github.com/volcano-sh/volcano
Expand All @@ -159,7 +159,7 @@ function deploy_volcano() {
--set-json 'affinity={"nodeAffinity":{"requiredDuringSchedulingIgnoredDuringExecution":{"nodeSelectorTerms":[{"matchExpressions":[{"key":"type","operator":"NotIn","values":["kwok"]}]}]}}}'

for app in volcano-admission volcano-controller volcano-scheduler; do
kubectl -n volcano-system wait --for=condition=ready pod -l app=$app --timeout=300s
kubectl -n volcano-system wait --for=condition=ready pod -l app=$app --timeout=600s
done

# Wait until volcano webhook is ready
Expand All @@ -179,13 +179,13 @@ function deploy_yunikorn() {
--version=$YUNIKORN_VERSION --wait \
--set-json 'affinity={"nodeAffinity":{"requiredDuringSchedulingIgnoredDuringExecution":{"nodeSelectorTerms":[{"matchExpressions":[{"key":"type","operator":"NotIn","values":["kwok"]}]}]}}}'

kubectl -n yunikorn wait --for=condition=ready pod -l app=yunikorn --timeout=300s
kubectl -n yunikorn wait --for=condition=ready pod -l app=yunikorn --timeout=600s
}

# https://www.run.ai/
TRAINING_OPERATOR_VERSION=v1.8.0
MPI_OPERATOR_VERSION=v0.4.0
RUNAI_VERSION=2.17.50
RUNAI_VERSION=2.18.49

function deploy_runai() {
printGreen Deploying run:ai
Expand Down
Loading