diff --git a/cli/index.adoc b/cli/index.adoc index 4a438ee..751988e 100644 --- a/cli/index.adoc +++ b/cli/index.adoc @@ -290,9 +290,26 @@ NOTE: You can specify more than one port by repeating this option. * `--protocol ` allows you specify the protocol you want to use, `tcp`, `http` or `http2` +NOTE: If you do not specify ports, `skupper` uses the `containerPort` value of the deployment. -- -NOTE: If you do not specify ports, `skupper` uses the `containerPort` value of the deployment. +. Check the status of services exposed on the {service-network} (`-v` is only available on Kubernetes): ++ +-- +[source, bash] +---- +$ skupper service status -v +Services exposed through Skupper: +╰─ backend:8080 (tcp) + ╰─ Sites: + ├─ 4d80f485-52fb-4d84-b10b-326b96e723b2(west) + │ policy: disabled + ╰─ 316fbe31-299b-490b-9391-7b46507d76f1(east) + │ policy: disabled + ╰─ Targets: + ╰─ backend:8080 name=backend-9d84544df-rbzjx +---- + // Type: procedure [id="exposing-complex-services"] diff --git a/troubleshooting/index.adoc b/troubleshooting/index.adoc index 7b00260..297a100 100644 --- a/troubleshooting/index.adoc +++ b/troubleshooting/index.adoc @@ -79,21 +79,27 @@ The output shows: * Details for each site, for example the namespace names. -- -. Check the status of services exposed on the {service-network}: +. Check the status of services exposed on the {service-network} (`-v` is only available on Kubernetes): + -- [source, bash] ---- -$ skupper service status +$ skupper service status -v Services exposed through Skupper: -╰─ backend (tcp port 8080) - ╰─ Targets: - ╰─ app=backend name=backend +╰─ backend:8080 (tcp) + ╰─ Sites: + ├─ 4d80f485-52fb-4d84-b10b-326b96e723b2(west) + │ policy: disabled + ╰─ 316fbe31-299b-490b-9391-7b46507d76f1(east) + │ policy: disabled + ╰─ Targets: + ╰─ backend:8080 name=backend-9d84544df-rbzjx ---- The output shows the `backend` service and the related target of that service. -NOTE: The related targets for services are only displayed when the target is available on the current cluster. +NOTE: As part of output each site reports the status of the policy system on that cluster. + -- . List the Skupper events for a site: diff --git a/yaml/annotations.adoc b/yaml/annotations.adoc index 89d6f05..58254bb 100644 --- a/yaml/annotations.adoc +++ b/yaml/annotations.adoc @@ -70,11 +70,16 @@ This allows you to delete and recreate the `backend` service without having to a [source, bash] ---- -$ skupper service status +$ skupper service status -v Services exposed through Skupper: -╰─ backend (tcp port 8080) - ╰─ Targets: - ╰─ app=hello-world-backend name=hello-world-backend +╰─ backend:8080 (tcp) + ╰─ Sites: + ├─ 4d80f485-52fb-4d84-b10b-326b96e723b2(west) + │ policy: disabled + ╰─ 316fbe31-299b-490b-9391-7b46507d76f1(east) + │ policy: disabled + ╰─ Targets: + ╰─ backend:8080 name=backend-9d84544df-rbzjx ---- NOTE: The related targets for services are only displayed when the target is available on the current cluster.