Skip to content

Commit 5d017e9

Browse files
committed
docs,.github: Replace sosreport deprecated with sos report
1 parent 6df0aee commit 5d017e9

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/actions/sosreport-logs/action.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ runs:
2424
run: |
2525
for host in ${HOSTS_LIST}; do
2626
ssh -F ssh_config ${host} \
27-
"sudo sosreport --all-logs \
27+
"sudo sos report --all-logs \
2828
-o metalk8s -kmetalk8s.k8s-resources -kmetalk8s.pod-logs -k metalk8s.describe -k metalk8s.metrics \
2929
-o metalk8s_containerd -kmetalk8s_containerd.all -kmetalk8s_containerd.logs \
3030
--batch --tmp-dir /var/tmp && \
31-
sudo chown -R 1000:1000 /var/tmp/sosreport*"
31+
sudo chown 1000:1000 /var/tmp/sosreport*"
3232
done
3333
- name: collect sosreport on each node
3434
shell: bash

docs/operation/cluster_monitoring/prometheus.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ To generate a snapshot, use the
2020

2121
.. code-block:: console
2222
23-
root@host # sosreport --batch --build -o metalk8s -kmetalk8s.prometheus-snapshot=True
23+
root@host # sos report --batch --build -o metalk8s -kmetalk8s.prometheus-snapshot=True
2424
2525
The name of the generated archive is printed on the console output and
2626
the Prometheus snapshot can be found under ``prometheus_snapshot`` directory.

docs/operation/sosreport.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ To include logs and configuration for containerd and MetalK8s components, run:
1919

2020
.. code-block:: console
2121
22-
root@your-machine # sosreport --batch --all-logs \
22+
root@your-machine # sos report --batch --all-logs \
2323
-o metalk8s -kmetalk8s.k8s-resources -kmetalk8s.pod-logs -kmetalk8s.describe -kmetalk8s.metrics \
2424
-o metalk8s_containerd -kmetalk8s_containerd.all -kmetalk8s_containerd.logs
2525
@@ -37,4 +37,4 @@ To display the full list of available plugins and their options, run:
3737

3838
.. code-block:: shell
3939
40-
sosreport --list-plugins
40+
sos report --list-plugins

0 commit comments

Comments
 (0)