Skip to content

Instantly share code, notes, and snippets.

View schmichael's full-sized avatar

Michael Schurter schmichael

View GitHub Profile
time="2021-08-10T18:35:26Z" level=info msg="Input arguments: /px-oci-mon -c px-cluster-nomadv1 -a -b --endpoint 0.0.0.0:9015"
time="2021-08-10T18:35:26Z" level=info msg="Updated arguments: /px-oci-mon -c px-cluster-nomadv1 -a -b" install-opts=--upgrade
time="2021-08-10T18:35:26Z" level=info msg="OCI-Monitor computed version v2.8.0-gd252e59e-dirty"
time="2021-08-10T18:35:26Z" level=info msg="REAPER: Starting ..."
time="2021-08-10T18:35:26Z" level=info msg="Service handler initialized via as DBus{type:dbus,svc:portworx.service,id:0xc000543440}"
time="2021-08-10T18:35:26Z" level=info msg="Setting up container handler"
time="2021-08-10T18:35:26Z" level=info msg="> run-host: /bin/sh -c cat /etc/crictl.yaml || cat /var/vcap/store/crictl.yaml"
time="2021-08-10T18:35:26Z" level=info msg="Locating my container handler"
time="2021-08-10T18:35:26Z" level=info msg="Negotiated Docker API version: 1.32"
time="2021-08-10T18:35:26Z" level=info msg="> Using Docker as container handler"
job "min" {
datacenters = ["dc1"]
update {
stagger = "30s"
max_parallel = 1
min_healthy_time = "10s"
healthy_deadline = "10m"
progress_deadline = "15m"
auto_revert = false
package main
import (
"log"
"os"
"time"
"github.com/hashicorp/nomad/api"
"github.com/hashicorp/nomad/jobspec"
)

IMPROVEMENTS:

  • api: Added NewSystemJob helper function to create base system job object. [GH-10861]
  • build: no longer use vendor directory [GH-10898]
  • cli: Added a -task flag to alloc restart and alloc signal for consistent UX with alloc exec and alloc logs [GH-10859]
  • consul/connect: automatically set CONSUL_TLS_SERVER_NAME for connect native tasks [GH-10804]
  • ui: Added new screen to dispatch a parameterized batch job [GH-10675]
  • ui: Handle ACL token when running behind a reverse proxy [GH-10563]
github.com/hashicorp/nomad cloud.google.com/go/[email protected]
github.com/hashicorp/nomad github.com/Azure/go-autorest/[email protected]
github.com/hashicorp/nomad github.com/Azure/go-autorest/autorest/azure/[email protected]
github.com/hashicorp/nomad github.com/LK4D4/[email protected]
github.com/hashicorp/nomad github.com/Microsoft/[email protected]
github.com/hashicorp/nomad github.com/Microsoft/[email protected]
github.com/hashicorp/nomad github.com/NVIDIA/[email protected]
github.com/hashicorp/nomad github.com/NYTimes/[email protected]
github.com/hashicorp/nomad github.com/armon/[email protected]
github.com/hashicorp/nomad github.com/armon/[email protected]
job "example" {
datacenters = ["dc1"]
group "cache" {
network {
port "db" {
to = 6379
}
}

raft.apply

Counter of Raft transactions. A general indicator of Raft throughput.

raft.barrier

Counter of Raft barriers. Barriers ensure all members have applied pending operations to their FSM before the barrier completes and new operations can be processed.

job "example" {
datacenters = ["dc1"]
group "cache" {
network {
mode = "bridge"
port "db" {
to = 6379
}
}
job "example-2" {
datacenters = ["dc1"]
group "cache" {
network {
port "db" {
to = 6379
}
}
#log_level = "DEBUG"
data_dir = "/tmp/nomad-client2"
name = "nomad-client2"
client {
enabled = true
servers = ["localhost:4647"]
}