Closed sergelogvinov closed 1 day ago
We do not delete the Endpoints
resource ever after it was created. Are you sure you are targeting the correct cluster?
Are you sure that there was the Endpoints
resource ever?
Can you please check the machine configs of your control plane nodes to verify that machine.features.kubernetesTalosAPIAccess.enabled
is true
in all of them?
Which CNI are you using?
I have terraform setup, and it works well with talos v1.3.6. I've just replaced base image to v1.4.2, and reinstall the cluster. After that Talos CCM does not work, it cannot connect to the talos-api.
So, kubernetes api does not change, only talos image has changed.
Talos creates service and update endpoint [talos] updated Talos API endpoints
but after something happened.
features:
rbac: true
stableHostname: true
kubernetesTalosAPIAccess:
enabled: true
allowedRoles:
- os:reader
allowedKubernetesNamespaces:
- kube-system
apidCheckExtKeyUsage: true
I'm not able to reproduce this. The last log line [talos] updated Talos API endpoints
is only printed if the endpoints is created, and it will never be deleted afterwards - even if you disable back the feature.
Please share if you have any further findings. If you could share the exact steps to reproduce, that'd be great.
I wonder if that's inadvertent upgrade of Kubernetes as well, i.e. Kubernetes version is not set in the machine config?
What is in the kubectl get ... -o yaml
output? My understanding of the issue is that the endpoint no longer is attached to the service?
@utkuozdemir I talked to Serge today, and the issue looks like that Talos updates the endpoints resource (or it prints that it does), but the endpoint resource gets lost. This happens in a single controlplane node cluster, where the node in theory does this exactly once.
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days.
probably it was fixed...
Bug Report
Description
We lost endpoint resource of
talos.default.svc
This is my fist try of v1.4.x talos version, I do not know when we lost it...Logs
Environment