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

[slurm-on-gke] how to set munge key value in this terraform script ? #936

Open
salander0411 opened this issue Jan 17, 2025 · 0 comments
Open

Comments

@salander0411
Copy link

In munge key, should I input the munge key file path, or plain string after base64? because using dd (https://slurm.schedmd.com/authentication.html#munge_setup ) it will generate binary file which is unable to pass to script here.

module "slurm-cluster-001" {
  source           = "../modules/slurm-cluster/"
  namespace        = "slurm"
  namespace_create = true

  cluster_config = {
    name  = "linux"
    image = "IMAGE_URL_FROM_ARTIFACT_REGISTRY"
    database = {
      create          = true
      storage_size_gb = 1
      host            = "mysql"
      password        = "SET_HERE_A_BASE64_ENCODED_PASSWORD"
    }
    storage = {
      size_gb    = 100
      type       = "filestore"
      mount_path = "/home"
    }
    munge = {
      key = "PUT_HERE_YOUR_KEY"
    }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant