# ModuleNotFoundError for ray.autoscaler.\_private.\_kubernetes

**URL:** <https://discuss.ray.io/t/modulenotfounderror-for-ray-autoscaler-private-kubernetes/11129>\
**Category:** Kubernetes\
**Created:** [June 22, 2023, 9:39am UTC](https://discuss.ray.io/t/modulenotfounderror-for-ray-autoscaler-private-kubernetes/11129 "2023-06-22T09:39:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![arjunv\_kurup](https://avatars.discourse-cdn.com/v4/letter/a/ed655f/32.png) [@arjunv\_kurup](https://discuss.ray.io/u/arjunv_kurup)\
**Post date:** [June 22, 2023, 9:39am UTC](https://discuss.ray.io/t/modulenotfounderror-for-ray-autoscaler-private-kubernetes/11129/1 "2023-06-22T09:39:58Z")

</div>

I am running a K8s cluster and I deployed the ray image rayproject/ray-ml:2.5.1.164b25-py38-gpu. When I run the `ray status` command, I am getting the error:

```bash
No cluster status.
The autoscaler failed with the following error:
Traceback (most recent call last):
  File "/home/ray/anaconda3/lib/python3.8/site-packages/ray/autoscaler/_private/monitor.py", line 594, in run
    self._initialize_autoscaler()
  File "/home/ray/anaconda3/lib/python3.8/site-packages/ray/autoscaler/_private/monitor.py", line 239, in _initialize_autoscaler
    self.autoscaler = StandardAutoscaler(
  File "/home/ray/anaconda3/lib/python3.8/site-packages/ray/autoscaler/_private/autoscaler.py", line 251, in __init__
    self.reset(errors_fatal=True)
  File "/home/ray/anaconda3/lib/python3.8/site-packages/ray/autoscaler/_private/autoscaler.py", line 1115, in reset
    raise e
  File "/home/ray/anaconda3/lib/python3.8/site-packages/ray/autoscaler/_private/autoscaler.py", line 1059, in reset
    self.provider = _get_node_provider(
  File "/home/ray/anaconda3/lib/python3.8/site-packages/ray/autoscaler/_private/providers.py", line 228, in _get_node_provider
    provider_cls = _get_node_provider_cls(provider_config)
  File "/home/ray/anaconda3/lib/python3.8/site-packages/ray/autoscaler/_private/providers.py", line 204, in _get_node_provider_cls
    return importer(provider_config)
  File "/home/ray/anaconda3/lib/python3.8/site-packages/ray/autoscaler/_private/providers.py", line 82, in _import_kubernetes
    from ray.autoscaler._private._kubernetes.node_provider import KubernetesNodeProvider
ModuleNotFoundError: No module named 'ray.autoscaler._private._kubernetes'

```
