This project is mirrored from https://gitee.com/mirrors/nomad.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
  1. 13 Jun, 2019 7 commits
    • Mahmood Ali's avatar
      Use init to handle plugin invocation · eeaa95dd
      Mahmood Ali authored
      Currently, nomad "plugin" processes (e.g. executor, logmon, docker_logger) are started as CLI
      commands to be handled by command CLI framework.  Plugin launchers use
      `discover.NomadBinary()` to identify the binary and start it.
      
      This has few downsides: The trivial one is that when running tests, one
      must re-compile the nomad binary as the tests need to invoke the nomad
      executable to start plugin.  This is frequently overlooked, resulting in
      puzzlement.
      
      The more significant issue with `executor` in particular is in relation
      to external driver:
      
      * Plugin must identify the path of invoking nomad binary, which is not
      trivial; `discvoer.NomadBinary()` now returns the path to the plugin
      rather than to nomad, preventing external drivers from launching
      executors.
      
      * The external driver may get a different version of executor than it
      expects (specially if we make a binary incompatible change in future).
      
      This commit addresses both downside by having the plugin invocation
      handli...
      eeaa95dd
    • Danielle's avatar
      Merge pull request #5801 from jrasell/patch-5 · 2a65ceee
      Danielle authored
      Fix incorrect link to the sample Grafana dashboard
      2a65ceee
    • Danielle's avatar
      Merge pull request #5829 from hashicorp/dani/b-5819 · 17f96165
      Danielle authored
      consul: Include port-label in service registration
      17f96165
    • Mahmood Ali's avatar
      Merge pull request #5830 from hashicorp/docs-go-version-update · b5f45780
      Mahmood Ali authored
      Updated minimum development go version
      b5f45780
    • Charlie Voiselle's avatar
      Updated minimum development go version · cb3bc093
      Charlie Voiselle authored
      cb3bc093
    • Danielle Lancashire's avatar
      consul: Include port-label in service registration · efdfef86
      Danielle Lancashire authored
      It is possible to provide multiple identically named services with
      different port assignments in a Nomad configuration.
      
      We introduced a regression when migrating to stable service identifiers where
      multiple services with the same name would conflict, and the last definition
      would take precedence.
      
      This commit includes the port label in the stable service identifier to
      allow the previous behaviour where this was supported, for example
      providing:
      
      ```hcl
      service {
        name = "redis-cache"
        tags = ["global", "cache"]
        port = "db"
        check {
          name     = "alive"
          type     = "tcp"
          interval = "10s"
          timeout  = "2s"
        }
      }
      
      service {
        name = "redis-cache"
        tags = ["global", "foo"]
        port = "foo"
      
        check {
          name     = "alive"
          type     = "tcp"
          port     = "db"
          interval = "10s"
          timeout  = "2s"
        }
      }
      
      service {
        name = "redis-cache"
        tags = ["global", "bar"]
        port = "bar"
      
        check {
          name     = "alive"
          type     = "tcp"
          port     = "db"
          interval = "10s"
          timeout  = "2s"
        }
      }
      ```
      
      in a nomad task definition is now completely valid. Each service
      definition with the same name must still have a unique port label however.
      efdfef86
    • Nick Ethier's avatar
      Optional Consul service tags for nomad server and agent services (#5706) · e19921b4
      Nick Ethier authored
      Optional Consul service tags for nomad server and agent services
      e19921b4
  2. 12 Jun, 2019 25 commits
  3. 11 Jun, 2019 8 commits