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

Kubelet service installation on container Linux - fails for v1.18 #89658

Closed
chorus12 opened this issue Mar 30, 2020 · 3 comments
Closed

Kubelet service installation on container Linux - fails for v1.18 #89658

chorus12 opened this issue Mar 30, 2020 · 3 comments
Labels
kind/documentation Categorizes issue or PR as related to documentation. sig/cluster-lifecycle Categorizes an issue or PR as relevant to SIG Cluster Lifecycle.

Comments

@chorus12
Copy link

What happened: Installation documentation is incorrect

What you expected to happen:
When installed for container linux according to the link - https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/
the kubelet service does not work.

The problem is in the code below:
curl -sSL "https://raw.githubusercontent.com/kubernetes/kubernetes/${RELEASE}/build/debs/kubelet.service" | sed "s:/usr/bin:/opt/bin:g" > /etc/systemd/system/kubelet.service mkdir -p /etc/systemd/system/kubelet.service.d curl -sSL "https://raw.githubusercontent.com/kubernetes/kubernetes/${RELEASE}/build/debs/10-kubeadm.conf" | sed "s:/usr/bin:/opt/bin:g" > /etc/systemd/system/kubelet.service.d/10-kubeadm.conf

the location https://raw.githubusercontent.com/kubernetes/kubernetes/v1.18.0/buld/debs/kubelet.service
https://raw.githubusercontent.com/kubernetes/kubernetes/v1.18.0/build/debs/10-kubeadm.conf
does not contain the file and if files are taken, let's say from v1.16.4 release - that does not work and the service fails to start.

@chorus12 chorus12 added the kind/bug Categorizes issue or PR as related to a bug. label Mar 30, 2020
@k8s-ci-robot k8s-ci-robot added the needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. label Mar 30, 2020
@chorus12
Copy link
Author

/sig Docs

@k8s-ci-robot k8s-ci-robot added sig/docs Categorizes an issue or PR as relevant to SIG Docs. and removed needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. labels Mar 30, 2020
@neolit123
Copy link
Member

When installed for container linux according to the link - https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/

the location of the files changed.
you can download them from here:
https://github.com/kubernetes/release/tree/master/cmd/kubepkg/templates/latest

xref
#88832

/remove-sig docs
/sig cluster-lifecycle
/remove-kind bug
/kind documentation

logged this k/kubeadm issue:
kubernetes/kubeadm#2097

/close

@k8s-ci-robot k8s-ci-robot added sig/cluster-lifecycle Categorizes an issue or PR as relevant to SIG Cluster Lifecycle. kind/documentation Categorizes issue or PR as related to documentation. and removed sig/docs Categorizes an issue or PR as relevant to SIG Docs. kind/bug Categorizes issue or PR as related to a bug. labels Mar 30, 2020
@k8s-ci-robot
Copy link
Contributor

@neolit123: Closing this issue.

In response to this:

When installed for container linux according to the link - https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/

the location of the files changed.
you can download them from here:
https://github.com/kubernetes/release/tree/master/cmd/kubepkg/templates/latest

xref
#88832

/remove-sig docs
/sig cluster-lifecycle
/remove-kind bug
/kind documentation

logged this k/kubeadm issue:
kubernetes/kubeadm#2097

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/documentation Categorizes issue or PR as related to documentation. sig/cluster-lifecycle Categorizes an issue or PR as relevant to SIG Cluster Lifecycle.
Projects
None yet
Development

No branches or pull requests

3 participants