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. 10 Aug, 2022 1 commit
  2. 09 Aug, 2022 4 commits
  3. 08 Aug, 2022 7 commits
  4. 05 Aug, 2022 10 commits
  5. 04 Aug, 2022 8 commits
    • Seth Hoenig's avatar
      nsd: add support for setting request body in http checks · d5ea06af
      Seth Hoenig authored
      This PR adds support for settings check.body in checks of services
      making use of Nomad's service provider.
      d5ea06af
    • Seth Hoenig's avatar
      deps: update opencontainers/runc to v1.1.3 · 6d9e1793
      Seth Hoenig authored
      6d9e1793
    • Luiz Aoqui's avatar
      qemu: reduce monitor socket path (#13971) · e1ae7bf7
      Luiz Aoqui authored
      The QEMU driver can take an optional `graceful_shutdown` configuration
      which will create a Unix socket to send ACPI shutdown signal to the VM.
      
      Unix sockets have a hard length limit and the driver implementation
      assumed that QEMU versions 2.10.1 were able to handle longer paths. This
      is not correct, the linked QEMU fix only changed the behaviour from
      silently truncating longer socket paths to throwing an error.
      
      By validating the socket path before starting the QEMU machine we can
      provide users a more actionable and meaningful error message, and by
      using a shorter socket file name we leave a bit more room for
      user-defined values in the path, such as the task name.
      
      The maximum length allowed is also platform-dependant, so validation
      needs to be different for each OS.
      e1ae7bf7
    • Charles Z's avatar
    • Luiz Aoqui's avatar
      template: set default UID/GID to -1 (#13998) · a37ef39b
      Luiz Aoqui authored
      UID/GID 0 is usually reserved for the root user/group. While Nomad
      clients are expected to run as root it may not always be the case.
      
      Setting these values as -1 if not defined will fallback to the pervious
      behaviour of not attempting to set file ownership and use whatever
      UID/GID the Nomad agent is running as. It will also keep backwards
      compatibility, which is specially important for platforms where this
      feature is not supported, like Windows.
      a37ef39b
    • Luiz Aoqui's avatar
      qemu: restore monitor socket path (#14000) · 258fab13
      Luiz Aoqui authored
      When a QEMU task is recovered the monitor socket path was not being
      restored into the task handler, so the `graceful_shutdown` configuration
      was effectively ignored if the client restarted.
      258fab13
    • Luiz Aoqui's avatar
      docs: remove link to HCL2 `timestamp` function (#13999) · c4b32268
      Luiz Aoqui authored
      The `timestamp` HCL2 function was never part of the set of supported
      functions.
      c4b32268
    • Seth Hoenig's avatar
      Merge pull request #13978 from hashicorp/f-nsd-check-headers · 23a1d7ec
      Seth Hoenig authored
      nsd: add support for setting headers on nomad service http checks
      23a1d7ec
  6. 03 Aug, 2022 10 commits