Cluster-wide IPAM CNI plugin, whereabouts
설치
Reference
helm pull oci://ghcr.io/k8snetworkplumbingwg/whereabouts-chart --version 0.9.2
helm show values oci://ghcr.io/k8snetworkplumbingwg/whereabouts-chart --version 0.9.2 \
> whereabouts-0.9.2.yaml
whereabouts-values.yaml
fullnameOverride: "whereabouts"
nodeSliceController:
# Experimental
enabled: false
helm template whereabouts oci://ghcr.io/k8snetworkplumbingwg/whereabouts-chart \
--version 0.9.2 \
-n kube-system \
-f whereabouts-values.yaml \
> whereabouts.yaml
helm upgrade whereabouts oci://ghcr.io/k8snetworkplumbingwg/whereabouts-chart \
--install \
--history-max 5 \
--version 0.9.2 \
-n kube-system \
-f whereabouts-values.yaml
설정
apiVersion: "k8s.cni.cncf.io/v1"
kind: NetworkAttachmentDefinition
spec:
config: |
{
"cniVersion": "0.3.1",
"name": "xxx",
// ...
"ipam": {
"type": "whereabouts"
}
}
ipam
range: <ip>/<cidr>
range_start: <ip>
- 설정하지 않으면
range
로부터 추측합니다.
- 설정하지 않으면
range_end: <ip>
- 설정하지 않으면
range
로부터 추측합니다.
- 설정하지 않으면
ipRanges: []
range: <ip>/<cidr>
exclude: [<ip>/<cidr>]
node_slice_size: /<cidr>