Skip to Content
Java持续交付
book

Java持续交付

by Daniel Bryant, Abraham Marín-Pérez
November 2019
Beginner to intermediate
406 pages
9h 21m
Chinese
Publishing House of Electronics Industry
Content preview from Java持续交付
214
10
通过管道进行部署和发布
10-7:添加一个部署到Kubernetes 的构建步骤
Deploy to Kubernetes
步骤只需要引用之前创建的两个配置
Kubeconfig
(你可以选择之
前创建的
Kubeconfig
证书,如图
10-8
中的“
Kubernetes
”所示),以及指向仓库中服务
定义的路径。然后保存该任务,这样就可以将服务自动部署到
Kubernetes
了。
10-8:配置部署到Kubernetes的构建步骤
然后,你可以为每个服务都重复这套步骤,或者调整现有服务的参数,具体示例可以参
jenkins-kubernetes
目录。
部署应用程序
215
使用
Helm
来打包
Kubernetes
应用程序
如果你现在创建的
Kubernetes
服务或应用程序,安装过程比较复杂,或者依赖于
多个外部服务,那么可能需要使用
Helm
软件包管理器(
https://helm.sh/
)。
Helm
允许你创建与传统包管理器(例如,
RPM
DEB
)非常相似的
chart
构件,它不
仅可以绑定所有必需的配置,还可以方便地进行升级和审计。
CLI
示例
Amazon ECS
在构建管道中使用插件的一个优点是,它们通常操作更加友好。另一方面,它们的缺点
是可移植性较差,如果你想要更换成另一个自动构建平台,可能需要从头开始 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

写给系统管理员的Python脚本编程指南

写给系统管理员的Python脚本编程指南

Posts & Telecom Press, Ganesh Sanjiv Naik
Python和NLTK实现自然语言处理

Python和NLTK实现自然语言处理

Posts & Telecom Press, Nitin Hardeniya
解密金融数据

解密金融数据

Justin Pauley
Python机器学习案例精解

Python机器学习案例精解

Posts & Telecom Press, Yuxi (Hayden) Liu

Publisher Resources

ISBN: 9787121374425