---
title: "Discussion on \"Kubernetes Cluster Deployment on Ubuntu Linux\" | Hashnode"
description: "Discussion on \"Kubernetes Cluster Deployment on Ubuntu Linux\". A Ten-Step Guide!"
url: "https://hashnode.com/posts/kubernetes-cluster-deployment-on-ubuntu-linux/60c86dd8bbd8c506819af2f0"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Kubernetes Cluster Deployment on Ubuntu Linux](https://blog.learncodeonline.in/kubernetes-cluster-deployment-on-ubuntu-linux?utm_source=hashnode&utm_medium=feed)

A Ten-Step Guide!

Jun 15, 2021 · 7 min read · blog.learncodeonline.in  
Read the article

-   [#kubernetes](https://hashnode.com/tag/kubernetes)
-   [#devops](https://hashnode.com/tag/devops)
-   [#cloud](https://hashnode.com/tag/cloud)
-   [#linux](https://hashnode.com/tag/linux)
-   [#ubuntu](https://hashnode.com/tag/ubuntu)

## Written by

[Rakesh Jain](https://hashnode.com/@rakeshrhcss)

@rakeshrhcss · India

  
[View profile](https://hashnode.com/@rakeshrhcss)

DevOps with Rakesh!

DevOps Professional | Technical writer

## Responses 4

Markdown supported · ⌘↵ to post

[Nirmal](https://hashnode.com/@nacharya)

[Aug 16, 2021](https://hashnode.com/posts/kubernetes-cluster-deployment-on-ubuntu-linux/60c86dd8bbd8c506819af2f0/comment/6119f5f5ac5c985f364373be)

Hello Akash After installing kubectl while checking the version it's showing some connection refused to local hosts

root@k8s-master:/etc# kubectl version Client Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.0", GitCommit:"c2b5237ccd9c0f1d600d3072634ca66cefdf272f", GitTreeState:"clean", BuildDate:"2021-08-04T18:03:20Z", GoVersion:"go1.16.6", Compiler:"gc", Platform:"linux/amd64"} The connection to the server localhost:8080 was refused - did you specify the right host or port?

[Nirmal](https://hashnode.com/@nacharya)

[Aug 20, 2021](https://hashnode.com/posts/kubernetes-cluster-deployment-on-ubuntu-linux/60c86dd8bbd8c506819af2f0/comment/6119f5f5ac5c985f364373be#reply-61200189e404793819ca8265)

The fix was to add: Environment="KUBELET\_EXTRA\_ARGS=--cgroup-driver=cgroupfs" in /etc/systemd/system/kubelet.service.d/10-kubeadm.conf

[Krishna Mruthy](https://hashnode.com/@krishna17m)

[Jun 17, 2021](https://hashnode.com/posts/kubernetes-cluster-deployment-on-ubuntu-linux/60c86dd8bbd8c506819af2f0/comment/60cae04502579c1f3477a7a4)

Very useful, have you done in local box using vagrant or virtual box?

[Rakesh Jain](https://hashnode.com/@rakeshrhcss)

[Jun 17, 2021](https://hashnode.com/posts/kubernetes-cluster-deployment-on-ubuntu-linux/60c86dd8bbd8c506819af2f0/comment/60cae04502579c1f3477a7a4#reply-60cb0ed002579c1f3477ad07)

Glad to hear that. Yes it was provisioned on a vagrant cluster running locally.
