Welcome to the Linux Foundation Forum!

fatal errors with installing

i really do not know where else to ask...

after finishing the LF101 Course i made half of the introduction to kubernetes, now i switched to this course and well...i have installed minkube v1.34.2 and now i have fatal errors ..see picture....a teamviewer session would be a great help...but well....i guess i have to do it all again...maybe with a another machine...sorry this is disturbing..trying to get forward...well last but not least..these pdf are really more hard to copy than in the introduction course to kubernetes....have a good day kubernetes admins

regards bernhard

Best Answers

  • chrispokorni
    chrispokorni Posts: 2,544
    Answer ✓

    Hi @austrianadmin,

    As you may have observed by now, each training course has its own strict environment requirements, and with that very distinct installation and configuration activities.

    Mixing environments between courses is adversely impacting your progress. LFS258 assumes a clean setup on two clean VMs (cloud or local) - this avoids any conflicts with Minikube Kubernetes and other tools you may have installed. And, if the VMs get damaged beyond repair, they can be re-provisioned, allowing for a fresh new install of Kubernetes and its dependencies.

    An observation from the output attached above: running kubeadm init several times in sequence will not help your case, it will only produce the same errors over and over. A kubeadm reset is recommended after a failed init to clean the environment. Also, ensure you follow the strict versioning schema from the LFS258 installation section, to avoid any conflicts and/or compatibility issues.

    Regards,
    -Chris

  • chrispokorni
    chrispokorni Posts: 2,544
    Answer ✓

    Hi @austrianadmin,

    Per the Overview section in Lab exercise 3.1: Install Kubernetes, the recommended guest OS for the virtual environment is Ubuntu 24.04 LTS. This OS can be installed on two Virtual Machines, either cloud instances (AWS, Azure, Digital Ocean, Google Cloud, IBM Cloud, etc.) or local VMs (VirtualBox, KVM, Hyper-V, or other hypervisors that are supported by your host system).

    If you prefer to deviate from the recommended setup and use a different guest OS on your Virtual Machines, then you need to find the software packages, gpg keys, and package manager source lists that are specific to the OS of your choice.

    Keep in mind, however, that the lab exercises have been tested on Ubuntu 24.04 LTS, but not on other distributions.

    While the host system OS can be Windows, MacOS, or a Linux distribution (Debian, etc.), the Virtual Machines hosting your lab environment would need to be running Ubuntu 24.04 LTS.

    Regards,
    -Chris

Answers

  • Hi Chris,
    thanks to your advise i deleteted the minikube, and started again writing the commands carefully, this was fine until....12. Install the containerd software.
    root@cp: ̃# apt-get update && apt-get install containerd.io -y.....root@feldi2:/home/feldi2# sudo apt-get install containerd.io
    E: malform entry 1 in list Datei /etc/apt/sources.list.d/docker.list (URI parse)
    E: Die Liste der Quellen konnte nicht gelesen werden.(the list of the sources can not be read)
    tried with cat....
    root@feldi2:/home/feldi2# cat /etc/apt/sources.list.d/docker.list
    deb [arch=amd64 signed-by=/etc/apt/keyrings/docker.gpg] \ https://download.docker.com/linux/ubuntu \ bookworm stable.....so my question is it because i have debian and not ubuntu?....otherwise i have no idea how to fix this.....after finishing the 101 course,i should have first done the linux sysadmin course and then the kubernetes admin, sorry for my questions...

    regards bernhard

Categories

Upcoming Training