Y
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
yongjik
2220 days ago
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.
link
dharmab
2219 days ago
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.
link
kerny
2218 days ago
They could have used: soft, hard and strict with the documentation explaining the differences.
link
printf isn't named printIntoBufferWhichMayNotFlushUntilLinefeed, and people are fine with it.