Skip to content

Commit 316e8ce

Browse files
authored
Merge pull request #1583 from amolkharche13/patch-9
Updated suse-observability namespace
2 parents db5743d + 93b1725 commit 316e8ce

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

setup/data-management/data_retention.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -99,15 +99,15 @@ In most clusters it's possible to resize a persistent volume after it has been c
9999
2. Resize the volumes
100100
3. Update values.yaml and apply change (optional but recommended)
101101

102-
The examples below use the VictoriaMetrics storage as an example. SUSE Observability is installed in the `stackstate` namespace. The volume is going to be resized to 500Gi.
102+
The examples below use the VictoriaMetrics storage as an example. SUSE Observability is installed in the `suse-observability` namespace. The volume is going to be resized to 500Gi.
103103

104104
### Verify the storage class supports resizing
105105

106106
Use the following `kubectl` commands to get the storage class used and check that the `allowVolumeExpansion` is set to true.
107107

108108
```bash
109109
# Get the PVC's for SUSE Observability
110-
kubectl get pvc --namespace stackstate
110+
kubectl get pvc --namespace suse-observability
111111
112112
# There is a storage class column in the output, copy it and use it to describe the storage class
113113
kubectl describe storageclass <storage-class-name>
@@ -129,13 +129,13 @@ To change the PVC size use the following commands.
129129

130130
```bash
131131
# Get the PVC's for SUSE Observability, allows us to check the current size and copy the name of the PVC to modify it with the next command
132-
kubectl get pvc --namespace stackstate
132+
kubectl get pvc --namespace suse-observability
133133
134134
# Patch the PVC's specified size, change it to 500Gi
135135
kubectl patch pvc server-volume-stackstate-victoria-metrics-0-0 -p '{"spec":{"resources": { "requests": { "storage": "500Gi" }}}}'
136136
137137
# Get the PVC's again to verify if it was resized, depending on the provider this can take a while
138-
kubectl get pvc --namespace stackstate
138+
kubectl get pvc --namespace suse-observability
139139
```
140140

141141
### Update values.yaml and apply the change
@@ -152,10 +152,10 @@ Now remove the stateful set for the application(s) for which the storage has bee
152152

153153
```bash
154154
# List all stateful sets, check that all are ready, if not please troubleshoot that first
155-
kubectl get statefulset --namespace stackstate
155+
kubectl get statefulset --namespace suse-observability
156156
157157
# Delete the
158-
kubectl delete statefulset --namespace stackstate stackstate-victoria-metrics-0 --cascade=orphan
158+
kubectl delete statefulset --namespace suse-observability stackstate-victoria-metrics-0 --cascade=orphan
159159
```
160160

161-
Finally [update SUSE Observability](./data_retention.md#update-stackstate) with the new settings.
161+
Finally [update SUSE Observability](./data_retention.md#update-) with the new settings.

0 commit comments

Comments
 (0)