Skip to content

Programmatically register a cluster with Sveltos #736

Answered by gianlucam76
gianlucam76 asked this question in Q&A
Discussion options

You must be logged in to vote

It is possible to register a cluster with Sveltos without using sveltosctl.

To programmatically register clusters with Sveltos, create the following resources in the desired namespace:

  • Secret: Store the kubeconfig of the managed cluster in the data section under the key "kubeconfig."
  • SveltosCluster: Represent your cluster as an SveltosCluster instance.

Consult the documentation for more detailed info.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by gianlucam76
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant