railgrid connect
Point kubectl at a Kubernetes edge
Synopsis
Add a kubeconfig context named railgrid-<edge> for the edge’s Kubernetes API (reached through the hub’s edge proxy with your hub credentials) and make it the current context, so plain kubectl talks to that cluster:
railgrid connect my-cluster
kubectl get nodes
railgrid disconnect # back to the hub workspaceWithout an argument an interactive picker lists the connected clusters. The context stays in your kubeconfig; switch between edges with ‘kubectl config use-context railgrid-<edge>’ or connect again.
railgrid connect [<edge>] [flags]Options
-h, --help help for connectInherited options
--insecure-skip-tls-verify Skip TLS certificate verification when talking to the hub
--kubeconfig string Path to the kubeconfig file (default: $KUBECONFIG, then ~/.kube/config)See also
- railgrid — railgrid: an open-source control plane for platform teams