From 2efcfcb76b1907d69fd2c86cdcf8d81cbe278621 Mon Sep 17 00:00:00 2001 From: Sherlock113 Date: Fri, 28 Aug 2020 21:43:48 +0800 Subject: [PATCH] Add commands Signed-off-by: Sherlock113 --- content/en/docs/pluggable-components/devops.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/content/en/docs/pluggable-components/devops.md b/content/en/docs/pluggable-components/devops.md index 63f862505..dfc37e2ac 100644 --- a/content/en/docs/pluggable-components/devops.md +++ b/content/en/docs/pluggable-components/devops.md @@ -109,5 +109,17 @@ You can find the web kubectl tool by clicking the hammer icon at the bottom righ {{}} -6. Check the status in **Components** or execute `kubectl get pod --all-namespaces` through kubectl to see the status of pods. +6. Check the status in **Components** or execute the following command through kubectl to see the status of related pods. +```bash +kubectl get pod -n kubesphere-devops-system +``` + +The output may look as follows if the component runs successfully: + +```bash +NAME READY STATUS RESTARTS AGE +ks-jenkins-68b8949bb-jcvkt 1/1 Running 0 1h3m +s2ioperator-0 1/1 Running 1 1h3m +uc-jenkins-update-center-8c898f44f-hqv78 1/1 Running 0 1h14m +``` \ No newline at end of file