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. 16 Dec, 2019 7 commits
  2. 13 Dec, 2019 13 commits
  3. 12 Dec, 2019 9 commits
    • Michele's avatar
      Add clarifying update · 70608806
      Michele authored
      70608806
    • Michele's avatar
      Add apple notarization note · d7818c2b
      Michele authored
      d7818c2b
    • Preetha's avatar
      Merge pull request #6849 from hashicorp/b-debug-preemption · 37d421e7
      Preetha authored
      Use debug logging for scheduler internals
      37d421e7
    • Preetha Appan's avatar
    • ebarriosjr's avatar
      ba1e66c4
    • Buck Doyle's avatar
      UI: Fix client sorting (#6817) · 83d92251
      Buck Doyle authored
      There are two changes here, and some caveats/commentary:
      
      1. The “State“ table column was actually sorting only by status. The state was not an actual property, just something calculated in each client row, as a product of status, isEligible, and isDraining. This PR adds isDraining as a component of compositeState so it can be used for sorting.
      
      2. The Sortable mixin declares dependent keys that cause the sort to be live-updating, but only if the members of the array change, such as if a new client is added, but not if any of the sortable properties change. This PR adds a SortableFactory function that generates a mixin whose listSorted computed property includes dependent keys for the sortable properties, so the table will live-update if any of the sortable properties change, not just the array members. There’s a warning if you use SortableFactory without dependent keys and via the original Sortable interface, so we can eventually migrate away from it.
      83d92251
    • Michael Lange's avatar
      Merge pull request #6808 from hashicorp/b-ui/unclosed-log-streams · 630723cf
      Michael Lange authored
      UI: Unclosed log streams
      630723cf
    • Preetha Appan's avatar
      Use debug logging for scheduler internals · ed1f30e7
      Preetha Appan authored
      We currently log an error if preemption is unable to find a suitable set of
      allocations to preempt. This commit changes that to debug level since not finding
      preemptable allocations is not an error condition.
      ed1f30e7
    • Tim Gross's avatar
      e2e: run client/allocs metrics tests nightly (#6842) · 7cda1409
      Tim Gross authored
      Refactor the metrics end-to-end tests so they can be run with our e2e
      test framework. Runs fabio/prometheus and a collection of jobs that
      will cause metrics to be measured. We then query Prometheus to ensure
      we're publishing those allocation metrics and some metrics from the
      clients as well.
      
      Includes adding a placeholder for running the same tests on Windows.
      7cda1409
  4. 11 Dec, 2019 7 commits
    • Mahmood Ali's avatar
      simplify cgroup path lookup · f794b49e
      Mahmood Ali authored
      f794b49e
    • Seth Hoenig's avatar
      Merge pull request #6838 from hashicorp/f-parallelize-state-store-tests · 57b38a0f
      Seth Hoenig authored
      tests: parallelize state store tests
      57b38a0f
    • Mahmood Ali's avatar
      executor: stop joining executor to container cgroup · 596d0be5
      Mahmood Ali authored
      Stop joining libcontainer executor process into the newly created task
      container cgroup, to ensure that the cgroups are fully destroyed on
      shutdown, and to make it consistent with other plugin processes.
      
      Previously, executor process is added to the container cgroup so the
      executor process resources get aggregated along with user processes in
      our metric aggregation.
      
      However, adding executor process to container cgroup adds some
      complications with much benefits:
      
      First, it complicates cleanup.  We must ensure that the executor is
      removed from container cgroup on shutdown.  Though, we had a bug where
      we missed removing it from the systemd cgroup.  Because executor uses
      `containerState.CgroupPaths` on launch, which includes systemd, but
      `cgroups.GetAllSubsystems` which doesn't.
      
      Second, it may have advese side-effects.  When a user process is cpu
      bound or uses too much memory, executor should remain functioning
      without risk of being killed (by OOM killer) or throttled.
      
      Third, it is inconsistent with other drivers and plugins.  Logmon and
      DockerLogger processes aren't in the task cgroups.  Neither are
      containerd processes, though it is equivalent to executor in
      responsibility.
      
      Fourth, in my experience when executor process moves cgroup while it's
      running, the cgroup aggregation is odd.  The cgroup
      `memory.usage_in_bytes` doesn't seem to capture the full memory usage of
      the executor process and becomes a red-harring when investigating memory
      issues.
      
      For all the reasons above, I opted to have executor remain in nomad
      agent cgroup and we can revisit this when we have a better story for
      plugin process cgroup management.
      596d0be5
    • Mahmood Ali's avatar
      2f4b9da6
    • Seth Hoenig's avatar
      tests: parallelize state store tests · 35fdada2
      Seth Hoenig authored
      It has been decided we're going to live in a many core world.
      Let's take advantage of that and parallelize these state store
      tests which all run in memory and are largely CPU bound.
      
      An unscientific benchmark demonstrating the improvement:
      
      [mp state (master)] $ go test
      PASS
      ok  	github.com/hashicorp/nomad/nomad/state	5.162s
      
      [mp state (f-parallelize-state-store-tests)] $ go test
      PASS
      ok  	github.com/hashicorp/nomad/nomad/state	1.527s
      35fdada2
    • Tim Gross's avatar
      8babbf4f
    • Drew Bailey's avatar
      Merge pull request #6834 from hashicorp/monitor-changelog · c28722e7
      Drew Bailey authored
      add 6828 to changelog
      c28722e7
  5. 10 Dec, 2019 4 commits