SEARU.ORG
当前位置:SEARU.ORG > Linux 软件 > 正文

综合容器应用规范 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

软件截图:

Alt Nulecule specification high-level story.

部署用户体验

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

未经允许不得转载:SEARU.ORG » 综合容器应用规范 Nulecule

赞 (0)
分享到:更多 ()

评论 0