官术网_书友最值得收藏!

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.

Network plugins are considered in alpha and therefore their capabilities, content, and configuration will change rapidly.

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.

You can find out more information at  https://github.com/containernetworking/cni.

Always refer to the Kubernetes documentation for the latest and full list of supported networking options.

主站蜘蛛池模板: 乐都县| 合肥市| 乌什县| 涟水县| 任丘市| 紫阳县| 天峨县| 潜江市| 桦川县| 中江县| 景谷| 仁怀市| 富裕县| 辰溪县| 尼勒克县| 吉安县| 若尔盖县| 柘荣县| 丹江口市| 东乡| 准格尔旗| 江北区| 连山| 肥西县| 双桥区| 屏山县| 北京市| 东明县| 洛扎县| 格尔木市| 彭阳县| 安岳县| 达孜县| 曲松县| 玉山县| 牙克石市| 报价| 昌宁县| 绥中县| 买车| 西畴县|