sveltos is ok join cluster but after a few fimes the connnect to cluster fialed,using kamaji control plane because of this? #1528
Replies: 11 comments
-
|
Hi @13567436138 I am not sure I get the issue. Sveltos and Kamaji works well together. Sveltos is actually part of Clastix (company behind Kamaji) premium solution. Here I get the Kubeconfig expired. When you register a cluster with Sveltos you are likely passing a Kubeconfig based on a token with expiration. When token expires, kubeconfig is not good anymore. |
Beta Was this translation helpful? Give feedback.
-
|
it is not wright just a few hours,it become can not access,I think the token is not renewed current |
Beta Was this translation helpful? Give feedback.
-
|
Sveltos has the ability to automatically renew it for you. Documentation is available. You need to set in the SveltosCluster instance manually. At this point you need to register cluster again with a valid kubeconfig. |
Beta Was this translation helpful? Give feedback.
-
|
tokentimeout 0s means net timeout? |
Beta Was this translation helpful? Give feedback.
-
|
Assuming on the managed cluster the serviceAccount exits (pick the one you want to use otherwise)
|
Beta Was this translation helpful? Give feedback.
-
|
kamaji and sveltos not mature enough,kamaji control plane some times restarted |
Beta Was this translation helpful? Give feedback.
-
recently deploy by sveltos app disappeared
|
Beta Was this translation helpful? Give feedback.
-
is sa not set ok? |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
Im not sure im following. When you register a cluster with sveltos you pass a kubeconfig. As long as that kubeconfig is valid sveltos can access the managed cluster. If the kubeconfig you passed sveltos has an expiration time you either renew it before ot expires or you set sveltos to automatically renew it for you. Likely I am missing something on what your issue is |
Beta Was this translation helpful? Give feedback.
-
|
Also I suggest setting sa namespace/name on the token renewal section. By default this is what sveltos does to figure out which sa to use for token renewal ` ` |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
Beta Was this translation helpful? Give feedback.
All reactions