From 676ff681a96e24d76ef35f9325a3b0b7b79befbd Mon Sep 17 00:00:00 2001 From: Samia Nneji Date: Thu, 29 Jul 2021 20:19:04 +0100 Subject: [PATCH] Add output for verification step (#4056) * Add output for verification step * Update docs/admin/install/eventing/install-eventing-with-yaml.md Co-authored-by: Ashleigh Brennan * Small tweaks * Small tweaks * Fix typo Co-authored-by: Ashleigh Brennan --- .../eventing/install-eventing-with-yaml.md | 15 +++++++++++--- .../serving/install-serving-with-yaml.md | 20 +++++++++++++++---- 2 files changed, 28 insertions(+), 7 deletions(-) diff --git a/docs/admin/install/eventing/install-eventing-with-yaml.md b/docs/admin/install/eventing/install-eventing-with-yaml.md index b4aea0e8f..f4a8a29c7 100644 --- a/docs/admin/install/eventing/install-eventing-with-yaml.md +++ b/docs/admin/install/eventing/install-eventing-with-yaml.md @@ -25,12 +25,21 @@ To install Knative Eventing: ## Verify the installation -!!! success "Monitor the Knative components until all of the components show a `STATUS` of `Running` or `Completed`:" +!!! success + Monitor the Knative components until all of the components show a `STATUS` of `Running` or `Completed`. + You can do this by running the following command and inspecting the output: - ```{ .bash .no-copy } - kubectl get pods --namespace knative-eventing + ```bash + kubectl get pods -n knative-eventing ``` + Example output: + + ```{ .bash .no-copy } + NAME READY STATUS RESTARTS AGE + eventing-controller-7995d654c7-qg895 1/1 Running 0 2m18s + eventing-webhook-fff97b47c-8hmt8 1/1 Running 0 2m17s + ``` ## Optional: Install a default Channel (messaging) layer diff --git a/docs/admin/install/serving/install-serving-with-yaml.md b/docs/admin/install/serving/install-serving-with-yaml.md index 3ba408772..5afd452d8 100644 --- a/docs/admin/install/serving/install-serving-with-yaml.md +++ b/docs/admin/install/serving/install-serving-with-yaml.md @@ -171,11 +171,24 @@ Follow the procedure for the networking layer of your choice: ## Verify the installation !!! success - Monitor the Knative components until all of the components display `Running` or - `Completed` beneath `STATUS`: + Monitor the Knative components until all of the components show a `STATUS` of `Running` or `Completed`. + You can do this by running the following command and inspecting the output: ```bash - kubectl get pods --namespace knative-serving + kubectl get pods -n knative-serving + ``` + + Example output: + + ```{ .bash .no-copy } + NAME READY STATUS RESTARTS AGE + 3scale-kourier-control-54cc54cc58-mmdgq 1/1 Running 0 81s + activator-67656dcbbb-8mftq 1/1 Running 0 97s + autoscaler-df6856b64-5h4lc 1/1 Running 0 97s + controller-788796f49d-4x6pm 1/1 Running 0 97s + domain-mapping-65f58c79dc-9cw6d 1/1 Running 0 97s + domainmapping-webhook-cc646465c-jnwbz 1/1 Running 0 97s + webhook-859796bc7-8n5g2 1/1 Running 0 96s ``` @@ -262,4 +275,3 @@ The tabs below expand to show instructions for installing each Serving extension ```bash kubectl apply -f {{ artifact(repo="serving",file="serving-nscert.yaml")}} ``` -