Container platforms
Questions about Kubernetes, OpenShift, Docker, and more.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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.

5 REPLIES 5

Julius_Loman
DynaMight Legend
DynaMight Legend

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.


Dynatrace Ambassador | Alanata a.s., Slovakia, Dynatrace Master Partner

engineerakki
Newcomer

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?

Dynatrace Ambassador | Alanata a.s., Slovakia, Dynatrace Master Partner

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.

Dynatrace Ambassador | Alanata a.s., Slovakia, Dynatrace Master Partner

Featured Posts