# \#kubectl

**URL:** https://community.replicated.com/tag/kubectl/112.md

[Latest](https://community.replicated.com/latest.md) · [Categories](https://community.replicated.com/categories.md) · [Tags](https://community.replicated.com/tags.md)

---

## [kURL: Setting kubectl config correctly inside a kURL control plane node](https://community.replicated.com/t/kurl-setting-kubectl-config-correctly-inside-a-kurl-control-plane-node/1307)

<div class="topic-metadata">

**Author:** [@Evans\_Mungai](https://community.replicated.com/u/Evans_Mungai)\
**Replies:** 0\
**Last updated:** [October 5, 2023, 12:50pm UTC](https://community.replicated.com/t/kurl-setting-kubectl-config-correctly-inside-a-kurl-control-plane-node/1307 "2023-10-05T12:50:45Z")

</div>

When in a kURL control plane node, at times when you run kubectl commands such as kubectl get pods, you might get errors that indicate that you either cannot connect to the cluster (The connection to the server localhost…
