k8spvcclone
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
k8spvcclone [2025/09/15 08:29] – [How to Clone a PVC in Kubernetes] sjoerd | k8spvcclone [2025/09/20 18:09] (current) – sjoerd | ||
---|---|---|---|
Line 76: | Line 76: | ||
kubectl scale deployment seq --replicas=0 -n appops | kubectl scale deployment seq --replicas=0 -n appops | ||
# Start the clone using korb. Note that the container image parameter is only necessary when working on a private cluster | # Start the clone using korb. Note that the container image parameter is only necessary when working on a private cluster | ||
- | korb --new-pvc-storage-class=managed-premium --strategy=copy-twice-name --new-pvc-namespace=appops --source-namespace=appops --container-image=acreuwvtxprd.azurecr.io/ | + | korb --new-pvc-storage-class=managed-premium --strategy=copy-twice-name --new-pvc-namespace=appops --source-namespace=appops --container-image=acreuwprd.azurecr.io/ |
# Once the clone is ready, scale the application back to 1 replica | # Once the clone is ready, scale the application back to 1 replica | ||
kubectl scale deployment seq --replicas=1 -n appops | kubectl scale deployment seq --replicas=1 -n appops | ||
Line 86: | Line 86: | ||
az login | az login | ||
docker pull ghcr.io/ | docker pull ghcr.io/ | ||
- | docker tag ghcr.io/ | + | docker tag ghcr.io/ |
- | docker push acreuwvtxprd.azurecr.io/ | + | docker push acreuwprd.azurecr.io/ |
</ | </ | ||
* The strategy ' | * The strategy ' |
k8spvcclone.txt · Last modified: by sjoerd