Comments on How to Setup Kubernetes Cluster with Kubeadm on Ubuntu 22.04

Kubernetes or k8s is an open-source platform for container orchestration that automates deployments, management, and scaling of containerized applications. In this tutorial. I will show you how to set up a Kubernetes cluster on Ubuntu 22.04.

5 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Stan92

Hi,Thanks for your tuto.. I got an error -bash: /etc/containerd/config.toml: Permission denied (with this command sudo containerd config default > /etc/containerd/config.toml)

By: João Millheiro

Hi.

Try this:

sudo containerd config default |sudo tee /etc/containerd/config.toml

By: Ruben Ruiz

Great tutorial but I am getting this error:

This error is likely caused by:

- The kubelet is not running

- The kubelet is unhealthy due to a misconfiguration of the node in some way (required cgroups disabled)

By: KS

Excellent article! SO hard to find comprehensive instructions for installing k8s, and this one is the exception

By: AIN

I could not add the Flannel address space sudo kubeadm init --pod-network-cidr=10.244.0.0/16 error execution phase preflight: [preflight] Some fatal errors occurred: [ERROR Port-6443]: Port 6443 is in use [ERROR Port-10259]: Port 10259 is in use [ERROR Port-10257]: Port 10257 is in use [ERROR FileAvailable--etc-kubernetes-manifests-kube-apiserver.yaml]: /etc/kubernetes/manifests/kube-apiserver.yaml already exists [ERROR FileAvailable--etc-kubernetes-manifests-kube-controller-manager.yaml]: /etc/kubernetes/manifests/kube-controller-manager.yaml already exists [ERROR FileAvailable--etc-kubernetes-manifests-kube-scheduler.yaml]: /etc/kubernetes/manifests/kube-scheduler.yaml already exists [ERROR FileAvailable--etc-kubernetes-manifests-etcd.yaml]: /etc/kubernetes/manifests/etcd.yaml already exists [ERROR Port-10250]: Port 10250 is in use [ERROR Port-2379]: Port 2379 is in use [ERROR Port-2380]: Port 2380 is in use [ERROR DirAvailable--var-lib-etcd]: /var/lib/etcd is not empty This makes my flannel pods reboot nonstop