# Kubectl service unavailable

**URL:** <https://forums.suse.com/t/kubectl-service-unavailable/19919>\
**Category:** SUSE Rancher Prime\
**Created:** [March 26, 2021, 2:38pm UTC](https://forums.suse.com/t/kubectl-service-unavailable/19919 "2021-03-26T14:38:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![n1md4](https://avatars.discourse-cdn.com/v4/letter/n/d9b06d/32.png) [@n1md4](https://forums.suse.com/u/n1md4)\
**Post date:** [March 26, 2021, 2:38pm UTC](https://forums.suse.com/t/kubectl-service-unavailable/19919/1 "2021-03-26T14:38:12Z")

</div>

Copied and created .kube/config file. But kubectl get pods fails:

```auto
~> kubectl --kubeconfig .kube/config get pods
Error from server (InternalError): an error on the server ("service unavailable") has prevented the request from succeeding

```

Any ideas?

---

<div class="post-metadata">

**Author:** ![n1md4](https://avatars.discourse-cdn.com/v4/letter/n/d9b06d/32.png) [@n1md4](https://forums.suse.com/u/n1md4)\
**Post date:** [March 26, 2021, 2:44pm UTC](https://forums.suse.com/t/kubectl-service-unavailable/19919/2 "2021-03-26T14:44:17Z")

</div>

Resolved! I’d been trying to figure this out all day, and then the very next thing I try fixed it.

Removed apt installed package, and downloaded from Git. kubectl now works.
