Questions on zfs-local-dataset driver with Nomad
See original GitHub issue- Is it possible to supply ZFS properties for dataset when creating a volume? I see it can be done with zfs-ephemeral driver (using volume_context and property.<name>) but have not found I way to do that with zfs-local-dataset
- How can I specify on which host dataset should be created? It seems that now volume is created on the Nomad client that receives the call to create a volume.
Deletion also doesn’t seem to work when request to delete lands on node that doesn’t have a dataset. What I mean is that if I have nodes node-01
and node-02
, when I create a volume with NOMAD_ADDR=node-01:4646 nomad volume create test.hcl
dataset will be created at node-01
and when I run NOMAD_ADDR=node-02:4646 nomad volume delete test
volume will be deleted from Nomad but dataset will stay at node-01
.
Issue Analytics
- State:
- Created a year ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
[question] clarification of usage for NOMAD_ALLOC_DIR #9901
Nomad version Nomad v1.0.2 Operating system and Environment details Ubuntu ... Aren't nomad volumes different than docker driver volumes ?
Read more >Nomad and Consul integration question - HashiCorp Discuss
Are you looking to run a Consul agent as a Nomad job using the Docker driver? You can use the official Consul Docker...
Read more >HashiCorp Nomad — From Zero to WOW! - Medium
Nomad is a popular scheduler for many different types of workloads. In this post I'll show you how to get up and running...
Read more >Nomad Task Driver for containerd - YouTube
Learn about the containerd HashiCorp Nomad task driver.
Read more >Problem with nomad job deployment (raw_exec mode, v1.0.1)
Please could you give some advice on how to get reject/pending reason from the agent? I use "raw_exec" driver (non-privileged user, driver.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thank you for very detailed anwser! I understand. I will experiment with democratic-csi on Nomad, based on what I’ve learned from you, and will share the result here. And perhaps will update the docs later if all is nice.
Those are https://handlebarsjs.com/ templates so you may be able to do something like this:
The code should probably detect empty values generally and ignore them but that could end up hiding issues that operators would like to see.