Skip to content

Commit f2a5cd2

Browse files
authored
Merge pull request #90432 from eromanova97/OBSDOCS-1721
OBSDOCS-1721: missed 'r' in 'ls -dt'
2 parents 03af5b1 + 4a32d33 commit f2a5cd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/monitoring-resolving-the-kubepersistentvolumefillingup-alert-firing-for-prometheus.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ endif::openshift-dedicated,openshift-rosa-hcp,openshift-rosa[]
4040
$ oc debug <prometheus_k8s_pod_name> -n openshift-monitoring \// <1>
4141
-c prometheus --image=$(oc get po -n openshift-monitoring <prometheus_k8s_pod_name> \// <1>
4242
-o jsonpath='{.spec.containers[?(@.name=="prometheus")].image}') \
43-
-- sh -c 'cd /prometheus/;du -hs $(ls -dt */ | grep -Eo "[0-9|A-Z]{26}")'
43+
-- sh -c 'cd /prometheus/;du -hs $(ls -dtr */ | grep -Eo "[0-9|A-Z]{26}")'
4444
----
4545
<1> Replace `<prometheus_k8s_pod_name>` with the pod mentioned in the `KubePersistentVolumeFillingUp` alert description.
4646
+

0 commit comments

Comments
 (0)