<p>I tried to install kubectl on popos using the following commands</p>
<pre><code>sudo apt install -y ca-certificates curl apt-transport-https
sudo curl -fsSLo /etc/apt/keyrings/kubernetes-archive-keyring.gpg https://packages.cloud.google.com/apt/doc/apt-key.gpg
echo &quot;deb [signed-by=/etc/apt/keyrings/kubernetes-archive-keyring.gpg] https://apt.kubernetes.io/ kubernetes-xenial main&quot; | sudo tee /etc/apt/sources.list.d/kubernetes.list
sudo apt update
sudo apt install -y kubectl
</code></pre>
<p>After the installation <code>kubectl cluster-info</code> give me that</p>
<pre><code>kalin@pop-os:~$ kubectl cluster-info
E0304 00:04:05.721040   93361 memcache.go:238] couldn't get current server API group list: Get &quot;http://localhost:8080/api?timeout=32s&quot;: dial tcp [::1]:8080: connect: connection refused
E0304 00:04:05.721478   93361 memcache.go:238] couldn't get current server API group list: Get &quot;http://localhost:8080/api?timeout=32s&quot;: dial tcp [::1]:8080: connect: connection refused
E0304 00:04:05.722950   93361 memcache.go:238] couldn't get current server API group list: Get &quot;http://localhost:8080/api?timeout=32s&quot;: dial tcp [::1]:8080: connect: connection refused
E0304 00:04:05.724685   93361 memcache.go:238] couldn't get current server API group list: Get &quot;http://localhost:8080/api?timeout=32s&quot;: dial tcp [::1]:8080: connect: connection refused
E0304 00:04:05.726373   93361 memcache.go:238] couldn't get current server API group list: Get &quot;http://localhost:8080/api?timeout=32s&quot;: dial tcp [::1]:8080: connect: connection refused

To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'.
The connection to the server localhost:8080 was refused - did you specify the right host or port?
</code></pre>
<p>helm status RELEASE_NAME give me that</p>
<pre><code>kalin@pop-os:~$ helm status RELEASE_NAME
Error: Kubernetes cluster unreachable: Get &quot;http://localhost:8080/version&quot;: dial tcp [::1]:8080: connect: connection refused
</code></pre>
<p>Not sure if that is the reason but it's turnout that I don't have <code>~/.kube/config</code> or <code>/etc/kubernetes/admin.conf</code>. I made a lot of google searches but at that point I surrender</p>

themean
<p>It's turnout that the installation of kubectl don't provide kubernetes cluster itself. After some googling I find out that I need to install more components on my system. There are at least 4 possible options for local kubernetes cluster</p>
<ul>
<li><a href="https://minikube.sigs.k8s.io/docs/start/" rel="nofollow noreferrer">minikube</a></li>
<li><a href="https://kind.sigs.k8s.io/" rel="nofollow noreferrer">kind</a></li>
<li><a href="https://github.com/crc-org/crc" rel="nofollow noreferrer">crc</a></li>
<li><a href="https://github.com/minishift/minishift" rel="nofollow noreferrer">minishift</a></li>
</ul>
<p>It seems that minikube is the simplest and I didn't explore the rest. Also if you install minukube you may not need to install kubectl because minikube provide one</p>
