Troubleshooting an application network
Typically, you can create a network without referencing this troubleshooting guide. However, this guide provides some tips for situations when the network does not perform as expected.
See the resolving common problems section if you have encountered a specific issue using the skupper CLI.
A typical troubleshooting workflow is to check all the sites and create debug tar files.
Checking sites
Check site, connector, listener, and link status to confirm that the application network is operating correctly.
Using the skupper command-line interface (CLI) provides a simple method to get started with troubleshooting Skupper.
Procedure
-
Check the controller on Kubernetes. On Kubernetes the controller must be installed before you attempt to create an application network.
-
Check the site status for a cluster:
skupper site status NAME STATUS MESSAGE west Ready OKThe output shows:
- Sites exist in the specified namespace on Kubernetes.
- On other platforms, the status shows all sites for the user.
On Kubernetes, you can also check the resource, for example:
kubectl get site -o yaml apiVersion: v1 items: - apiVersion: skupper.io/v2alpha1 kind: Site metadata: annotations: kubectl.kubernetes.io/last-applied-configuration: | {"apiVersion":"skupper.io/v2alpha1","kind":"Site","metadata":{"annotations":{},"name":"west","namespace":"default"}} creationTimestamp: "2025-02-24T09:33:51Z" generation: 1 name: west namespace: default resourceVersion: "701" uid: d6bc9342-6f7e-4f9a-a643-053a6a0e2335 status: conditions: - lastTransitionTime: "2025-02-24T09:33:51Z" message: OK observedGeneration: 1 reason: Ready status: "True" type: Configured - lastTransitionTime: "2025-02-24T09:34:21Z" message: OK observedGeneration: 1 reason: Ready status: "True" type: Ready - lastTransitionTime: "2025-02-24T09:34:21Z" message: OK observedGeneration: 1 reason: Ready status: "True" type: Running controller: name: skupper-controller namespace: default version: 2.1.1-rc1 defaultIssuer: skupper-site-ca message: OK network: - id: d6bc9342-6f7e-4f9a-a643-053a6a0e2335 name: west namespace: default platform: kubernetes version: 2.1.1-rc1 sitesInNetwork: 1 status: Ready kind: List metadata: resourceVersion: ""If this command fails, check the controller.
-
Check connectors and listeners:
skupper connector status NAME STATUS ROUTING-KEY SELECTOR HOST PORT HAS MATCHING LISTENERMESSAGE backend Ready backend app=backend 8080 true OKThe output shows:
- There is one connector, named
backend. - The connector uses the
backendrouting key and port9090.
This result shows that you can create a listener using the
backendrouting key and port9090on a different site to access thebackendservice. - There is one connector, named
Checking links
Check link status to confirm that sites can exchange traffic across the application network.
You must link sites before you can expose services on the network.
π NOTE By default, tokens expire after 15 minutes and you can only use a token once. Generate a new token if the link is not connected.
This section outlines some advanced options for checking links.
Procedure
-
Check the link status:
skupper link status -n east NAME STATUS COST MESSAGE west-48b5feee-89e9-4a53-b8d0-e94304cc951f Ready 1 OKA link exists from the specified site to another site, meaning a token from another site was applied to the specified site.
The status of the link must be
Readyto allow service traffic.π NOTE You must run
skupper link statuson a linking site.If you use this command on a connecting site, there is a message:
skupper link status -n west There are no link resources in the namespace
Creating a Skupper debug tar file
Create a debug tar file containing diagnostic information about a Skupper site to troubleshoot issues or share with support.
The skupper debug dump command creates a compressed tarball (.tar.gz) containing logs, configurations, and resource status from a site. The output file is named using the pattern <filename>-<namespace>-<datetime>.tar.gz. If no filename is provided, it defaults to skupper-dump.
This procedure applies to both Kubernetes and local system sites.
Procedure
-
Create the debug tar file for a site:
skupper debug dumpOr specify a custom filename:
skupper debug dump mysite-debugThe command creates a file such as
skupper-dump-default-20250526-143022.tar.gz. -
Extract the tar file to examine its contents:
mkdir skupper-dump tar -xzf skupper-dump-default-20250526-143022.tar.gz -C skupper-dump cd skupper-dump -
Check the Skupper and platform versions:
/versions/kubernetes.yaml- Kubernetes version (on Kubernetes platforms)/versions/skupper.yaml- Versions of Skupper components
-
Check the site configuration and ingress:
/site-namespace/resources/Site-<name>.yaml- Site specification and status/site-namespace/resources/RouterAccess-<name>.yaml- Ingress and access type configured for the site
-
Check linking and service configuration:
/site-namespace/resources/Link-<name>.yaml- Link status between sites/site-namespace/resources/Accessgrant-<name>.yaml- Access grants for tokens/site-namespace/resources/AccessTokens-<name>.yaml- Token usage information/site-namespace/resources/Connector-<name>.yaml- Connector configuration and status/site-namespace/resources/Listener-<name>.yaml- Listener configuration and status
You may notice resources that contain labels prefixed with internal.skupper.io/.
π NOTE
Labels prefixed with internal.skupper.io/ are internal-only. They are subject to change without notice in future versions of Skupper. Do not modify, delete, or build automation that depends on the state or existence of these labels.
Troubleshooting the Dynamic System Controller
The Dynamic System Controller feature (available on Docker and Podman platforms only) enables automatic processing of YAML resources when --reload-type=auto is enabled during installation.
Use this section to diagnose issues when resources are not being automatically detected or processed.
By default, the reload type is set to manual, meaning resources must be processed by using skupper system start and skupper system reload for subsequent changes.
Procedure
-
Verify the controller is configured for auto-reload:
Check the system controller container logs:
podman logs <username>-skupper-controller # or docker logs <username>-skupper-controllerLook for the configuration line:
INFO System Reload: type=auto -
Monitor resource detection:
When the controller detects a new resource file, it logs:
Resource has been created: backend.yamlIf you donβt see this message after copying a YAML file to the
/input/resourcesdirectory, check:- The file is in the correct directory for the namespace
- The file has valid YAML syntax
- The file has correct permissions
-
Verify resource processing:
Check that files copied to the
/input/resourcesdirectory appear in the/runtime/resourcesdirectory after processing.Check the status of resources using the CLI:
skupper connector status skupper listener status skupper link status -
Review controller logs for errors:
Look for processing errors or validation failures:
podman logs <username>-skupper-controller | grep -i error # or docker logs <username>-skupper-controller | grep -i error