Welcome to the Linux Foundation Forum!

Lab 20.1-2 not working

First you get error because of taint then if you fix that you get error for failing to setup network.
I run fedora with virtualbox where i create an ubuntu 20.04 LTS machine.
Please make sure the steps actually work.

Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Warning FailedScheduling 5m40s (x2 over 10m) default-scheduler 0/1 nodes are available: 1 node(s) had untolerated taint {node-role.kubernetes.io/control-plane: }. preemption: 0/1 nodes are available: 1 Preemption is not helpful for scheduling.
Normal Scheduled 44s default-scheduler Successfully assigned default/prometheus-698c56bdb8-hqnx9 to lfs
Warning FailedCreatePodSandBox 43s kubelet Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "d034dcaed0911374218a89637905e7bcda4c32636d4555fbe9a3413c7a8f80b3": failed to find network info for sandbox "d034dcaed0911374218a89637905e7bcda4c32636d4555fbe9a3413c7a8f80b3"
Warning FailedCreatePodSandBox 28s kubelet Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "52dbba78cb8cd9c750bd2bcc71dae23be9fb2ef4846f44fe3a16a08bb37aa7c5": failed to find network info for sandbox "52dbba78cb8cd9c750bd2bcc71dae23be9fb2ef4846f44fe3a16a08bb37aa7c5"
Warning FailedCreatePodSandBox 16s kubelet Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "9f8d47bde9736cb5ff97ed7c5613a4e4bcd7a243ee2d2bd5cee50339ec9890c7": failed to find network info for sandbox "9f8d47bde9736cb5ff97ed7c5613a4e4bcd7a243ee2d2bd5cee50339ec9890c7"

Comments

  • Posts: 2,443

    Hi @wiseoak,

    I would recommend removing the second taint found on the control plane node with the following command:

    kubectl taint nodes --all node-role.kubernetes.io/control-plane-

    This taint can be found on clusters running Kubernetes version 1.24, that was recently released. This change, together with a few other critical changes, are impacting the installation steps which consistently worked for quite some time now.

    Regards,
    -Chris

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training