Extender: Convert hostnames to lowercase
disrani-px opened this issue · 0 comments
disrani-px commented
Is this a BUG REPORT or FEATURE REQUEST?:
BUG REPORT
What happened:
Drivers can return hostnames in upper case but kubernetes converts them to lower case.We try to match hostnames for the nodes where data is located. But since the names returned by the driver and kubernetes are in different cases the match fails.
What you expected to happen:
Stork should be able to match nodes with where volumes are located even if they are in uppercase.
How to reproduce it (as minimally and precisely as possible):
Use hostnames containing uppercase characters and try to schedule pods. The prioritization request will not be able to match nodes.
Anything else we need to know?:
Environment:
- Kubernetes version (use
kubectl version
): - Cloud provider or hardware configuration:
- OS (e.g. from /etc/os-release):
- Kernel (e.g.
uname -a
): - Install tools:
- Others: