When Default is not the default

“NOTE”:ed in documentation I was looking at today…


NOTE: “Default” is not the default DNS policy. If dnsPolicy is not explicitly specified, then “ClusterFirst” is used.

This is the sort of thing that should _not_ pass muster for code-review. Kudos to whoever recognized the issue and at least put it in documentation. But there oughta be a kubernetes GitHub issue out there somewhere to fix the above. And no, telling me that it’s been released this way and thus must be maintained is not an acceptable argument. Deprecate the word ‘Default’, if you must. If the default is not actually that, then the impact is likely small. ‘Default’ could become ‘InheritFromNode’ or ‘Inherited’ or …

A little bit of Google digging found a related, but not quite what I mean GitHub issue. Grumble, grumble, growl….

Leave a Reply

Your email address will not be published. Required fields are marked *