【参考訳】 Nomad 0.2

【参考訳】 Nomad 0.2 はてなブックマーク - 【参考訳】 Nomad 0.2



Nomad 0.2  HashiCorp
https://hashicorp.com/blog/nomad-0-2.html

 Blog 稿

-

 Nomad 0.2 Nomad 

Nomad 2

Nomad 0.2 constraint Nomad 0.2 CHANGELOG 

Nomad 0.2 Nomad 2.0 

 


Nomad 0.2  Consul 

Nomad Consul Nomad API 使

Consul service使
count = 5
task "redis" {
  ...
  service {
    # name = "redis"
    tags = ["global", "cache"]
    port = "db"

    check {
      name = "alive"
      type = "tcp"
      interval = "10s"
      timeout = "2s"
    }
  }
  ...
}

serviceredis  Consul Consul 使Nomad Nomad archestrated

Nomad IP

service

 


system scheduler使constraints

Logstach  Nagios Nomad 

 


Nomad restartNomad Nomad 
restart {
  interval = "5m"
  attempts = 10
  delay = "25s"
}

servicesystemworkloadNomad batchrestart


 constraints


lexical orderingNomad 2.0 

distinct_host使distinct_host

constraint

 


Nomad 

Git  MercurialHTTPAmazon S3 remote artifacts

Nomad 


config {
  image = "redis:latest"

  port_map {
    "db": 6379
  }

  auth {
    username = "username"
    password = "password"
  }
}

 


Nomad 0.2 

0.3 


cron 

queuingcontention Nomad 使

affinityanti-affinity tenancy 


 Nomad 2.0  GitHub 

-

 Original blog post from:


Nomad 0.2  HashiCorp
https://hashicorp.com/blog/nomad-0-2.html