Closed Matt711 closed 2 years ago
I'm not able to reproduce this locally.
Steps I took:
main
kind create cluster --name pytest-kind --kubeconfig=.pytest-kind/pytest-kind/kubeconfig
kubectl apply -f dask_kubernetes/operator/customresources/
kopf run -m dask_kubernetes.operator --verbose
Everything gets deleted correctly for me.
@jacobtomlinson I don't know it would make a difference but I was running the Operator from the kube-system
namespace (following the documentation). But I'll run through the steps again...
Ah right, that makes more sense. It sounds like you're using the 2022.4.1
version of the operator installed via the manifest along with the latest version of dask_kubernetes.experimental.KubeCluster
from main
. Those likely won't be compatible.
The add_worker_group
functionality is currently unreleased so you would need to run the dev version of the operator to use it.
Right (palms face) of course
Additional worker groups are not deleted when the cluster custom resource is deleted. --> Kopf adoptions are not working
Minimal Complete Verifiable Example:
In this example the worker group
highmem
should be deleted along with the cluster, but it isn't.Environment: