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. 30 Jun, 2021 4 commits
  2. 29 Jun, 2021 3 commits
  3. 28 Jun, 2021 6 commits
  4. 25 Jun, 2021 1 commit
  5. 22 Jun, 2021 9 commits
  6. 21 Jun, 2021 5 commits
  7. 18 Jun, 2021 6 commits
  8. 17 Jun, 2021 4 commits
  9. 16 Jun, 2021 2 commits
    • Seth Hoenig's avatar
      consul/connect: in-place update service definition when connect upstreams are modified · 7ba60b4e
      Seth Hoenig authored
      This PR fixes a bug where modifying the upstreams of a Connect sidecar proxy
      would not result Consul applying the changes, unless an additional change to
      the job would trigger a task replacement (thus replacing the service definition).
      
      The fix is to check if upstreams have been modified between Nomad's view of the
      sidecar service definition, and the service definition for the sidecar that is
      actually registered in Consul.
      
      Fixes #8754
      7ba60b4e
    • Tim Gross's avatar
      docker: generate /etc/hosts file for bridge network mode (#10766) · 2a640f0b
      Tim Gross authored
      When `network.mode = "bridge"`, we create a pause container in Docker with no
      networking so that we have a process to hold the network namespace we create
      in Nomad. The default `/etc/hosts` file of that pause container is then used
      for all the Docker tasks that share that network namespace. Some applications
      rely on this file being populated.
      
      This changeset generates a `/etc/hosts` file and bind-mounts it to the
      container when Nomad owns the network, so that the container's hostname has an
      IP in the file as expected. The hosts file will include the entries added by
      the Docker driver's `extra_hosts` field.
      
      In this changeset, only the Docker task driver will take advantage of this
      option, as the `exec`/`java` drivers currently copy the host's `/etc/hosts`
      file and this can't be changed without breaking backwards compatibility. But
      the fields are available in the task driver protobuf for community task
      drivers to use if they'd like.
      2a640f0b