- 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.
- Hands-On Intelligent Agents with OpenAI Gym
- 數(shù)據(jù)展現(xiàn)的藝術(shù)
- 大數(shù)據(jù)項(xiàng)目管理:從規(guī)劃到實(shí)現(xiàn)
- Word 2000、Excel 2000、PowerPoint 2000上機(jī)指導(dǎo)與練習(xí)
- Mastercam 2017數(shù)控加工自動(dòng)編程經(jīng)典實(shí)例(第4版)
- Learning Apache Cassandra(Second Edition)
- 數(shù)據(jù)挖掘?qū)嵱冒咐治?/a>
- 大數(shù)據(jù)改變世界
- 小型電動(dòng)機(jī)實(shí)用設(shè)計(jì)手冊(cè)
- Mastering Machine Learning Algorithms
- 計(jì)算機(jī)網(wǎng)絡(luò)技術(shù)實(shí)訓(xùn)
- Red Hat Linux 9實(shí)務(wù)自學(xué)手冊(cè)
- 精通數(shù)據(jù)科學(xué):從線性回歸到深度學(xué)習(xí)
- Hands-On Dashboard Development with QlikView
- 經(jīng)典Java EE企業(yè)應(yīng)用實(shí)戰(zhàn)