# Unable to communicate with the k8s API server

**URL:** <https://forums.suse.com/t/unable-to-communicate-with-the-k8s-api-server/7712>\
**Category:** Rancher 1.x\
**Created:** [November 2, 2017, 2:34pm UTC](https://forums.suse.com/t/unable-to-communicate-with-the-k8s-api-server/7712 "2017-11-02T14:34:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![naveensrinivasan](https://avatars.discourse-cdn.com/v4/letter/n/5f9b8f/32.png) [@naveensrinivasan](https://forums.suse.com/u/naveensrinivasan)\
**Post date:** [November 2, 2017, 2:34pm UTC](https://forums.suse.com/t/unable-to-communicate-with-the-k8s-api-server/7712/1 "2017-11-02T14:34:09Z")

</div>

We are running into this issue where when we spin up a k8s cluster using rancher, the containers fail with `Failed to list *v1.Service: the server has asked for the client to provide credentials`.

We have followed this thread [https://github.com/kubernetes/kubernetes/issues/24829](https://github.com/kubernetes/kubernetes/issues/24829) and deleted the secret and it hasn’t helped either.

We are running `rancher/server:stable` and `rancher/agent:v1.2.6`

Any clue as to why is this happening?

Thanks
