- Getting Started with Kubernetes
- Jonathan Baier Jesse White
- 268字
- 2021-06-10 19:47:12
Networking options
There are two approaches to the networking model that we have suggested. First, you can use one of the CNI plugins that exist in the ecosystem. This involves solutions that work with native networking layers of AWS, GCP, and Azure. There are also overlay-friendly plugins, which we'll cover in the next section. CNI is meant to be a common plugin architecture for containers. It's currently supported by several orchestration tools such as Kubernetes, Mesos, and CloudFoundry.
If you're looking for a simpler alternative for testing and using smaller clusters, you can use the kubenet plugin, which uses bridge and host-local CNI plugs with a straightforward implementation of cbr0. This plugin is only available on Linux, and doesn't provide any advanced features. As it's often used with the supplementation of a cloud provider's networking stance, it does not handle policies or cross-node networking.
Just as with CPU, memory, and storage, Kubernetes takes advantage of network namespaces, each with their own iptables rules, interfaces, and route tables. Kubernetes uses iptables and NAT to manage multiple logical addresses that sit behind a single physical address, though you have the option to provide your cluster with multiple physical interfaces (NICs). Most people will find themselves generating multiple logical interfaces and using technologies such as multiplexing, virtual bridges, and hardware switching using SR-IOV in order to create multiple devices.
Always refer to the Kubernetes documentation for the latest and full list of supported networking options.
- Mastering Spark for Data Science
- 基于LabWindows/CVI的虛擬儀器設計與應用
- 并行數據挖掘及性能優化:關聯規則與數據相關性分析
- 數據挖掘方法及天體光譜挖掘技術
- 完全掌握AutoCAD 2008中文版:機械篇
- Troubleshooting OpenVPN
- PostgreSQL 10 Administration Cookbook
- 基于企業網站的顧客感知服務質量評價理論模型與實證研究
- 強化學習
- 簡明學中文版Photoshop
- 機器學習案例分析(基于Python語言)
- 菜鳥起飛電腦組裝·維護與故障排查
- 智能+:制造業的智能化轉型
- 網站規劃與網頁設計
- Machine Learning with R Quick Start Guide