Skip to content
Snippets Groups Projects
Unverified Commit 721b12cd authored by Romain Avouac's avatar Romain Avouac Committed by GitHub
Browse files

Update prepull_images.sh

parent bfb25cd1
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
kubectl delete deployments.apps --ignore-not-found=true prepull
kubectl delete daemonsets.apps --ignore-not-found=true prepull
pip install kubernetes
KUBERNETES_NAMESPACE=`cat /var/run/secrets/kubernetes.io/serviceaccount/namespace`
# IMAGES_TO_PREPULL='inseefrlab/onyxia-vscode-python:py3.10.9'
python prepull_images.py $KUBERNETES_NAMESPACE $IMAGES_TO_PREPULL
kubectl delete deployments.apps --ignore-not-found=true prepull
kubectl delete daemonsets.apps --ignore-not-found=true prepull
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment