mirror of
https://github.com/YunoHost-Apps/nomad_ynh.git
synced 2024-09-03 19:55:53 +02:00
Auto-update README
This commit is contained in:
parent
dbb99a141a
commit
7de044879a
2 changed files with 356 additions and 0 deletions
178
README.md
178
README.md
|
@ -25,6 +25,184 @@ Nomad is a simple and flexible workload orchestrator to deploy and manage contai
|
|||
![Screenshot of Nomad](./doc/screenshots/assets.png)
|
||||
![Screenshot of Nomad](./doc/screenshots/example.jpg)
|
||||
|
||||
## Disclaimers / important information
|
||||
|
||||
## Some Nomad Job examples
|
||||
|
||||
### Busybox
|
||||
|
||||
`lxc-create --name=busybox --template=busybox`
|
||||
|
||||
```
|
||||
job "job-busybox" {
|
||||
datacenters = ["dc1"]
|
||||
type = "service"
|
||||
|
||||
group "group-busybox" {
|
||||
task "task-busybox" {
|
||||
driver = "lxc"
|
||||
|
||||
config {
|
||||
log_level = "info"
|
||||
verbosity = "verbose"
|
||||
template = "/usr/share/lxc/templates/lxc-busybox"
|
||||
}
|
||||
|
||||
resources {
|
||||
cpu = 500
|
||||
memory = 256
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
### Debian
|
||||
|
||||
`lxc-create --name=debian --template=debian`
|
||||
|
||||
```
|
||||
job "job-debian" {
|
||||
datacenters = ["dc1"]
|
||||
type = "service"
|
||||
|
||||
group "group-debian" {
|
||||
task "task-debian" {
|
||||
driver = "lxc"
|
||||
|
||||
config {
|
||||
log_level = "info"
|
||||
verbosity = "verbose"
|
||||
template = "/usr/share/lxc/templates/lxc-debian"
|
||||
}
|
||||
|
||||
resources {
|
||||
cpu = 500
|
||||
memory = 256
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
### Debian Stretch
|
||||
|
||||
`lxc-create --name=stretch --template=debian -- --release=stretch`
|
||||
|
||||
```
|
||||
job "job-stretch" {
|
||||
datacenters = ["dc1"]
|
||||
type = "service"
|
||||
|
||||
group "group-stretch" {
|
||||
task "task-stretch" {
|
||||
driver = "lxc"
|
||||
|
||||
config {
|
||||
log_level = "info"
|
||||
verbosity = "verbose"
|
||||
template = "/usr/share/lxc/templates/lxc-debian"
|
||||
template_args = ["--release=stretch"]
|
||||
}
|
||||
|
||||
resources {
|
||||
cpu = 500
|
||||
memory = 256
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
### Debian Buster
|
||||
|
||||
`lxc-create --name=buster --template=debian -- --release=buster`
|
||||
|
||||
```
|
||||
job "job-buster" {
|
||||
datacenters = ["dc1"]
|
||||
type = "service"
|
||||
|
||||
group "group-buster" {
|
||||
task "task-buster" {
|
||||
driver = "lxc"
|
||||
|
||||
config {
|
||||
log_level = "info"
|
||||
verbosity = "verbose"
|
||||
template = "/usr/share/lxc/templates/lxc-debian"
|
||||
template_args = ["--release=buster"]
|
||||
}
|
||||
|
||||
resources {
|
||||
cpu = 500
|
||||
memory = 256
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
### Debian Buster from images.linuxcontainers.org
|
||||
|
||||
`lxc-create --name=download-buster --template=download -- --dist=debian --release=buster --arch=amd64 --keyserver=hkp://keyserver.ubuntu.com`
|
||||
|
||||
```
|
||||
job "job-download-buster" {
|
||||
datacenters = ["dc1"]
|
||||
type = "service"
|
||||
|
||||
group "group-download-buster" {
|
||||
task "task-download-buster" {
|
||||
driver = "lxc"
|
||||
|
||||
config {
|
||||
log_level = "info"
|
||||
verbosity = "verbose"
|
||||
template = "/usr/share/lxc/templates/lxc-download"
|
||||
template_args = ["--dist=debian","--release=buster","--arch=amd64","--keyserver=hkp://keyserver.ubuntu.com"]
|
||||
}
|
||||
|
||||
resources {
|
||||
cpu = 500
|
||||
memory = 256
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
### Debian Bullseye from images.linuxcontainers.org
|
||||
|
||||
`lxc-create --name=download-bullseye --template=download -- --dist=debian --release=bullseye --arch=amd64 --keyserver=hkp://keyserver.ubuntu.com`
|
||||
|
||||
```
|
||||
job "job-download-bullseye" {
|
||||
datacenters = ["dc1"]
|
||||
type = "service"
|
||||
|
||||
group "group-download-bullseye" {
|
||||
task "task-download-bullseye" {
|
||||
driver = "lxc"
|
||||
|
||||
config {
|
||||
log_level = "info"
|
||||
verbosity = "verbose"
|
||||
template = "/usr/share/lxc/templates/lxc-download"
|
||||
template_args = ["--dist=debian","--release=bullseye","--arch=amd64","--keyserver=hkp://keyserver.ubuntu.com"]
|
||||
}
|
||||
|
||||
resources {
|
||||
cpu = 500
|
||||
memory = 256
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
## Documentation and resources
|
||||
|
||||
* Official app website: <https://www.nomadproject.io/>
|
||||
|
|
178
README_fr.md
178
README_fr.md
|
@ -25,6 +25,184 @@ Nomad is a simple and flexible workload orchestrator to deploy and manage contai
|
|||
![Capture d'écran de Nomad](./doc/screenshots/assets.png)
|
||||
![Capture d'écran de Nomad](./doc/screenshots/example.jpg)
|
||||
|
||||
## Avertissements / informations importantes
|
||||
|
||||
## Some Nomad Job examples
|
||||
|
||||
### Busybox
|
||||
|
||||
`lxc-create --name=busybox --template=busybox`
|
||||
|
||||
```
|
||||
job "job-busybox" {
|
||||
datacenters = ["dc1"]
|
||||
type = "service"
|
||||
|
||||
group "group-busybox" {
|
||||
task "task-busybox" {
|
||||
driver = "lxc"
|
||||
|
||||
config {
|
||||
log_level = "info"
|
||||
verbosity = "verbose"
|
||||
template = "/usr/share/lxc/templates/lxc-busybox"
|
||||
}
|
||||
|
||||
resources {
|
||||
cpu = 500
|
||||
memory = 256
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
### Debian
|
||||
|
||||
`lxc-create --name=debian --template=debian`
|
||||
|
||||
```
|
||||
job "job-debian" {
|
||||
datacenters = ["dc1"]
|
||||
type = "service"
|
||||
|
||||
group "group-debian" {
|
||||
task "task-debian" {
|
||||
driver = "lxc"
|
||||
|
||||
config {
|
||||
log_level = "info"
|
||||
verbosity = "verbose"
|
||||
template = "/usr/share/lxc/templates/lxc-debian"
|
||||
}
|
||||
|
||||
resources {
|
||||
cpu = 500
|
||||
memory = 256
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
### Debian Stretch
|
||||
|
||||
`lxc-create --name=stretch --template=debian -- --release=stretch`
|
||||
|
||||
```
|
||||
job "job-stretch" {
|
||||
datacenters = ["dc1"]
|
||||
type = "service"
|
||||
|
||||
group "group-stretch" {
|
||||
task "task-stretch" {
|
||||
driver = "lxc"
|
||||
|
||||
config {
|
||||
log_level = "info"
|
||||
verbosity = "verbose"
|
||||
template = "/usr/share/lxc/templates/lxc-debian"
|
||||
template_args = ["--release=stretch"]
|
||||
}
|
||||
|
||||
resources {
|
||||
cpu = 500
|
||||
memory = 256
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
### Debian Buster
|
||||
|
||||
`lxc-create --name=buster --template=debian -- --release=buster`
|
||||
|
||||
```
|
||||
job "job-buster" {
|
||||
datacenters = ["dc1"]
|
||||
type = "service"
|
||||
|
||||
group "group-buster" {
|
||||
task "task-buster" {
|
||||
driver = "lxc"
|
||||
|
||||
config {
|
||||
log_level = "info"
|
||||
verbosity = "verbose"
|
||||
template = "/usr/share/lxc/templates/lxc-debian"
|
||||
template_args = ["--release=buster"]
|
||||
}
|
||||
|
||||
resources {
|
||||
cpu = 500
|
||||
memory = 256
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
### Debian Buster from images.linuxcontainers.org
|
||||
|
||||
`lxc-create --name=download-buster --template=download -- --dist=debian --release=buster --arch=amd64 --keyserver=hkp://keyserver.ubuntu.com`
|
||||
|
||||
```
|
||||
job "job-download-buster" {
|
||||
datacenters = ["dc1"]
|
||||
type = "service"
|
||||
|
||||
group "group-download-buster" {
|
||||
task "task-download-buster" {
|
||||
driver = "lxc"
|
||||
|
||||
config {
|
||||
log_level = "info"
|
||||
verbosity = "verbose"
|
||||
template = "/usr/share/lxc/templates/lxc-download"
|
||||
template_args = ["--dist=debian","--release=buster","--arch=amd64","--keyserver=hkp://keyserver.ubuntu.com"]
|
||||
}
|
||||
|
||||
resources {
|
||||
cpu = 500
|
||||
memory = 256
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
### Debian Bullseye from images.linuxcontainers.org
|
||||
|
||||
`lxc-create --name=download-bullseye --template=download -- --dist=debian --release=bullseye --arch=amd64 --keyserver=hkp://keyserver.ubuntu.com`
|
||||
|
||||
```
|
||||
job "job-download-bullseye" {
|
||||
datacenters = ["dc1"]
|
||||
type = "service"
|
||||
|
||||
group "group-download-bullseye" {
|
||||
task "task-download-bullseye" {
|
||||
driver = "lxc"
|
||||
|
||||
config {
|
||||
log_level = "info"
|
||||
verbosity = "verbose"
|
||||
template = "/usr/share/lxc/templates/lxc-download"
|
||||
template_args = ["--dist=debian","--release=bullseye","--arch=amd64","--keyserver=hkp://keyserver.ubuntu.com"]
|
||||
}
|
||||
|
||||
resources {
|
||||
cpu = 500
|
||||
memory = 256
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
## Documentations et ressources
|
||||
|
||||
* Site officiel de l'app : <https://www.nomadproject.io/>
|
||||
|
|
Loading…
Reference in a new issue