The spark application has the following error state when using juju status:
App Version Status Scale Charm Store Channel Rev OS Address Message
spark .../spark-operator:v1beta2-... error 1 spark local 0 kubernetes creating or updating custom resource definitions: ensuring custom resource definition "sparkapplications.sparkoperator.k8s.io" with version "v1beta1": the server could not find the requested resource
Unit Workload Agent Address Ports Message
spark/0* waiting idle waiting for container
However, using kubernetes 1.21 the deploy succeeds without error:
App Version Status Scale Charm Store Channel Rev OS Address Message
spark .../spark-operator:v1beta2-... active 1 spark local 0 kubernetes 10.152.183.36
Unit Workload Agent Address Ports Message
spark/0* active idle 10.1.19.137 10254/TCP,443/TCP
and the crd that was missing in 1.22 is now present:
When using Kubernetes 1.22, the spark operator does not deploy correctly:
The spark application has the following error state when using juju status:
However, using kubernetes 1.21 the deploy succeeds without error:
and the crd that was missing in 1.22 is now present: