Link generate command

Generate a Link resource for use in a remote site.

Generating a link requires a site with link access enabled. The command waits for the site to enter the ready state before producing the link.

PlatformsKubernetes, Docker, Podman, Linux

Usage

skupper link generate [name] [options]

Examples

# Generate a Link resource and print it to the console
$ skupper link generate
apiVersion: skupper.io/v2alpha1
kind: Link
metadata:
  name: south-ac619
spec:
  endpoints:
    - group: skupper-router-1
      host: 10.97.161.185
      name: inter-router
      port: "55671"
    - group: skupper-router-1
      host: 10.97.161.185
      name: edge
      port: "45671"
  tlsCredentials: south-ac619
---
apiVersion: v1
kind: Secret
type: kubernetes.io/tls
metadata:
  name: south-ac619
data:
  ca.crt: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURKekNDQWcrZ0F3SUJB [...]
  tls.crt: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURORENDQWh5Z0F3SUJ [...]
  tls.key: LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpNSUlFb3dJQkFBS0N [...]

# Generate a Link resource and direct the output to a file
$ skupper link generate > link.yaml

Primary options

[name]

string
optional

The name of the resource to be generated. A name is generated if none is provided.

PlatformsKubernetes, Docker, Podman, Linux
See alsoKubernetes object names

Global options

Notes

Should the default generated link have useClientCert: true?