Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pvc in stateful set pends at waiting for consumer #2627

Open
lhanbingl opened this issue Nov 21, 2024 · 1 comment
Open

pvc in stateful set pends at waiting for consumer #2627

lhanbingl opened this issue Nov 21, 2024 · 1 comment
Assignees
Labels

Comments

@lhanbingl
Copy link

lhanbingl commented Nov 21, 2024

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.

@lhanbingl lhanbingl changed the title pvc waiting for consumer blocks in stateful set pvc in stateful set pends at waiting for consumer Nov 21, 2024
@lhanbingl
Copy link
Author

Hello @arybolovlev , since you commented on Issue 1986, do you have any insight on this issue? Thank you so much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants