Update all images used to GHCR repo (#3154)
This commit is contained in:
@@ -15,6 +15,6 @@ spec:
|
||||
cpu: 300m
|
||||
memory: 256Mi
|
||||
runtime:
|
||||
image: fission/python-env
|
||||
image: ghcr.io/fission/python-env
|
||||
imagePullPolicy: IfNotPresent
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ spec:
|
||||
cpu: 300m
|
||||
memory: 256Mi
|
||||
runtime:
|
||||
image: fission/python-env
|
||||
image: ghcr.io/fission/python-env
|
||||
imagePullPolicy: IfNotPresent
|
||||
container:
|
||||
env:
|
||||
|
||||
@@ -24,7 +24,7 @@ do
|
||||
echo "Creating python env"
|
||||
# Use short grace period time to speed up resource recycle time
|
||||
# Use high min/max CPU so that K8S will distribute pod in different nodes
|
||||
fission env create --name python --version 2 --image fission/python-env --period 5 --mincpu 300 --maxcpu 300 --minmemory 256 --maxmemory 256
|
||||
fission env create --name python --version 2 --image ghcr.io/fission/python-env --period 5 --mincpu 300 --maxcpu 300 --minmemory 256 --maxmemory 256
|
||||
trap "fission env delete --name python" EXIT
|
||||
|
||||
sleep 30
|
||||
|
||||
@@ -36,7 +36,7 @@ do
|
||||
version=1
|
||||
fi
|
||||
|
||||
fission env create --name python --version ${version} --image fission/python-env --period 5 --mincpu 300 --maxcpu 300 --minmemory 256 --maxmemory 256
|
||||
fission env create --name python --version ${version} --image ghcr.io/fission/python-env --period 5 --mincpu 300 --maxcpu 300 --minmemory 256 --maxmemory 256
|
||||
|
||||
trap "fission env delete --name python" EXIT
|
||||
|
||||
|
||||
Reference in New Issue
Block a user