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 Apr, 2019 1 commit
  2. 03 Apr, 2019 1 commit
  3. 02 Apr, 2019 1 commit
  4. 01 Apr, 2019 2 commits
  5. 20 Mar, 2019 1 commit
  6. 17 Mar, 2019 1 commit
  7. 16 Mar, 2019 1 commit
  8. 15 Jan, 2019 1 commit
  9. 12 Jan, 2019 1 commit
    • Nick Ethier's avatar
      executor: implement streaming stats API · fbf9a4c7
      Nick Ethier authored
      plugins/driver: update driver interface to support streaming stats
      
      client/tr: use streaming stats api
      
      TODO:
       * how to handle errors and closed channel during stats streaming
       * prevent tight loop if Stats(ctx) returns an error
      
      drivers: update drivers TaskStats RPC to handle streaming results
      
      executor: better error handling in stats rpc
      
      docker: better control and error handling of stats rpc
      
      driver: allow stats to return a recoverable error
      fbf9a4c7
  10. 11 Jan, 2019 1 commit
    • Alex Dadgar's avatar
      Plugins use parent loggers · 270ae48b
      Alex Dadgar authored
      This PR fixes various instances of plugins being launched without using
      the parent loggers. This meant that logs would not all go to the same
      output, break formatting etc.
      270ae48b
  11. 08 Jan, 2019 1 commit
    • Mahmood Ali's avatar
      drivers: re-export ResourceUsage structs · 800a3522
      Mahmood Ali authored
      Re-export the ResourceUsage structs in drivers package to avoid drivers
      directly depending on the internal client/structs package directly.
      
      I attempted moving the structs to drivers, but that caused some import
      cycles that was a bit hard to disentagle.  Alternatively, I added an
      alias here that's sufficient for our purposes of avoiding external
      drivers depend on internal packages, while allowing us to restructure
      packages in future without breaking source compatibility.
      800a3522
  12. 11 Dec, 2018 1 commit
  13. 07 Dec, 2018 2 commits
  14. 06 Dec, 2018 1 commit
    • Alex Dadgar's avatar
      Deprecate IOPS · 0953d913
      Alex Dadgar authored
      IOPS have been modelled as a resource since Nomad 0.1 but has never
      actually been detected and there is no plan in the short term to add
      detection. This is because IOPS is a bit simplistic of a unit to define
      the performance requirements from the underlying storage system. In its
      current state it adds unnecessary confusion and can be removed without
      impacting any users. This PR leaves IOPS defined at the jobspec parsing
      level and in the api/ resources since these are the two public uses of
      the field. These should be considered deprecated and only exist to allow
      users to stop using them during the Nomad 0.9.x release. In the future,
      there should be no expectation that the field will exist.
      0953d913
  15. 05 Dec, 2018 1 commit
  16. 30 Nov, 2018 3 commits
  17. 13 Nov, 2018 1 commit
  18. 26 Oct, 2018 1 commit
  19. 17 Oct, 2018 1 commit
  20. 16 Oct, 2018 4 commits
    • Nick Ethier's avatar
    • Nick Ethier's avatar
      driver/raw_exec: more tests and bug fixes · 650ac5a8
      Nick Ethier authored
      added wrapper struct for plugin.ReattachConfig to better handle serialization
      650ac5a8
    • Nick Ethier's avatar
      clientv2: base driver plugin (#4671) · e2bf0a38
      Nick Ethier authored
      Driver plugin framework to facilitate development of driver plugins.
      
      Implementing plugins only need to implement the DriverPlugin interface.
      The framework proxies this interface to the go-plugin GRPC interface generated
      from the driver.proto spec.
      
      A testing harness is provided to allow implementing drivers to test the full
      lifecycle of the driver plugin. An example use:
      
      func TestMyDriver(t *testing.T) {
          harness := NewDriverHarness(t, &MyDiverPlugin{})
          // The harness implements the DriverPlugin interface and can be used as such
          taskHandle, err := harness.StartTask(...)
      }
      e2bf0a38
    • Nick Ethier's avatar
      executor v2 (#4656) · 5b14d24b
      Nick Ethier authored
      * client/executor: refactor client to remove interpolation
      
      * executor: POC libcontainer based executor
      
      * vendor: use hashicorp libcontainer fork
      
      * vendor: add libcontainer/nsenter dep
      
      * executor: updated executor interface to simplify operations
      
      * executor: implement logging pipe
      
      * logmon: new logmon plugin to manage task logs
      
      * driver/executor: use logmon for log management
      
      * executor: fix tests and windows build
      
      * executor: fix logging key names
      
      * executor: fix test failures
      
      * executor: add config field to toggle between using libcontainer and standard executors
      
      * logmon: use discover utility to discover nomad executable
      
      * executor: only call libcontainer-shim on main in linux
      
      * logmon: use seperate path configs for stdout/stderr fifos
      
      * executor: windows fixes
      
      * executor: created reusable pid stats collection utility that can be used in an executor
      
      * executor: update fifo.Open calls
      
      * executor: fix build
      
      * remove executor from...
      5b14d24b
  21. 08 Jun, 2018 1 commit
  22. 01 Jun, 2018 3 commits
  23. 31 May, 2018 2 commits
    • Alex Dadgar's avatar
      spelling · 60ef13c5
      Alex Dadgar authored
      60ef13c5
    • Alex Dadgar's avatar
      Force close stdout/stderr after grace · 4150296b
      Alex Dadgar authored
      This commit changes the force closing of the stdout/stderr file
      descriptor from closing immediately to being closed after a grace
      period. This allows the created process to close its own file and allows
      copying of the data.
      4150296b
  24. 24 May, 2018 2 commits
  25. 19 Apr, 2018 1 commit
  26. 17 Apr, 2018 1 commit
  27. 14 Apr, 2018 1 commit
  28. 21 Mar, 2018 1 commit
  29. 20 Mar, 2018 1 commit