Nulecule綜合容器應(yīng)用規(guī)范
Nulecule是一款用于快速打包復(fù)雜多樣化應(yīng)用的格式,同時確保所有實(shí)例順利部署。
Nulecule規(guī)格亮點(diǎn):
Application description and context maintained in a single container through extensible metadata
Composable definition of complex applications through inheritance and composition of containers into a single, standards-based, portable description.
Simplified dependency management for the most complex applications through a directed graph to reflect relationships.
Container and orchestration engine agnostic, enabling the use of any container technology and/or orchestration technology
軟件截圖:
部署用戶體驗(yàn)
Option 1: Non-interactive defaults
[sudo] atomic run projectatomic/helloapache
Option 2: Unattended
1.用下列內(nèi)容創(chuàng)建answers.conf 文件
[general] provider = kubernetes [helloapache-app] image = centos/httpd # optional: choose a different image hostport = 80 # optional: choose a different port to expose
2.從當(dāng)前工作目錄運(yùn)行應(yīng)用程序
$ [sudo] atomic run projectatomic/helloapache ... helloapache
3.作為一個單獨(dú)額外實(shí)驗(yàn),除去kubernetes pod,改變供應(yīng)商為“docker”,然后重新運(yùn)行該應(yīng)用程序,看看它在本地docker得到的部署。
Option 3: Install and Run
1.利用atomic install下載應(yīng)用程序文件
[sudo] atomic install projectatomic/helloapache
2.重命名answers.conf.sample
mv answers.conf.sample answers.conf
3.編輯answers.conf,如果需要審查文件,然后運(yùn)行
$ [sudo] atomic run projectatomic/helloapache ... helloapache
