No persistent volume available for this claim and no storage class is set -Kubernetes

Good afternoon, community. I’ve tried to integrate Kubernetes with Dynatrace by following the documentation via Helm, and I’m getting an error when deploying.

No persistent volume available for this claim and no storage class is set -Kubernetes

I’ve researched how to solve this, even by adjusting the YAML file, but I still haven’t been able to fix this problem. The ActiveGate remains in a pending state.

I also ran into this with latest DynaKube CRD v1beta5 and Operator 1.6+ in my lab. This is, I believe, due to missing volumeClaimTemplate in the CRD in .spec.activeGate . I resolved it using ephemeralVolume instead for now.

Hitting same bug while doing a new install of Dynakube crd v1beta5.
it works well if I upgrade from v1beta4 to v1beta5, but can be replicated if I do a new installation of v1beta5

Can someone share the solution to fix it?

@engineerakki You don’t have default storageclass set in the cluster, do you?

No, I did not had a default storageclass,

If I set a default storageclass then activegate pod starts with a PVC,
but I wish i could configure this to start activegate pods without PVC’s just like with v1beta4

Use the ephemeral storage as I did. It’s a DynaKube configuration.