Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clusterctl: put resources in the kube-system namespace instead of default #47

Closed
xmudrii opened this issue Sep 5, 2018 · 3 comments · Fixed by #77
Closed

clusterctl: put resources in the kube-system namespace instead of default #47

xmudrii opened this issue Sep 5, 2018 · 3 comments · Fixed by #77

Comments

@xmudrii
Copy link
Member

xmudrii commented Sep 5, 2018

When creating a new cluster with clusterctl, all resources are deployed in the default namespace, including controllers, but also cluster and machine objects.

This is a bad practice and we should change this ASAP. We should either use the kube-system namespace or create a new namespace for those resources.

@xmudrii
Copy link
Member Author

xmudrii commented Sep 15, 2018

I've researched little bit about this, and it doesn't seem possible currently.

As of kubernetes-sigs/cluster-api#481 it is possible to put Cluster/Machine resources in other (non-default) namespaces and it is possible to deploy machine and cluster controller is other namespace, but clusterctl will still deploy API server and etcd in the default namespace.

I'll check about this on the upstream Cluster API Implementers' Office Hours.

@xmudrii xmudrii changed the title clusterctl: put resources in the kube-system namespace instead of default [Umbrella Issue] clusterctl: put resources in the kube-system namespace instead of default Sep 15, 2018
@xmudrii
Copy link
Member Author

xmudrii commented Sep 21, 2018

To be fixed by kubernetes-sigs/cluster-api#509.

Action item: Make sure cluster and machine objects have namespace set once cluster-api dependency is updated.

@xmudrii xmudrii changed the title [Umbrella Issue] clusterctl: put resources in the kube-system namespace instead of default clusterctl: put resources in the kube-system namespace instead of default Sep 26, 2018
@xmudrii
Copy link
Member Author

xmudrii commented Sep 26, 2018

Upstream issue is now fixed. A PR will be created soon to update manifests, so all resources are created in appropriate namespace. For now, we're probably going to use the kube-system namespace.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant