最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

kube-api pod is in kube-system namespace while kubernetes service is in default namespace - Stack Overflow

programmeradmin1浏览0评论

why the service for api server is in default namespace instead of kube-system namespace? since kube-api pod run on kube-system namespace, why we have Kubernetes API service in default namespace?

why the service for api server is in default namespace instead of kube-system namespace? since kube-api pod run on kube-system namespace, why we have Kubernetes API service in default namespace?

Share Improve this question asked Jan 29 at 19:41 Emad KhavaninzadehEmad Khavaninzadeh 1117 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

Because when creating Kubernetes' new cluster, it has initial namespaces that help different projects, teams, or customers to share its Kubernetes cluster. The namespace for objects created by the Kubernetes system is called ‘kube-system’ which part of this core component is ‘kube-apiserver’ that exposes the Kubernetes HTTP API. Also, subdividing cluster namespaces, by default it will instantiate a ‘default’ namespace when provisioning the cluster to hold the default set of Pods, Services, and Deployments used by the cluster.

发布评论

评论列表(0)

  1. 暂无评论