Comments on: How to Install a Kubernetes Cluster on CentOS 8 https://www.tecmint.com/install-a-kubernetes-cluster-on-centos-8/ Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks. Thu, 07 Sep 2023 08:17:05 +0000 hourly 1 By: Govind Kumar https://www.tecmint.com/install-a-kubernetes-cluster-on-centos-8/comment-page-1/#comment-2055445 Thu, 07 Sep 2023 08:17:05 +0000 https://www.tecmint.com/?p=35749#comment-2055445 Use the following command for weave.

# kubectl apply -f https://github.com/weaveworks/weave/releases/download/v2.8.1/weave-daemonset-k8s.yaml 
]]>
By: Jason https://www.tecmint.com/install-a-kubernetes-cluster-on-centos-8/comment-page-1/#comment-1714412 Mon, 07 Feb 2022 05:44:34 +0000 https://www.tecmint.com/?p=35749#comment-1714412 In reply to Mike Dehaan.

This worked for me. Cheers!

]]>
By: samuel https://www.tecmint.com/install-a-kubernetes-cluster-on-centos-8/comment-page-1/#comment-1628490 Sat, 30 Oct 2021 22:49:39 +0000 https://www.tecmint.com/?p=35749#comment-1628490 I have followed the exact steps that show me these errors in kubeadm init

[kubelet-check] The HTTP call equal to 'curl -sSL http://localhost:10248/healthz' failed with error: Get "http://localhost:10248/healthz": dial tcp [::1]:10248: connect: connection refused.
[kubelet-check] It seems like the kubelet isn't running or healthy.
[kubelet-check] The HTTP call equal to 'curl -sSL http://localhost:10248/healthz' failed with error: Get "http://localhost:10248/healthz": dial tcp [::1]:10248: connect: connection refused.
[kubelet-check] It seems like the kubelet isn't running or healthy.
[kubelet-check] The HTTP call equal to 'curl -sSL http://localhost:10248/healthz' failed with error: Get "http://localhost:10248/healthz": dial tcp [::1]:10248: connect: connection refused.
[kubelet-check] It seems like the kubelet isn't running or healthy.
[kubelet-check] The HTTP call equal to 'curl -sSL http://localhost:10248/healthz' failed with error: Get "http://localhost:10248/healthz": dial tcp [::1]:10248: connect: connection refused.

]]>
By: Mike Dehaan https://www.tecmint.com/install-a-kubernetes-cluster-on-centos-8/comment-page-1/#comment-1608377 Fri, 15 Oct 2021 19:17:23 +0000 https://www.tecmint.com/?p=35749#comment-1608377 In reply to naresh.

I had the same issue. I found the fix here https://upcloud.com/community/tutorials/install-kubernetes-cluster-centos-8/

It seems docker is now using cgroupfs driver by default while Kubernetes is expecting systemd. You can change docker to use systemd as well by adding the following to a file /etc/docker/daemon.json.

{
  "exec-opts": ["native.cgroupdriver=systemd"]
}

Next, restart docker

$ sudo systemctl restart docker

Then reset Kubernetes to clear the failed install

$ kubeadm reset

You should then be able to initialize the master as normal.

$ kubeadm init --pod-network-cidr 192.168.0.0/16
]]>
By: h19900401 https://www.tecmint.com/install-a-kubernetes-cluster-on-centos-8/comment-page-1/#comment-1597576 Tue, 28 Sep 2021 06:38:48 +0000 https://www.tecmint.com/?p=35749#comment-1597576 In reply to Krister.

firewall only has been opened for high ports on the worker nodes:

# firewall-cmd --permanent --add-port=30000-32767/tcp
]]>