You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-arc/data/resize-persistent-volume-claim.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,18 +22,18 @@ When you deploy an Azure Arc enabled SQL managed instance, you can configure the
22
22
23
23
Following are the steps to resize persistent volumes attached to `StatefulSets`:
24
24
25
-
1. Scale the `StatefulSets` to 0
25
+
1. Scale the `StatefulSets`replicas to 0
26
26
2. Patch the PVC to the new size
27
-
3. Scale the `StatefulSets` back to the original size
27
+
3. Scale the `StatefulSets`replicas back to the original size
28
28
29
29
During the patching of `PersistentVolumeClaim`, the status of the persistent volume claim will likely change from: `Attached` to `Resizing` to `FileSystemResizePending` to `Attached`. The exact states will depend on the storage provisioner.
30
30
31
31
> [Note]
32
32
> Ensure the managed instance is in a healthy state before you proceed. Run `kubectl get sqlmi -n <namespace>` and check the status of the managed instance.
33
33
34
-
## 1. Scale the `StatefulSets` to 0
34
+
## 1. Scale the `StatefulSets`replicas to 0
35
35
36
-
The number of `StatefulSets` deployed is equal to the number of replicas. For General Purpose service tier, this is 1. For Business Critical service tier it could be 1, 2 or 3 depending on how many replicas were specified. Run the below command to get the number of stateful sets if you have a Business Critical instance.
36
+
There is one `StatefulSet` deployed for each Arc SQL MI. The number of replicas in the `StatefulSet`is equal to the number of replicas in the Arc SQL MI. For General Purpose service tier, this is 1. For Business Critical service tier it could be 1, 2 or 3 depending on how many replicas were specified. Run the below command to get the number of statefulset replicas if you have a Business Critical instance.
37
37
38
38
```console
39
39
kubectl get sts --namespace <namespace>
@@ -45,9 +45,9 @@ For example, if the namespace is `arc`, run:
45
45
kubectl get sts --namespace arc
46
46
```
47
47
48
-
Notice the number of stateful sets.
48
+
Notice the number of stateful sets under the `READY` column for the SQL managed instance(s).
49
49
50
-
Run the below command to scale the `StatefulSets` to 0:
50
+
Run the below command to scale the `StatefulSets`replicas to 0:
0 commit comments