「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

外部連結