-
-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot connect to cluster in 2023.6.0 #751
Comments
It looks like |
@jacobtomlinson Should we add a smoke test that installs the helm operator and runs a simple cluster? 🤔 Or is there a reason this would have been caught? |
Yeah I think that's a great idea. |
Ok I've fixed the bug in Build the dev image $ docker build -t ghcr.io/dask/dask-kubernetes-operator:dev -f dask_kubernetes/operator/deployment/Dockerfile . Load the image into Kubernetes $ kind load docker-image --name pytest-kind ghcr.io/dask/dask-kubernetes-operator:dev Install the helm chart $ cd dask_kubernetes/operator/deployment/helm/
$ helm install --generate-name ./dask-kubernetes-operator --set image.tag=dev Create a cluster In [1]: from dask_kubernetes.operator import KubeCluster
...: cluster = KubeCluster(name="foo", n_workers=1)
╭───────────────────────── Creating KubeCluster 'foo' ─────────────────────────╮
│ │
│ DaskCluster Running │
│ Scheduler Pod Running │
│ Scheduler Service Created │
│ Default Worker Group Created │
│ │
│ ⠇ Getting dashboard URL │
╰──────────────────────────────────────────────────────────────────────────────╯
In [2]: I'm going to cut another release here and things should be good! |
Thank you! I've been working on the automated test but my kind cluster wouldn't come up on the train 🤦 |
Looking forward to seeing the tests @bstadlbauer. |
Describe the issue:
I cannot connect to a running cluster with 2023.6.0 version. It seems that the problem is with getting valid credentials somewhere.
Minimal Complete Verifiable Example:
Having operator installed this way
And having the deployment permissions patched as described in #749
While running this code
It results in this exception on the command line
And this exception in operator
The exception is also visible in k8s service for the scheduler in Events
Anything else we need to know?:
Environment:
The text was updated successfully, but these errors were encountered: