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

system job need not support scaling stanza #8481

Closed
shantanugadgil opened this issue Jul 21, 2020 · 2 comments · Fixed by #8491
Closed

system job need not support scaling stanza #8481

shantanugadgil opened this issue Jul 21, 2020 · 2 comments · Fixed by #8491
Assignees
Labels
theme/autoscaling Issues related to supporting autoscaling type/bug

Comments

@shantanugadgil
Copy link
Contributor

Nomad version

Nomad v0.12.0 (8f7fbc8)

Operating system and Environment details

CentOS 7/8

Issue

If the job type is system, it need not allow the scaling stanza ...

Reproduction steps

Use the example job, and then add the scaling stanza as below.

Job file (if appropriate)

job "system_multiple" {
  type = "system"

  datacenters = ["dc1"]

  group "cache" {
    count = 1

    scaling {
      enabled = true
      min = 1
      max = 5
    }

    task "redis" {
      driver = "docker"

      config {
        image = "redis:3.2"

        port_map {
          db = 6379
        }
      }

      resources {
        cpu    = 500
        memory = 256

        network {
          mbits = 10
          port "db" {}
        }
      }
    }
  }
}

Tagging:
@cgbaker

@jrasell jrasell added theme/autoscaling Issues related to supporting autoscaling type/bug labels Jul 21, 2020
@jrasell
Copy link
Member

jrasell commented Jul 21, 2020

thanks for writing this up @shantanugadgil!

@github-actions
Copy link

github-actions bot commented Nov 4, 2022

I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 4, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
theme/autoscaling Issues related to supporting autoscaling type/bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants