Nomad:修订间差异

来自Gea-Suan Lin's Wiki
跳到导航 跳到搜索
此页面具有访问限制。如果您看见此消息,则说明您没有权限访问此页面。
第7行: 第7行:
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
cd /tmp; wget https://releases.hashicorp.com/nomad/0.10.2/nomad_0.10.2_linux_amd64.zip; unzip nomad_0.10.2_linux_amd64.zip; sudo install -m 0755 nomad /usr/local/bin/; wget https://raw.githubusercontent.com/hashicorp/nomad/master/dist/systemd/nomad.service; sudo install nomad.service /lib/systemd/system/; sudo service daemon-reload; sudo systemctl enable nomad
cd /tmp; wget https://releases.hashicorp.com/nomad/0.10.2/nomad_0.10.2_linux_amd64.zip; unzip nomad_0.10.2_linux_amd64.zip; sudo install -m 0755 nomad /usr/local/bin/; wget https://raw.githubusercontent.com/hashicorp/nomad/master/dist/systemd/nomad.service; sudo install nomad.service /lib/systemd/system/; sudo service daemon-reload; sudo systemctl enable nomad
</syntaxhighlight>
== 常用指令 ==
<syntaxhighlight lang="bash">
nomad server members -address=http://nomad-server:4646
nomad node status -address=http://nomad-server:4646
</syntaxhighlight>
</syntaxhighlight>



2020年1月3日 (五) 07:24的版本

NomadHashiCorp推出的资源管理软体。

安装

这边是安装0.10.2版,记得到官方网站上确认最新版的号码后,修改对应的设定:

cd /tmp; wget https://releases.hashicorp.com/nomad/0.10.2/nomad_0.10.2_linux_amd64.zip; unzip nomad_0.10.2_linux_amd64.zip; sudo install -m 0755 nomad /usr/local/bin/; wget https://raw.githubusercontent.com/hashicorp/nomad/master/dist/systemd/nomad.service; sudo install nomad.service /lib/systemd/system/; sudo service daemon-reload; sudo systemctl enable nomad

常用指令

nomad server members -address=http://nomad-server:4646
nomad node status -address=http://nomad-server:4646

外部连结