k8spvcclone
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| k8spvcclone [2025/09/14 14:29] – created - external edit 127.0.0.1 | k8spvcclone [2025/10/25 18:06] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| {{tag> | {{tag> | ||
| - | When doing an Argo CD sync I git an error on one of our PVCs. For one of our applications we upgraded the storage class but hadn't had the time yet to convert the actual PVC: | + | When doing an Argo CD sync I got an error on one of our PVCs. For one of our applications we upgraded the storage class but hadn't had the time yet to convert the actual PVC: |
| < | < | ||
| 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 ' | ||
| Line 139: | Line 139: | ||
| * [[https:// | * [[https:// | ||
| + | |||
| + | //This wiki has been made possible by:// | ||
| + | |||
| + | < | ||
| + | <script async src=" | ||
| + | | ||
| + | <!-- Wiki End of Page --> | ||
| + | <ins class=" | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | < | ||
| + | | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | |||
k8spvcclone.1757860149.txt.gz · Last modified: by 127.0.0.1
