Skip to content
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

[QUESTION] Capacity quota always set even when undefined using Nomad #1036

Open
FredPraca opened this issue Jul 12, 2024 · 0 comments
Open
Labels
kind/question Further information is requested

Comments

@FredPraca
Copy link

I'm currently using juicefs over a Minio cluster in the context of Nomad orchestration.

When declaring the volume like this :

type      = "csi"
id        = "prometheus-volume"
name      = "prometheus-volume"
namespace = "demo-services"

capability {
  access_mode     = "multi-node-multi-writer"
  attachment_mode = "file-system"
}
plugin_id    = "juicefs0"

secrets {
  name       = "juicefs-volume"
  metaurl    = "postgres://juicefs_user:[email protected]:5432/juicefs?sslmode=disable"
  bucket     = "http://127.0.0.1:9000/nomad/"
  storage    = "minio"
  access-key = "my-access-key"
  secret-key = "my-secret-key"
}

IP addresses were changed.

I get this in the quota definitions:

+------------------------------+---------+---------+------+-----------+-------+-------+
|             Path             |   Size  |   Used  | Use% |   Inodes  | IUsed | IUse% |
+------------------------------+---------+---------+------+-----------+-------+-------+
| /prometheus-volume           | 1.0 GiB | 297 MiB |  28% | unlimited |    94 |       |
+------------------------------+---------+---------+------+-----------+-------+-------+

I thought that no quota would be applied as capacity_min and capacity_max are optional parameters.

Environment:

  • JuiceFS CSI Driver version : v0.23.6
  • Nomad version : 1.8.1
  • Object storage (cloud provider and region): Minio on prem
  • Metadata engine info: Postgresql
  • Network connectivity (JuiceFS to metadata engine, JuiceFS to object storage): Postgresql on the same machine as one of the Minio machine
@FredPraca FredPraca added the kind/question Further information is requested label Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant