简体   繁体   English

Kubernetes Nginx Ingress Controller 应该在什么命名空间中?

[英]What namespace should the Kubernetes Nginx Ingress Controller be in?

In this example on the Kubernetes Ingress git repo , I see that the default-backend service and the Nginx Ingress controller are deployed in the kube-system namespace.Kubernetes Ingress git repo 的这个示例中,我看到 default-backend 服务和 Nginx Ingress 控制器部署在 kube-system 命名空间中。 But in this example regarding static-ip , they don't specify the kube-system namespace.但是在这个关于 static-ip 的例子中,他们没有指定 kube-system 命名空间。

And for both of those examples, I've found that placing Ingress itself (nginx-ingress.yaml) in the default namespace works.对于这两个示例,我发现将 In​​gress 本身 (nginx-ingress.yaml) 放在默认命名空间中是可行的。

Should I be putting things in the kube-system namespace?我应该把东西放在 kube-system 命名空间中吗? And more generally, what is the significance of the kube-system namespace?更一般地说,kube-system 命名空间的意义是什么?

This other StackOverflow question is the only other thing I've found talking about the kube-system namespace. 这个 StackOverflow 问题是我发现的唯一关于 kube-system 命名空间的问题。

kube-system is just a namespace as any other. kube-system只是一个命名空间。 It is usualy created by default though, and most people put cluster related stuff in it.它通常是默认创建的,大多数人将与集群相关的东西放在其中。 Although ie.虽然即。 you will fine a kubernetes.default service anyway.无论如何,你会罚款kubernetes.default服务。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM