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

外部連結