Website: Issue with k8s.io/docs/setup/independent/install-kubeadm/

Created on 8 Jan 2018  ·  3Comments  ·  Source: kubernetes/website

This is a...

  • [x] Feature Request
  • [x] Bug Report

Problem:
root@ip-172-31-36-181:~# apt-get install -y kubelet kubeadm kubectl
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package kubelet
E: Unable to locate package kubeadm
E: Unable to locate package kubectl

Proposed Solution:

Page to Update:

"Installing kubeadm, kubelet and kubectl"
https://kubernetes.io/docs/setup/independent/install-kubeadm/


Most helpful comment

The full command chain is as follows:

apt-get update && apt-get install -y apt-transport-https
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -
cat <<EOF >/etc/apt/sources.list.d/kubernetes.list
deb http://apt.kubernetes.io/ kubernetes-xenial main
EOF
apt-get update
apt-get install -y kubelet kubeadm kubectl

Did you executed all commands?

All 3 comments

The full command chain is as follows:

apt-get update && apt-get install -y apt-transport-https
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -
cat <<EOF >/etc/apt/sources.list.d/kubernetes.list
deb http://apt.kubernetes.io/ kubernetes-xenial main
EOF
apt-get update
apt-get install -y kubelet kubeadm kubectl

Did you executed all commands?

Hi,

I had done mistake in command execution.
I re-did it again, now I have been able to install. Thank you for the
support.

Regards
Shruthi

On 09-Jan-2018 10:19 AM, "Qiming" notifications@github.com wrote:

The full command chain is as follows:

apt-get update && apt-get install -y apt-transport-https
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -
cat < deb http://apt.kubernetes.io/ kubernetes-xenial main
EOF
apt-get update
apt-get install -y kubelet kubeadm kubectl

Did you executed all commands?


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/kubernetes/website/issues/6880#issuecomment-356179309,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AhCYD0WI7g7NElk7tCuEEM3aOxtZk1oTks5tIu_ggaJpZM4RWfb4
.

The full command chain is as follows:

apt-get update && apt-get install -y apt-transport-https
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -
cat <<EOF >/etc/apt/sources.list.d/kubernetes.list
deb http://apt.kubernetes.io/ kubernetes-xenial main
EOF
apt-get update
apt-get install -y kubelet kubeadm kubectl

Did you executed all commands?

Hi tengqm,
Its worked for me well. Thank You.

But want to know what was exactly different with the below commands. I meant why do we need to key in separate file(kubernetes.list)

$ sudo apt-add-repository "deb http://apt.kubernetes.io/ kubernetes-xenial main"
$ sudo apt install kubeadm

Was this page helpful?
0 / 5 - 0 ratings