terraform-provider-kubernetes
terraform-provider-kubernetes copied to clipboard
pvc in stateful set pends at waiting for consumer
Hello there, I observe similar behavior described in issue 1986 but in a stateful_set, where the pvc will wait for consumer while the pod depends on the pvc.
In the stateful set config, volume_claim_template is as follows
Terraform configuration
volume_claim_template {
metadata {
name = "local-disk-pvc"
namespace = "app"
}
spec {
access_modes = ["ReadWriteOnce"]
resources {
requests = {
storage = "10Gi"
}
}
storage_class_name = "local-disk"
}
# wait_until_bound = false <<< wait_until_bound isn't expected here
}
I've looked up the documentation of stateful set. There isn't wait_until_bound config available for volume_claim_template within a stateful set like a proper pvc resource.
Question
How can I let a pvc defined in a volume_claim_template within a stateful set not wait_until_bound? In other words, where is the wait_until_bound option for volume_claim_template in a stateful set? Thanks.
Hello @arybolovlev , since you commented on Issue 1986, do you have any insight on this issue? Thank you so much.
Any updates?