Welcome to the Linux Foundation Forum!

Lab 3.1 - Exercise 23 - Error installing Cilium CNI

Hi everyone,

I'm stuck in the exercise 23 from Lab 3.1 (pdf LFS258 Kubernetes Fundamentals Version 2023-09-14). After executing the command to install clinium-cni, a mensage came up saying the connection to localhost:8080 was refused:

ubuntu@ip-172-31-54-32:~$ sudo -i
root@ip-172-31-54-32:~# find $HOME -name cilium-cni.yaml
root@ip-172-31-54-32:~# kubectl apply -f /home/root/LFS258/SOLUTIONS/s_03/cilium-cni.yaml
The connection to the server localhost:8080 was refused - did you specify the right host or port?

I'm using putty to ssh an instance in AWS.


  • chrispokorni
    chrispokorni Posts: 2,012

    Hi @jordanofried,

    Please follow steps 22 and 23 from the lab guide, exit the root shell as instructed, set the .kube/config file and install cilium as the regular user on the control plane system, not as root.



Upcoming Training