Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
ssorj committed Dec 8, 2024
1 parent 241d12c commit 5e43674
Show file tree
Hide file tree
Showing 14 changed files with 56 additions and 42 deletions.
3 changes: 3 additions & 0 deletions config/commands/debug.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ description: |
Display help for debug commands and exit.
include_options: [global/*]
subcommands:
- name: diagnose
description: |
XXX
- name: dump
links: [skupper/debug_dumps]
description: |
Expand Down
2 changes: 1 addition & 1 deletion config/commands/index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ groups:
- title: System operations
commands:
- system
- title: Debug operations
- title: Debugging operations
commands:
- debug
- title: Other operations
Expand Down
8 changes: 4 additions & 4 deletions config/resources/link.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ spec:
- name: tlsCredentials
links: [skupper/router_tls, kubernetes/tls_secrets, skupper/system_tls_credentials]
description: |
The name of a bundle of TLS certificates and keys used for
secure router-to-router communication. The bundle
contains the trusted server certificate. It optionally
includes a client certificate and key for mutual TLS.
The name of a bundle of certificates used for mutual TLS
router-to-router communication. The bundle contains the
client certificate and key and the trusted server certificate
(usually a CA).
On Kubernetes, the value is the name of a Secret in the
current namespace.
Expand Down
11 changes: 6 additions & 5 deletions config/resources/listener.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,13 @@ spec:
group: advanced
links: [skupper/application_tls, kubernetes/tls_secrets, skupper/system_tls_credentials]
description: |
The name of a bundle of TLS certificates and keys used for
secure client-to-router communication. The bundle contains
the trusted server certificate.
The name of a bundle of TLS certificates used for secure
client-to-router communication. The bundle contains the
server certificate and key. It optionally includes the
trusted client certificate (usually a CA) for mutual TLS.
On Kubernetes, the value is the name of a Secret in the current
namespace.
On Kubernetes, the value is the name of a Secret in the
current namespace.
On Docker, Podman, and Linux, the value is the name of a
directory under `input/certs/` in the current namespace.
Expand Down
8 changes: 4 additions & 4 deletions config/resources/properties.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,10 @@ connector/spec/tlsCredentials:
group: advanced
links: [skupper/application_tls, kubernetes/tls_secrets, skupper/system_tls_credentials]
description: |
The name of a bundle of TLS certificates and keys used for
secure router-to-server communication. The bundle contains the
trusted server certificate. It optionally includes a client
certificate and key for mutual TLS.
The name of a bundle of TLS certificates used for secure
router-to-server communication. The bundle contains the trusted
server certificate (usually a CA). It optionally includes a
client certificate and key for mutual TLS.
On Kubernetes, the value is the name of a Secret in the current
namespace.
Expand Down
8 changes: 4 additions & 4 deletions config/resources/router-access.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ spec:
- name: tlsCredentials
links: [skupper/router_tls, kubernetes/tls_secrets, skupper/system_tls_credentials]
description: |
The name of a bundle of TLS certificates and keys used for
secure router-to-router communication. The bundle
contains the trusted server certificate. It optionally
includes a client certificate and key for mutual TLS.
The name of a bundle of TLS certificates used for mutual TLS
router-to-router communication. The bundle contains the
server certificate and key and the trusted client certificate
(usually a CA).
On Kubernetes, the value is the name of a Secret in the
current namespace.
Expand Down
2 changes: 2 additions & 0 deletions input/commands/debug/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ skupper debug [subcommand] [options]
## Subcommands

<table class="objects">
<tr><th><a href="diagnose.html">Debug diagnose</a></th><td><p>XXX</p>
</td></tr>
<tr><th><a href="dump.html">Debug dump</a></th><td><p>Generate a debug dump file</p>
</td></tr>
</table>
Expand Down
4 changes: 3 additions & 1 deletion input/commands/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,12 @@ refdog_object_links:
</table>


#### Debug operations
#### Debugging operations

<table class="objects">
<tr><th><a href="{{site_prefix}}/commands/debug/index.html">Debug</a></th><td>Overview of debug commands</td></tr>
<tr><th><a href="{{site_prefix}}/commands/debug/diagnose.html">Debug diagnose</a></th><td><p>XXX</p>
</td></tr>
<tr><th><a href="{{site_prefix}}/commands/debug/dump.html">Debug dump</a></th><td><p>Generate a debug dump file</p>
</td></tr>
</table>
Expand Down
8 changes: 4 additions & 4 deletions input/resources/attached-connector.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,10 +166,10 @@ If true, expose each pod as an individual service.
</div>
<div class="attribute-body">

The name of a bundle of TLS certificates and keys used for
secure router-to-server communication. The bundle contains the
trusted server certificate. It optionally includes a client
certificate and key for mutual TLS.
The name of a bundle of TLS certificates used for secure
router-to-server communication. The bundle contains the trusted
server certificate (usually a CA). It optionally includes a
client certificate and key for mutual TLS.

On Kubernetes, the value is the name of a Secret in the current
namespace.
Expand Down
8 changes: 4 additions & 4 deletions input/resources/connector.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,10 +207,10 @@ If true, expose each pod as an individual service.
</div>
<div class="attribute-body">

The name of a bundle of TLS certificates and keys used for
secure router-to-server communication. The bundle contains the
trusted server certificate. It optionally includes a client
certificate and key for mutual TLS.
The name of a bundle of TLS certificates used for secure
router-to-server communication. The bundle contains the trusted
server certificate (usually a CA). It optionally includes a
client certificate and key for mutual TLS.

On Kubernetes, the value is the name of a Secret in the current
namespace.
Expand Down
8 changes: 4 additions & 4 deletions input/resources/link.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,10 @@ the link.
</div>
<div class="attribute-body">

The name of a bundle of TLS certificates and keys used for
secure router-to-router communication. The bundle
contains the trusted server certificate. It optionally
includes a client certificate and key for mutual TLS.
The name of a bundle of certificates used for mutual TLS
router-to-router communication. The bundle contains the
client certificate and key and the trusted server certificate
(usually a CA).

On Kubernetes, the value is the name of a Secret in the
current namespace.
Expand Down
11 changes: 6 additions & 5 deletions input/resources/listener.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,12 +174,13 @@ If true, expose each pod as an individual service.
</div>
<div class="attribute-body">

The name of a bundle of TLS certificates and keys used for
secure client-to-router communication. The bundle contains
the trusted server certificate.
The name of a bundle of TLS certificates used for secure
client-to-router communication. The bundle contains the
server certificate and key. It optionally includes the
trusted client certificate (usually a CA) for mutual TLS.

On Kubernetes, the value is the name of a Secret in the current
namespace.
On Kubernetes, the value is the name of a Secret in the
current namespace.

On Docker, Podman, and Linux, the value is the name of a
directory under `input/certs/` in the current namespace.
Expand Down
8 changes: 4 additions & 4 deletions input/resources/router-access.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,10 @@ include "inter-router" for links between interior routers and
</div>
<div class="attribute-body">

The name of a bundle of TLS certificates and keys used for
secure router-to-router communication. The bundle
contains the trusted server certificate. It optionally
includes a client certificate and key for mutual TLS.
The name of a bundle of TLS certificates used for mutual TLS
router-to-router communication. The bundle contains the
server certificate and key and the trusted client certificate
(usually a CA).

On Kubernetes, the value is the name of a Secret in the
current namespace.
Expand Down
9 changes: 7 additions & 2 deletions input/topics/debug-dumps.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
# Debug dumps

- The purpose of a debug dump is to package up details of a site so
another party can identify and fix a problem.
- The purpose of a debug dump is to package up the details of a site
so another party can identify and fix a problem.
- A dump is a tarball containing various files with the site details.
- Key elements include site resources and status; component versions,
config files, and logs; and info about the environment where Skupper
is running.

- Should we include workloads in the namespace? Services, deployments, pods?
- .txt file summaries for some things?
- What details about the overall network should we get?
- Links from other sites?

~~~
versions.yaml # Same as the output of 'skupper version --output yaml'
platform.yaml # Info about the platform and namespace hosting the site
Expand Down

0 comments on commit 5e43674

Please sign in to comment.