-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
Describe the bug
The havener-usage-retriever pods fail to be scheduled because the node selector assumes that the kubernetes.io/hostname label contains the node name, which is not always the case.
To Reproduce
Steps to reproduce the behavior:
- Run
havener top - Look at the events (e.g.
havener events) - There are events like this:
Warning kube-system/havener-usage-retriever-ip-111-222-333-444.xx.compute.internal FailedScheduling 0/11 nodes are available: 11 node(s) didn't match Pod's node affinity.
Expected behavior
The pod should be correctly scheduled.
Additional context
In my case, the cluster is on EKS and it was created with eksctl.
The kubernetes.io/hostname label contains the hostname (ip-111-222-333-444) while the node name is the FQDN.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels