<p>I am new to microk8s, it's a wonderful and easy approach to setup k8s, just one thing which is quite annoying which is to use <strong>microk8s</strong> everytime before the <strong>kubectl</strong> command, is there any way to use kubectl directly or make it a alias.</p>
<p>For eg to run kubectl command, I've to use microk8s everytime ==&gt; microk8s kubectl get pods</p>
<p>Thanks!</p>

Alex
<p>Yeah, there is a way to create an alias for kubectl in microk8s,
run this command</p>
<p><code>sudo snap alias microk8s.kubectl kubectl</code></p>
<p>and you will be able to use kubectl directly.</p>
