Hacker News new | ask | show | jobs
by tomnipotent 2220 days ago
To be fair, I don't see how this could be shorter in any other language without losing readability.
2 comments

You don't have to. Kubernetes should just say "required" here, and the documentation should say "Warning: this is only checked during scheduling."

printf isn't named printIntoBufferWhichMayNotFlushUntilLinefeed, and people are fine with it.

I believe there may have been a plan to allow checks during runtime at some point; although this feature is no longer necessary since https://github.com/kubernetes-sigs/descheduler#removeduplica... can do it.
They could have used: soft, hard and strict with the documentation explaining the differences.