Skip to content

Commit

Permalink
Merge pull request #201 from rmweir/use-platform-commands
Browse files Browse the repository at this point in the history
Use vcluster platform connect
  • Loading branch information
deniseschannon authored Jul 19, 2024
2 parents 66890bf + e607f80 commit 45c435a
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,19 @@ The easiest way to retrieve a kubeconfig for your virtual cluster is by using th
You can update your current kubeconfig on your local machine by running the following command:

```bash
vcluster connect my-vcluster --project my-project
vcluster platform connect my-vcluster
```

If you want to print the kubeconfig file, you can append `--print` to the command:

```bash
vcluster connect my-vcluster --project my-project --print
vcluster platform connect my-vcluster --print
```

:::info
If you have multiple vclusters with the same name, a sub-menu will be presented that allows you to specify the vcluster by project.
:::

:::info
If you have direct [cluster endpoints](../../clusters/advanced/multi-region-mode.mdx) or
[ingress endpoints for virtual clusters](../advanced/ingress-access/)
Expand Down

0 comments on commit 45c435a

Please sign in to comment.