Coder Social home page Coder Social logo

Comments (7)

raffamendes avatar raffamendes commented on August 20, 2024

Hi, can you please change the spec of you PV to the following to see if it works?
Just make sure you change the path

spec:
  capacity:
    storage: 100Gi
  hostPath:
    path: /mnt/pv-data/pv0002
    type: ''
  accessModes:
    - ReadWriteOnce
    - ReadWriteMany
    - ReadOnlyMany
  persistentVolumeReclaimPolicy: Recycle
  volumeMode: Filesystem

from pipelines-tutorial.

wernertod avatar wernertod commented on August 20, 2024

Interesting! With hostPath it worked:
[deploy : oc] deploymentconfig.apps.openshift.io/spring-petclinic rolled out

Now the big question is: why did the NFS exported storage on the inf node not work.
I copied the configuration from the registry-storage PV.
Is this maybe related to the accessModes?
My PV has ReadWriteMany and the PVC from the tutorial has ReadWriteOnce.

from pipelines-tutorial.

wernertod avatar wernertod commented on August 20, 2024

Turns out it was the accessModes. Once I set all three in the PV (I'm guessing that the ReadWriteOnce was the crucial one), the PVC bind also worked for the nfs PV.
Thanks @raffamendes !

from pipelines-tutorial.

raffamendes avatar raffamendes commented on August 20, 2024

Happy to help!!, just to clarify, the accessModes works on 4.2 as labels to actually match the PVC as per the docs
I'll close this issue since the problem was solved.

/close

from pipelines-tutorial.

openshift-ci-robot avatar openshift-ci-robot commented on August 20, 2024

@raffamendes: You can't close an active issue/PR unless you authored it or you are a collaborator.

In response to this:

Happy to help!!, just to clarify, the accessModes works on 4.2 as labels to actually match the PVC as per the docs
I'll close this issue since the problem was solved.

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

from pipelines-tutorial.

raffamendes avatar raffamendes commented on August 20, 2024

ops, for a moment I forgot this not the tekton github 😅

from pipelines-tutorial.

wernertod avatar wernertod commented on August 20, 2024

No problem, I close it. Thanks again! :-)

from pipelines-tutorial.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.