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

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.

主站蜘蛛池模板: 宜兰市| 尚义县| 灵寿县| 长春市| 屏东市| 田阳县| 宁晋县| 儋州市| 广宗县| 东山县| 且末县| 浦江县| 青海省| 江山市| 林州市| 彭州市| 桑植县| 巩留县| 正定县| 常宁市| 视频| 阿荣旗| 多伦县| 台南县| 拉萨市| 溆浦县| 株洲市| 靖安县| 万荣县| 海晏县| 莱西市| 沈丘县| 樟树市| 阳高县| 当雄县| 遂昌县| 金塔县| 水富县| 修水县| 清河县| 浠水县|