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

it should be trivial to se set alternative config path (not /etc/kubernetes) #232

Closed
errordeveloper opened this issue Apr 10, 2017 · 0 comments · Fixed by kubernetes/kubernetes#45008

Comments

@errordeveloper
Copy link
Member

I'm using kubeadm on system where /etc is mounted read-only, and it was non-trivial to set alternative config path.

Namely, I had to do this:

env KUBE_KUBERNETES_DIR=/var/lib/kubeadm kubeadm init --skip-preflight-checks --kubernetes-version v1.6.1 --cert-dir /var/lib/kubeadm/pki

It should be just one argument. The main question is – why do we have separate --cert-dir flag?

There other good reasons why someone may wish to configure alternative path for configuration.

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

Successfully merging a pull request may close this issue.

1 participant