Skip to content

'HelmCluster' object has no attribute '_cluster_info' #5374

Description

@amerenda

What happened:

The code block:

from dask_kubernetes import HelmCluster

cluster = HelmCluster(release_name="dask",namespace="dask")
cluster.scale(1) 

Returns:

AttributeError: 'HelmCluster' object has no attribute '_cluster_info' 

from distributed/deploy/cluster.py
Full Traceback: https://paste.ee/p/0sn15

What you expected to happen:
The kubernetes cluster should spawn one worker.

Minimal Complete Verifiable Example:

from dask_kubernetes import HelmCluster

cluster = HelmCluster(release_name="dask",namespace="dask")
cluster.scale(1) 

Anything else we need to know?:
This is running in JupuyterLab on Google Kubernetes Engine
This command works if dask and distributed 2021.8.1 is installed
I do not believe this is an issue with helm, kubernetes, or GKE as 2021.8.1 works correctly.

Environment:

  • helm dask worker version: 2021.9.1
  • dask version: 2021.9.1
  • distributed version: 2021.9.1
  • dask_kubernetes version: 2021.3.1
  • Python version: 3.9.6
  • Operating System: Linux container
  • Install method (conda, pip, source): pip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions