Mastering Kubernetes - Fourth Edition by Gigi Sayfan

Mastering Kubernetes - Fourth Edition by Gigi Sayfan

Author:Gigi Sayfan
Language: eng
Format: epub
Publisher: Packt
Published: 2023-11-15T00:00:00+00:00


Kubenet

Back to Kubernetes. Kubenet is a network plugin. It’s very rudimentary: it establishes a Linux bridge named cbr0 and creates a veth interface for each pod. This is commonly used by cloud providers to configure routing rules for communication between nodes, or in single-node environments. The veth pair connects each pod to its host node using an IP address from the host’s IP address’ range.

Requirements

The Kubenet plugin has the following requirements:

The node must be assigned a subnet to allocate IP addresses to its pods

The standard CNI bridge, lo, and host-local plugins must be installed at version 0.2.0 or higher

The kubelet must be executed with the --network-plugin=kubenet flag

The kubelet must be executed with the --non-masquerade-cidr=<clusterCidr> flag

The kubelet must be run with --pod-cidr or the kube-controller-manager must be run with --allocate-node-cidrs=true --cluster-cidr=<cidr>



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.