OPENSTACK基于Atomic Host的持续集成


OPENSTACK基于Atomic Host 的持续集成 Tony Jin Tao Li Red Hat April 2015 Redhat Testing 2015/4/17 CI/CD for OpenStack Infrastructure -- Tony Li 1 Redhat 用于管理业务不断变化的寓言 2015/4/17 CI/CD for OpenStack Infrastructure -- Tony Li 2 Redhat CI/CD for OpenStack infrastructure? If I had an hour to solve a problem and my life depended on the solution, I would spend the first 55 minutes determining the proper question to ask, for once I know the proper question, I could solve the problem in less than five minutes. -- Albert Einstein 假如我有一个小时来解决一个决定我生存的问题,我会花第55分钟确定是什么问 题的问题,因为一旦我知道正确的问题,我能在不到五分钟解决问题。 --爱因斯坦 挑战: 你怎么能连续提供并集成了最新的Openstack基础设施和平台部署和维护 应用程序? 解药: 通过不断更新和部署的Openstack基础设施建设和测试应用程序,然后可 以在一个单元部署到生产。 容器技术是这个解决方案的一种方式 2015/4/17 CI/CD for OpenStack Infrastructure -- Tony Li 3 Redhat OpenStack之美 2015/4/17 CI/CD for OpenStack Infrastructure -- Tony Li 4 Redhat 现实… 2015/4/17 CI/CD for OpenStack Infrastructure -- Tony Li 5 Redhat 开发的生活是不容易的事 2015/4/17 CI/CD for OpenStack Infrastructure -- Tony Li 6 Redhat 如果有… • 隔离的,轻量的,可移动的 • 预集成的 • 轻松地描述运行时间的关系 • 轻盈运行并且容易升级 2015/4/17 CI/CD for OpenStack Infrastructure -- Tony Li 7 Redhat 如果有… • 隔离的,轻量的,可移动的 • 预集成的 • 轻松地描述运行时间的关系 • 轻盈运行并且容易升级 2015/4/17 CI/CD for OpenStack Infrastructure -- Tony Li 8 Redhat 如果有… • 隔离的,轻量的,可移动的 • 预集成的 • 轻松地描述运行时间的关系 • 轻盈运行并且容易升级 2015/4/17 CI/CD for OpenStack Infrastructure -- Tony Li 9 Redhat 如果有… • 隔离的,轻量的,可移动的 • 预集成的 • 轻松地描述运行时间的关系 • 轻盈运行并且容易升级 2015/4/17 CI/CD for OpenStack Infrastructure -- Tony Li 10 Redhat Atomic… rpm-ostree rollback rpm-ostree upgrade 2015/4/17 CI/CD for OpenStack Infrastructure -- Tony Li 11 Redhat 家谱--Docker tags 2015/4/17 CI/CD for OpenStack Infrastructure -- Tony Li 12 Redhat Atomic 家谱 2015/4/17 CI/CD for OpenStack Infrastructure -- Tony Li 13 Redhat Factory 2015/4/17 CI/CD for OpenStack Infrastructure -- Tony Li 14 Redhat 从开发到运维 2015/4/17 CI/CD for OpenStack Infrastructure -- Tony Li 15 Redhat Test at multiple levels • 在生成过程中单元测试您的应用程序 • 规划自动化集成测试:启动容器的整个应 用程序堆栈和驱动容器运行测试 • 减少人为干预尽可能因为它会成为瓶颈 Of course I “tested” the app before production! 2015/4/17 CI/CD for OpenStack Infrastructure -- Tony Li 16 Redhat2015/4/17 CI/CD for OpenStack Infrastructure -- Tony Li 17 Redhat 容器的订阅管理 • 使用RHEL7订阅模式,如果你想创建Docker镜像或容器, 必须合适的注册和资格在您构建它们的主机上。 • 如果您使用的Red Hat registry.access.redhat.comDocker镜 像,当您使用容器内yum来添加或升级包,容器会自动访 问到RHEL7主机可用的存储库。 • 容器可以得到适当的库RPM包,以便RHEL6镜像和RHEL7镜 像可以在同一RHEL7容器主机上共存。 2015/4/17 CI/CD for OpenStack Infrastructure -- Tony Li 18 Redhat Satellite 6 for containers 1. In Satellite 6 create a composite view that includes your: RHEL6 content view RHEL7 content view 2. Create an activation key that enables only the RHEL7 repos for the RHEL7 container host can be used for provisioning. 3. Containers can now access RHEL6 repos from your Satellite 6 server. Take advantage of content management capabilities 4. Library matches latest content from Red Hat Network 5. Lifecycle environments can match your needs for managed changes – QA – Next – PRD 2015/4/17 CI/CD for OpenStack Infrastructure -- Tony Li 19 Redhat2015/4/17 CI/CD for OpenStack Infrastructure -- Tony Li 20 Redhat2015/4/17 CI/CD for OpenStack Infrastructure -- Tony Li 21 Redhat 补丁周期变成了割接 2015/4/17 CI/CD for OpenStack Infrastructure -- Tony Li 22 Redhat 其他好处 1. Backup/Restore or DR ready – Jenkins server – Satellite 6 – Source code repositories – Databases and systems of record 2. Rebuild instead of Restore reduces backup load and time to recovery – Platform containers – Build containers – Application containers 3. Rapid security response – Cherry pick critical security patch and promote content in Satellite 6 for an emergency patch to rebuild the production line 4. Always ready to deploy – Latest builds available for OS, OpenStack Platform, Application changes – Take images anywhere to develop or deploy, developer laptop or cloud provider 2015/4/17 CI/CD for OpenStack Infrastructure -- Tony Li 23 Redhat Try it … 2015/4/17 CI/CD for OpenStack Infrastructure -- Tony Li 24 Redhat Communities https://github.com/docker/docker https://github.com/GoogleCloudPlatform/kubernetes https://github.com/projectatomic/ https://github.com/openshift/origin-server https://blueprints.launchpad.net/kolla/ https://github.com/larsks/heat-kubernetes https://access.redhat.com/downloads/content/271/ver =/rhel---7/7.1.0/x86_64/product-downloads 2015/4/17 CI/CD for OpenStack Infrastructure -- Tony Li 25 Redhat OPENSTACK基于Atomic Host 的持续集成
还剩26页未读

继续阅读

下载pdf到电脑,查找使用更方便

pdf的实际排版效果,会与网站的显示效果略有不同!!

需要 6 金币 [ 分享pdf获得金币 ] 0 人已下载

下载pdf

pdf贡献者

lpli

贡献于2015-09-04

下载需要 6 金币 [金币充值 ]
亲,您也可以通过 分享原创pdf 来获得金币奖励!
下载pdf