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

Create a KEP for the kubeadm-kubelet integration #851

Closed
luxas opened this issue May 23, 2018 · 8 comments
Closed

Create a KEP for the kubeadm-kubelet integration #851

luxas opened this issue May 23, 2018 · 8 comments
Assignees
Labels
area/releasing kind/documentation Categorizes issue or PR as related to documentation. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete.

Comments

@luxas
Copy link
Member

luxas commented May 23, 2018

Create a KEP for #822
We also need to finally decide whether to embed the kubelet ComponentConfiguration in our config or if we should just do kubeadm init --config kubeadm.yaml --kubelet-config kubelet.yaml --kube-proxy-config kubeproxy.yaml ... for all components as the end goal.

cc @mtaufen @timothysc

@luxas luxas self-assigned this May 23, 2018
@luxas luxas added priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. kind/documentation Categorizes issue or PR as related to documentation. area/releasing labels May 23, 2018
@mtaufen
Copy link

mtaufen commented May 23, 2018 via email

@luxas
Copy link
Member Author

luxas commented May 29, 2018

Or we could just say our config file can look like this:

apiVersion: kubeadm.k8s.io/v1beta1
kind: InitConfiguration
...
---
apiVersion: kubelet.config.k8s.io/v1beta1
kind: KubeletConfiguration
...
---
apiVersion: kubeproxy.config.k8s.io/v1beta1
kind: KubeProxyConfiguration
...

@timothysc @fabriziopandini @mtaufen WDYT?

@luxas
Copy link
Member Author

luxas commented May 29, 2018

Also xref related: #847

@mtaufen
Copy link

mtaufen commented May 29, 2018

@timothysc @fabriziopandini @mtaufen WDYT?

I'm not sure I'd force everything to be in a single file. Option to slurp a dir with arbitrary files might be better.

@luxas
Copy link
Member Author

luxas commented May 29, 2018

Okay, without forcing, does it make sense to have as an option to you?

@mtaufen
Copy link

mtaufen commented May 29, 2018

Yes, allowing multiple objects in a single file makes sense to me.

@fabriziopandini
Copy link
Member

+1 to

If path=dir, Kubeadm should be able to figure out which object is for which
component based on group/kind. Same for path=yaml file with multiple
objects in it (allowing multiple object in a file without forcing it)

k8s-github-robot pushed a commit to kubernetes/kubernetes that referenced this issue Jun 6, 2018
Automatic merge from submit-queue (batch tested with PRs 64009, 64780, 64354, 64727, 63650). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

kubeadm: Update the dropin for the kubelet in v1.11

**What this PR does / why we need it**:
One of the final pieces of kubernetes/kubeadm#851, kubernetes/kubeadm#847 and kubernetes/kubeadm#822

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
(partially)
Fixes kubernetes/kubeadm#822

**Special notes for your reviewer**: Please check whether this release note makes sense to you.

**Release note**:

```release-note
[action required] The structure of the kubelet dropin in the kubeadm deb package has changed significantly.
Instead of hard-coding the parameters for the kubelet in the dropin, a structured configuration file
for the kubelet is used, and is expected to be present in `/var/lib/kubelet/config.yaml`.
For runtime-detected, instance-specific configuration values, a environment file with
dynamically-generated flags at `kubeadm init` or `kubeadm join` run time is used.
Finally, if the user wants to override something specific for the kubelet that can't be done via
the kubeadm Configuration file (which is preferred), they might add flags to the 
`KUBELET_EXTRA_ARGS` environment variable in either `/etc/default/kubelet`
or `/etc/sysconfig/kubelet`, depending on the system you're running on.
```
@kubernetes/sig-cluster-lifecycle-pr-reviews
@luxas luxas added this to the v1.12 milestone Jun 30, 2018
@timothysc timothysc removed this from the v1.12 milestone Jul 3, 2018
@timothysc
Copy link
Member

This is already in, so closing imo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/releasing kind/documentation Categorizes issue or PR as related to documentation. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete.
Projects
None yet
Development

No branches or pull requests

4 participants