gchq / gaffer-docker

Gaffer Docker images and associated Helm charts for deploying on Kubernetes
https://gchq.github.io/gaffer-docker
Apache License 2.0
30 stars 36 forks source link

Bug: Cannot install Gaffer Helm charts on Kubernetes 1.25+ #363

Closed sb89594 closed 1 month ago

sb89594 commented 1 month ago

Following the instructions here does not currently work and fails with:

Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest: resource mapping not found for name: "my-graph-zookeeper" namespace: "" from "": no matches for kind "PodDisruptionBudget" in version "policy/v1beta1" ensure CRDs are installed first

I believe it is because the beta version of this API was deprecated as part of Kubernetes version 1.25 (docs here).

As such, I think the Zookeeper dependency here needs to be updated to use a more upto date version which does not use the beta API.

GCHQDeveloper314 commented 1 month ago

Duplicates #255 which has some more details on this.

There are some other Helm problems currently and as Helm isn't a priority for us, we recommend using docker compose to try out Gaffer.

sb89594 commented 1 month ago

Thank you for the response, might I suggest if Helm is no longer supported that the documentation be changed to reflect this? Or at least a warning is put on that it won't work on K8s 1.26+ and to use Docker compose instead?

GCHQDeveloper314 commented 1 month ago

Good point, I've raised docs #489 for this.