I see the following code in
https://github.com/kubernetes/kubernetes/blob/v1.2.4/pkg/api/types.go#L150:
// NamespaceSystem is the system namespace where we place *system
components*.
NamespaceSystem string = "kube-system"
So the purpose of this namespace is to place system components. But I am
not sure what are the system components, are kube-dns, dashboard and other
add-ons system components?
On Thursday, May 26, 2016 at 11:05:52 PM UTC+8, Matthias Rampke wrote:
>
> Hey,
>
> as far as Kubernetes is concerned, it is not special.
>
> The namespace is created when the cluster addons are deployed into the
> cluster; and some addons (namely, the logging ones) assume that it is so.
> Others, like DNS, don't care, for them it's just a namespace. If you really
> wanted to, you could modify all addons to use a different namespace, and
> never create kube-system, or even deploy each addon into its own
> namespace.[0]
>
> Pods in that namespace are not scheduled differently.
>
> /MR
>
>
>
> [0] this is only true in self-managed clusters – in GKE for example they
> are managed for you and you can't modify them.
>
>
> On Thu, May 26, 2016 at 2:17 PM, Qian Zhang <[email protected]
> <javascript:>> wrote:
>
>> Hi,
>>
>> It seems "kube-system" namespace will be created by default, can anyone
>> let me know what its main purpose is?
>> I see both kube-dns and dashboard should be created in "kube-system"
>> namespace, but I do not know why. Is it because kube-dns and dashboard
>> should be running on the master rather than on a node?
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Containers at Google" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected]
>> <javascript:>.
>> Visit this group at https://groups.google.com/group/google-containers.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Matthias Rampke
> Engineer
>
> SoundCloud Ltd. | Rheinsberger Str. 76/77, 10115 Berlin, Germany | +49
> 173 6395215
> Managing Director: Alexander Ljung | Incorporated in England & Wales with
> Company
> No. 6343600 | Local Branch Office | AG Charlottenburg | HRB 110657B
>
--
You received this message because you are subscribed to the Google Groups
"Containers at Google" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-containers.
For more options, visit https://groups.google.com/d/optout.