Module for assigning IP addresses on interfaces created by Multus (shturval-metacni-ipam)
Раздел «Cluster administrator»: быстрый переход по подразделам
На этой странице
About the service
| Parameter | Description |
|---|---|
| GUI name | Module for assigning IP addresses on interfaces created by Multus |
| System name (identifier) | shturval-metacni-ipam |
| Cluster Assignment | Assigning IP addresses on interfaces created by Multus (shturval-metacni); IPAM for secondary networks. |
| Critical | No |
| Public repository | Whereabouts |
| Dependencies | shturval-networking, shturval-metacni |
| Namespace | kube-system |
Purpose
shturval-metacni-ipam - module for assigning IP addresses on Multus interfaces based on Whereabouts. Used in conjunction with shturval-metacni to allocate IPs from a pool in additional pod networks.
Where to configure
Services and repositories → Installed services → shturval-metacni-ipam → Manage.
Note: Requires installation in namespace kube-system.
Usage
IPAM (IP Address Management) options are configured in the NetworkAttachmentDefinition resource in the ipam field. The module allows you to:
- assign IP addresses from a range in CIDR notation without a DHCP server;
- add IP addresses to the exclusion list.
The IP address is tracked in the data store throughout the life of the pod and is “released” when it is deleted.
Example of ipam section in NetworkAttachmentDefinition
apiVersion: k8s.cni.cncf.io/v1
kind: NetworkAttachmentDefinition
metadata:
name: ipam-conf
spec:
config: |
{
"cniVersion": "0.3.1",
"name": "ipam-conf",
"type": "macvlan",
"master": "eth0",
"ipam": {
"type": "whereabouts",
"range": "192.168.2.0/24",
"exclude": [
"192.168.2.0/28",
"192.168.2.240/28"
]
}
How to deploy this service - How to deploy a new service.