Nulecule综合容器应用规范
Nulecule是一款用于快速打包复杂多样化应用的格式,同时确保所有实例顺利部署。
Nulecule规格亮点:
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
软件截图:
部署用户体验
Option 1: Non-interactive defaults
[sudo] atomic run projectatomic/helloapache
Option 2: Unattended
1.用下列内容创建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.从当前工作目录运行应用程序
$ [sudo] atomic run projectatomic/helloapache ... helloapache
3.作为一个单独额外实验,除去kubernetes pod,改变供应商为“docker”,然后重新运行该应用程序,看看它在本地docker得到的部署。
Option 3: Install and Run
1.利用atomic install下载应用程序文件
[sudo] atomic install projectatomic/helloapache
2.重命名answers.conf.sample
mv answers.conf.sample answers.conf
3.编辑answers.conf,如果需要审查文件,然后运行
$ [sudo] atomic run projectatomic/helloapache ... helloapache