Skip to Content
For Enterprise
For Government
For Higher Ed
For Individuals
For Marketing
For Enterprise
For Government
For Higher Ed
For Individuals
For Marketing
Explore Skills
Cloud Computing
Microsoft Azure
Amazon Web Services (AWS)
Google Cloud
Cloud Migration
Cloud Deployment
Cloud Platforms
Data Engineering
Data Warehouse
SQL
Apache Spark
Microsoft SQL Server
MySQL
Kafka
Data Lake
Streaming & Messaging
NoSQL Databases
Relational Databases
Data Science
Pandas
R
MATLAB
SAS
D3
Power BI
Tableau
Statistics
Exploratory Data Analysis
Data Visualization
AI & ML
Generative AI
Machine Learning
Artificial Intelligence (AI)
Deep Learning
Reinforcement Learning
Natural Language Processing
TensorFlow
Scikit-Learn
Hyperparameter Tuning
MLOps
Programming Languages
Java
JavaScript
Spring
Python
Go
C#
C++
C
Swift
Rust
Functional Programming
Software Architecture
Object-Oriented
Distributed Systems
Domain-Driven Design
Architectural Patterns
IT/Ops
Kubernetes
Docker
GitHub
Terraform
Continuous Delivery
Continuous Integration
Database Administration
Computer Networking
Operating Systems
IT Certifications
Security
Network Security
Application Security
Incident Response
Zero Trust Model
Disaster Recovery
Penetration Testing / Ethical Hacking
Governance
Malware
Security Architecture
Security Engineering
Security Certifications
Design
Web Design
Graphic Design
Interaction Design
Film & Video
User Experience (UX)
Design Process
Design Tools
Business
Agile
Project Management
Product Management
Marketing
Human Resources
Finance
Team Management
Business Strategy
Digital Transformation
Organizational Leadership
Soft Skills
Professional Communication
Emotional Intelligence
Presentation Skills
Innovation
Critical Thinking
Public Speaking
Collaboration
Personal Productivity
Confidence / Motivation
Features
All features
Verifiable skills
AI Academy
Courses
Certifications
Interactive learning
Live events
Superstreams
Answers
Insights reporting
Radar Blog
Buy Courses
Plans
Sign In
Try Now
O'Reilly Platform
book
Kubernetes即学即用(第二版)
by
Brendan Burns
,
Joe Beda
,
Kelsey Hightower
June 2021
Intermediate to advanced
300 pages
5h 4m
Chinese
China Electric Power Press Ltd.
Content preview from
Kubernetes即学即用(第二版)
108
|
第
8
章
用户创建和修改
Ingress
对象的方式与其他对象一样。但是,默认情况下,没
有任何代码会实际操作
Ingress
对象。用户(或他们使用的发行版)必须自行
安装和管理外部控制器。因此,这种控制器是可插拔的。
Ingress
采用这种形式的原因有很多。首先,我们没有普遍适用的
HTTP
负载
均衡器。除了许多软件负载均衡器(开源的和专有的)之外,云提供商(例如,
AWS
上的
ELB
)和基于硬件的负载均衡器也提供了负载均衡的功能。其次,
Kubernetes
的
Ingress
对象出现的时间早于很多常见的可扩展功能(请参见第
16
章)。不过,随着
Ingress
的发展,以后它很可能也会采用这些机制。
8.2
安装
Contour
尽管我们有很多
Ingress
控制器可供选择,但在下面的示例中,我们将使用一
种名叫
Contour
的
Ingress
控制器。该控制器的主要用途是配置另一个开源的
负载均衡器
Envoy
(也是
CNCF
的项目)。
Envoy
可以通过
API
动态配置。
Contour Ingress
控制器负责将
Ingress
对象转换为
Envoy
可以理解的内容。
Contour
项目的官方地址为:
https://github.com/projectcontour/contour
。
Heptio
与实际客户合作创建了
Contour
,并将其用到了生产环境。
你可以通过一行简单的代码安装
Contour
:
$
kubectl apply -f https://j.hept.io/contour-deployment-rbac
请注意,该命令需要由拥有 ...
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.
Start your free trial
You might also like
PyTorch深度学习
Posts & Telecom Press, Vishnu Subramanian
Python数据分析
Posts & Telecom Press, Ivan Idris
Python贝叶斯分析(第2版)
Posts & Telecom Press, Osvaldo Martin
Python高级编程(第2版)
Posts & Telecom Press, Michał Jaworski, Tarek Ziadé
Publisher Resources
ISBN: 9787519856762