TL;DR
Relevant log entries from hccm:
E0417 10:34:19.308084 1 route_controller.go:452] Could not create route 1af3279e-37d7-4ad4-b6c1-30a2f5aaa046 10.1.131.0/24 for node worker-nbg1-1: hcloud/CreateRoute: hcops/AllServersCache.ByName: worker-nbg1-1 hcops/AllServersCache.getCache: not found
I0417 10:34:19.308205 1 event.go:389] "Event occurred" object="worker-nbg1-1" fieldPath="" kind="Node" apiVersion="v1" type="Warning" reason="FailedToCreateRoute" message="Could not create route 1af3279e-37d7-4ad4-b6c1-30a2f5aaa046 10.1.131.0/24 for node worker-nbg1-1 after 32.457156ms: hcloud/CreateRoute: hcops/AllServersCache.ByName: worker-nbg1-1 hcops/AllServersCache.getCache: not found"
This happened after I changed the naming scheme of our nodes in hcloud, but not in Kubernetes.
hccm seems to use node names to figure out routes to add/keep/delete. IMO depending on a mutable property doesn't seem like a sensible approach. Would it be possible to somehow add a server-id annotation instead and use that?
Without some kind of DaemonSet that interacts with the metadata service (like hcloud-csi) I don't see how though.
Expected behavior
.
Observed behavior
.
Minimal working example
No response
Log output
Additional information
No response
TL;DR
Relevant log entries from hccm:
This happened after I changed the naming scheme of our nodes in hcloud, but not in Kubernetes.
hccm seems to use node names to figure out routes to add/keep/delete. IMO depending on a mutable property doesn't seem like a sensible approach. Would it be possible to somehow add a server-id annotation instead and use that?
Without some kind of DaemonSet that interacts with the metadata service (like hcloud-csi) I don't see how though.
Expected behavior
.
Observed behavior
.
Minimal working example
No response
Log output
Additional information
No response