Giter Site home page Giter Site logo

Comments (4)

leelavg avatar leelavg commented on June 9, 2024

So you want to use consume whole gluster volume as a PVC?

If yes, remove the SSH stuff from nomad job templates.

Ref:

Edit: disregard comment edits, some issue at my end.

from kadalu.

gutleib avatar gutleib commented on June 9, 2024

So you want to use consume whole gluster volume as a PVC?

If yes, remove the SSH stuff from nomad job templates.

Ref:

* https://github.com/kadalu/kadalu/blob/devel/nomad/controller.nomad#L40-L45

* https://github.com/kadalu/kadalu/blob/devel/nomad/controller.nomad#L99

Edit: disregard comment edits, some issue at my end.

Well, I wanted to test without much restrictions. But it appears that non-quoted volumes are broken.
I did excacly what you suggest, and got the result mentioned in bugreport.

from kadalu.

leelavg avatar leelavg commented on June 9, 2024

@gutleib, below should get you going

# gd
diff --git a/nomad/controller.nomad b/nomad/controller.nomad
index 1f7742e..b4bb09f 100644
--- a/nomad/controller.nomad
+++ b/nomad/controller.nomad
@@ -67,7 +67,7 @@ job "kadalu-csi-controller" {
             "volume_id": "${uuidv5("dns", "${var.volname}.kadalu.io")}",
             "type": "External",
             "pvReclaimPolicy": "delete",
-            "kadalu_format": "native",
+            "single_pv_per_pool": true,
             "gluster_hosts": "${var.gluster_hosts}",
             "gluster_volname": "${var.gluster_volname}",
             "gluster_options": "log-level=DEBUG"
diff --git a/nomad/nodeplugin.nomad b/nomad/nodeplugin.nomad
index 56d6c44..e4c0a25 100644
--- a/nomad/nodeplugin.nomad
+++ b/nomad/nodeplugin.nomad
@@ -41,7 +41,7 @@ job "kadalu-csi-nodeplugin" {
             "volume_id": "${uuidv5("dns", "${var.volname}.kadalu.io")}",
             "type": "External",
             "pvReclaimPolicy": "delete",
-            "kadalu_format": "native",
+            "single_pv_per_pool": true,
             "gluster_hosts": "${var.gluster_hosts}",
             "gluster_volname": "${var.gluster_volname}",
             "gluster_options": "log-level=DEBUG"

@aravindavk / @amarts do you know of any issues related to simple-quota b/n kadalu client & gluster 11?

from kadalu.

leelavg avatar leelavg commented on June 9, 2024

@gutleib just a quick check, did above work for you?

from kadalu.

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.