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. 05 Sep, 2019 3 commits
    • Tim Gross's avatar
      e2e: script check testing · 43264223
      Tim Gross authored
      43264223
    • Tim Gross's avatar
      client: recreate script checks on Update (#6265) · 088e3817
      Tim Gross authored
      Splitting the immutable and mutable components of the scriptCheck led
      to a bug where the environment interpolation wasn't being incorporated
      into the check's ID, which caused the UpdateTTL to update for a check
      ID that Consul didn't have (because our Consul client creates the ID
      from the structs.ServiceCheck each time we update).
      
      Task group services don't have access to a task environment at
      creation, so their checks get registered before the check can be
      interpolated. Use the original check ID so they can be updated.
      088e3817
    • Jasmine Dahilig's avatar
      update changelog · ee84afe8
      Jasmine Dahilig authored
      ee84afe8
  2. 04 Sep, 2019 24 commits
  3. 03 Sep, 2019 8 commits
    • Jamie Finnigan's avatar
      826cb27c
    • Tim Gross's avatar
      support script checks for task group services (#6197) · 40368d2c
      Tim Gross authored
      In Nomad prior to Consul Connect, all Consul checks work the same
      except for Script checks. Because the Task being checked is running in
      its own container namespaces, the check is executed by Nomad in the
      Task's context. If the Script check passes, Nomad uses the TTL check
      feature of Consul to update the check status. This means in order to
      run a Script check, we need to know what Task to execute it in.
      
      To support Consul Connect, we need Group Services, and these need to
      be registered in Consul along with their checks. We could push the
      Service down into the Task, but this doesn't work if someone wants to
      associate a service with a task's ports, but do script checks in
      another task in the allocation.
      
      Because Nomad is handling the Script check and not Consul anyways,
      this moves the script check handling into the task runner so that the
      task runner can own the script check's configuration and
      lifecycle. This will allow us to pass the group service check
      configuration down into a task without associating the service itself
      with the task.
      
      When tasks are checked for script checks, we walk back through their
      task group to see if there are script checks associated with the
      task. If so, we'll spin off script check tasklets for them. The
      group-level service and any restart behaviors it needs are entirely
      encapsulated within the group service hook.
      40368d2c
    • Mahmood Ali's avatar
      Fix raft tests · 8d75e25b
      Mahmood Ali authored
      Wait until leadership stabalizes and all non-voters get promoted before
      killing leader
      8d75e25b
    • Michael Schurter's avatar
      Merge pull request #6000 from Iqoqo/docker-convert-host-paths-to-host-native · f02c1635
      Michael Schurter authored
      driver/docker: convert host bind path to os native
      f02c1635
    • Pete Woods's avatar
      Add node "status" and "scheduling eligibility" tags to client metrics (#6130) · da93f826
      Pete Woods authored
      When summing up the capability of your Nomad fleet for scaling purposes, it's important to exclude draining nodes, as they won't accept new jobs.
      da93f826
    • Michael Schurter's avatar
      connect: add unix socket to proxy grpc for envoy (#6232) · 477cf835
      Michael Schurter authored
      * connect: add unix socket to proxy grpc for envoy
      
      Fixes #6124
      
      Implement a L4 proxy from a unix socket inside a network namespace to
      Consul's gRPC endpoint on the host. This allows Envoy to connect to
      Consul's xDS configuration API.
      
      * connect: pointer receiver on structs with mutexes
      
      * connect: warn on all proxy errors
      477cf835
    • Danielle's avatar
      Merge pull request #6246 from hashicorp/dani/fix-docker-driver · f744cb98
      Danielle authored
      docker: Fix driver spec
      f744cb98
    • Danielle Lancashire's avatar
      docker: Fix driver spec · 86838dbc
      Danielle Lancashire authored
      hclspec.NewLiteral does not quote its values, which caused `3m` to be
      parsed as a nonsensical literal which broke the plugin loader during
      initialization. By quoting the value here, it starts correctly.
      86838dbc
  4. 02 Sep, 2019 4 commits
  5. 01 Sep, 2019 1 commit