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

Ensure /etc/kubernetes exists following Kubelet inlining #615

Merged
merged 1 commit into from
Jan 7, 2020

Conversation

dghubble
Copy link
Member

@dghubble dghubble commented Jan 7, 2020

  • Inlining the Kubelet service removed the need for the kubelet.env file declared in Ignition. However, on some platforms, this removed the guarantee that /etc/kubernetes exists at boot. Bare-Metal and DigitalOcean distribute the Kubelet kubeconfig through Terraform file provisioner (scp) and place it in (now missing) /etc/kubernetes (failing)
  • Fix bare-metal and DigitalOcean Ignition to ensure the /etc/kubernetes directory exists following first boot from disk
  • Cloud platforms with worker pools distribute the kubeconfig through Ignition user data (no impact or need)

Closes #612

* Inlining the Kubelet service removed the need for the
kubelet.env file declared in Ignition. However, on some
platforms, this removed the guarantee that /etc/kubernetes
exists. Bare-Metal and DigitalOcean distribute the kubelet
kubeconfig through Terraform file provisioner (scp) and
place it in (now missing) /etc/kubernetes
* #606
* Fix bare-metal and DigitalOcean Ignition to ensure the
desired directory exists following first boot from disk
* Cloud platforms with worker pools distribute the kubeconfig
through Ignition user data (no impact or need)
@dghubble dghubble merged commit 0223b31 into master Jan 7, 2020
@dghubble dghubble deleted the fix-metal-do-copy-secrets branch January 7, 2020 05:51
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 this pull request may close these issues.

cannot move '/home/core/kubeconfig' to '/etc/kubernetes/kubeconfig': No such file or directory
1 participant