FFFF GitHub - shokunin/tabinin: Nomadproject Frontend · GitHub
[go: up one dir, main page]

Skip to content
shokuninPublic

About

Nomadproject Frontend

Resources

Stars

4 stars

Watchers

1 watching

Forks

Latest commit

 

History

31 Commits

Folders and files

Repository files navigation

Tabinin

Nomad front end

View jobs and information for Nomad clusters

Viewing all jobs

Jobs View

Viewing a specific job

Jobs View

Viewing all nodes

Nodes View

Viewing node information

Node View

Viewing cluster usage

Stats View

Viewing server information

Node View

Running

To run as a nomad job:

job "tabinin" {
  datacenters = ["testdc"]
  type = "service"
  update {
    stagger = "10s"
    max_parallel = 1
  }
  group "tabinin" {
    count = 2
    restart {
      attempts = 10
      interval = "5m"
      delay = "25s"
      mode = "delay"
    }
    task "tabinin" {
      driver = "docker"
      config {
        image = "maguec/tabinin:latest"
        force_pull = true
        port_map {
          tabinin = 4000
        }
      }
      resources {
        cpu    = 400 # 500 MHz
        memory = 256 # 256MB
        network {
          mbits = 10
          port "tabinin" {}
        }
      }
      env {
         NOMAD_API      = "http://nomad.service.testdc:4646"
         NOMAD_CLUSTER  = "testdc"
      }
      service {
        name = "tabinin"
        tags = ["private-web-service"]
        port = "tabinin"
        check {
          name     = "alive"
          type     = "http"
          path     = "/"
          interval = "10s"
          timeout  = "2s"
        }
      }
    }
  }
}

About

Nomadproject Frontend

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

0