Welcome to the Linux Foundation Forum!

LFS258 - Lab 3.1 - Install Kubernetes - Step 6 is not clear

Hello, I have followed the steps 1-5 on kubernetes installation using kubeadm but I have not been able to proceed from step 6. I actually do not know what to do, what code to use from GitHub. What do I put in the file when it is opened because it is empty.

Kindly help as this step is not self explanatory.

Thank you.

  1. Add a new repo for kubernetes. You could also download a tar file or use code from GitHub. Create the file and add an
    entry for the main repo for your distribution. We are using the Ubuntu 18.04 but the kubernetes-xenial repo of the
    software, also include the key word main. Note there are four sections to the entry.

root@cp:˜# vim /etc/apt/sources.list.d/kubernetes.list
1 deb http://apt.kubernetes.io/ kubernetes-xenial main

Best Answer

  • serewicz
    serewicz Posts: 1,000
    Answer ✓

    Hello,

    The rest of the step tells you exactly what to do. Note where it has the command vim and indicates what to add to the file? As the step states, there are several ways to get the Kubernetes software. We are adding a repo.

    Regards,

Answers

Categories

Upcoming Training