Code Monkey home page Code Monkey logo

Comments (3)

garyedwards avatar garyedwards commented on May 30, 2024

Hi Just a quick update.

When I do a volume claim for a single drive as per your documentation the pvc is created and minio works as expected.

  volumeClaimTemplate:
    metadata:
      name: data
    spec:
      storageClassName: local-storage
      accessModes:
        - ReadWriteOnce
      resources:
        requests:
          storage: 1Gi

When I add a number of over volume claims that I would be expected to be handled by the operator and volumes to be created in the correct locations no pvcs are created and the operator creates an pod with no volumes attached.

  volumeClaimTemplates:
  - metadata:
      name: data1
    spec:
      accessModes: [ "ReadWriteOnce" ]
      storageClassName: "local-storage"
      selector:
        matchLabels:
          diskUuid: 5d27cf1d-09e8-4354-8df2-f7b536d31867
      resources:
        requests:
          storage: 1Gi
  - metadata:
      name: data2
    spec:
      accessModes: [ "ReadWriteOnce" ]
      storageClassName: "local-storage"
      selector:
        matchLabels:
          diskUuid: 517e80fc-6d72-457f-a3ca-2d816c21e8bb
      resources:
        requests:
          storage: 1Gi
  - metadata:
      name: data3
    spec:
      accessModes: [ "ReadWriteOnce" ]
      storageClassName: "local-storage"
      selector:
        matchLabels:
          diskUuid: 00af6255-14b4-4d92-b077-f326998b7b13
      resources:
        requests:
          storage: 1Gi
  - metadata:
      name: data4
    spec:
      accessModes: [ "ReadWriteOnce" ]
      storageClassName: "local-storage"
      selector:
        matchLabels:
          diskUuid: 9b59d1e0-3c4f-4e4a-b341-8d9d6c4b7b02
      resources:
        requests:
          storage: 1Gi

Maybe the operator only expects one disk per pod? Thanks again.

from operator.

nitisht avatar nitisht commented on May 30, 2024

Yes @garyedwards currently the operator expects only one disk per pod. Support for multiple volumes needs to be added

from operator.

garyedwards avatar garyedwards commented on May 30, 2024

Hi @nitisht thanks a lot for your reply. For now I will look at the helm and yaml methods. Thanks for such a great project look forward to using the operator in the future.

from operator.

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.