File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
content/en/docs/concepts/overview/working-with-objects Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -101,6 +101,21 @@ across namespaces, you need to use the fully qualified domain name (FQDN).
101
101
As a result, all namespace names must be valid
102
102
[ RFC 1123 DNS labels] ( /docs/concepts/overview/working-with-objects/names/#dns-label-names ) .
103
103
104
+ {{< warning >}}
105
+ By creating namespaces with the same name as [ public top-level
106
+ domains] ( https://data.iana.org/TLD/tlds-alpha-by-domain.txt ) , Services in these
107
+ namespaces can have short DNS names that overlap with public DNS records.
108
+ Workloads from any namespace performing a DNS lookup without a [ trailing dot] ( https://datatracker.ietf.org/doc/html/rfc1034#page-8 ) will
109
+ be redirected to those services, taking precedence over public DNS.
110
+
111
+ To mitigate this, limit privileges for creating namespaces to trusted users. If
112
+ required, you could additionally configure third-party security controls, such
113
+ as [ admission
114
+ webhooks] ( /docs/reference/access-authn-authz/extensible-admission-controllers/ ) ,
115
+ to block creating any namespace with the name of [ public
116
+ TLDs] ( https://data.iana.org/TLD/tlds-alpha-by-domain.txt ) .
117
+ {{< /warning >}}
118
+
104
119
## Not All Objects are in a Namespace
105
120
106
121
Most Kubernetes resources (e.g. pods, services, replication controllers, and others) are
You can’t perform that action at this time.
0 commit comments