# Kube-apisever container is crashlooping and kubectl timeouts as not able to reach apiserver

**URL:** <https://discuss.kubernetes.io/t/kube-apisever-container-is-crashlooping-and-kubectl-timeouts-as-not-able-to-reach-apiserver/24222>\
**Category:** General Discussions\
**Tags:** network\
**Created:** [May 17, 2023, 4:47am UTC](https://discuss.kubernetes.io/t/kube-apisever-container-is-crashlooping-and-kubectl-timeouts-as-not-able-to-reach-apiserver/24222 "2023-05-17T04:47:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![George\_Cherian](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/george_cherian/32/12541_2.png) [@George\_Cherian](https://discuss.kubernetes.io/u/George_Cherian)\
**Post date:** [May 17, 2023, 4:47am UTC](https://discuss.kubernetes.io/t/kube-apisever-container-is-crashlooping-and-kubectl-timeouts-as-not-able-to-reach-apiserver/24222/1 "2023-05-17T04:47:34Z")

</div>

Asking for help? Comment out what you need so we can get more information to help you!

### Cluster information:

Kubernetes version: v1.23.13  
Cloud being used: (put bare-metal if not on a public cloud): bare-metal  
Installation method: ansible installation  
Host OS: Linux  
CNI and version: calico, cniVersion": “0.3.1”  
CRI and version: docker 20.10.19

I am unable to execute any of the kubectl command because the connection to apiserver times out.

You can format your yaml by highlighting it and pressing Ctrl-Shift-C, it will make your output easier to read.
