-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Where to define the PVC type when a task declare to use it? #1629
Comments
Hey @zhangtbj - do you mean the PVC that is used for passing data from the output of one task to the input of another? If so you actually can configure the underlying PVC's storage class via configmap, you can see an example of what this could look like in this configmap yaml. |
Hi @bobcatfish , Actually, it is not a new requirement. It is because I got two failures when I ran the Tekton integration tests: When I debug the taskrun pod, I found the task fail because the PVC is pending. And the default PVC which taskrun used on my cloud is full. So that I cannot pass my tests. And from the taskrun:
I didn't found where to configure the PVC (storage type). That is why I opened this issue. Thanks! |
It sounds like this info has resolved the problem, just to reiterate before I close: The Our docs on this are here: https://github.com/tektoncd/pipeline/blob/master/docs/install.md#configuring-a-persistent-volume You can also, alternatively, configure a default storage class in your cluster. I'm going to close this issue. If the |
Expected Behavior
The public cloud provider may provide many PVC types, such as standard or GLACIER, etc..... but just only one.
I can choose which PVC type I use.
Actual Behavior
But in the current tekton taskrun config:
It only config the
paths
, and it used a storage class type which is not good for me.Is there any way that I can choose which storage class type I used for the task output?
The wrong storage class makes my task fail because PVC is pending ....
Thanks!
The text was updated successfully, but these errors were encountered: