Creating a cluster with the same id multiple times with enabled discovery service #10268
-
I am playing around with talos.
This renders Is this normal behavior? I used https://discovery.talos.dev/inspect to list the affiliates. After step 7. or 8. there is one affiliate more. You can repeat it multiple times to get more in the list. If the discovery is disabled all is fine. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Yes, it's expected, never create clusters sharing same PKI (secrets), this doesn't make any sense in general. Long version is that you're not properly removing old cluster (with But the easiest way out is to use fresh secrets every time you create a new cluster. See documentation on proper ways to manage your machine configuration. |
Beta Was this translation helpful? Give feedback.
Yes, it's expected, never create clusters sharing same PKI (secrets), this doesn't make any sense in general.
Long version is that you're not properly removing old cluster (with
talosctl reset
), so the discovery service will hold stale data up to TTL (30 mins).But the easiest way out is to use fresh secrets every time you create a new cluster. See documentation on proper ways to manage your machine configuration.