Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the "kube-system" namespace for?

Tags:

In a default openshift install, there is an unused project titled kube-system. It seems like openshift-infra is for things like metrics, default is for the router and registry, and openshift is for global templates.

What is the kube-system project used for though? I can't find any docs on it.

like image 765
thisguy123 Avatar asked May 15 '17 19:05

thisguy123


People also ask

What is the use of kube-system namespace?

kube-public This namespace is created automatically and is readable by all users (including those not authenticated). This namespace is mostly reserved for cluster usage, in case that some resources should be visible and readable publicly throughout the whole cluster.

What are the pods in kube-system namespace?

kube-system is the namespace for objects created by the Kubernetes system. Typically, this would contain pods like kube-dns , kube-proxy , kubernetes-dashboard and stuff like fluentd, heapster, ingresses and so on. So these types of pods would be deployed by the cluster admin post install?

Why namespaces are important in Kubernetes?

A Kubernetes namespace helps separate a cluster into logical units. It helps granularly organize, allocate, manage, and secure cluster resources. Here are two notable use cases for Kubernetes namespaces: Apply policies to cluster segments—Kubernetes namespaces let you apply policies to different parts of a cluster.

Can you create a pod without a namespace?

You can deploy resources like pods within specific namespaces as needed. Note that if you create a pod without specifying a namespace in kubectl or within a YAML file, Kubernetes will place that pod within the existing active namespace.


1 Answers

kube-system is the namespace for objects created by the Kubernetes system.

Typically, this would contain pods like kube-dns, kube-proxy, kubernetes-dashboard and stuff like fluentd, heapster, ingresses and so on.

like image 190
bartimar Avatar answered Sep 28 '22 09:09

bartimar