IPAM configuration

An IPAM configuration resource (IPAMConfiguration) represents global IPAM configuration options.

Sample YAML

  1. apiVersion: projectcalico.org/v3
  2. kind: IPAMConfiguration
  3. metadata:
  4. name: default
  5. spec:
  6. strictAffinity: false
  7. maxBlocksPerHost: 4

IPAM configuration definition

Metadata

FieldDescriptionAccepted ValuesSchema
nameUnique name to describe this resource instance. Required.defaultstring

The resource is a singleton which must have the name default.

Spec

FieldDescriptionAccepted ValuesSchemaDefault
strictAffinityWhen StrictAffinity is true, borrowing IP addresses is not allowed.true, falseboolfalse
maxBlocksPerHostThe max number of blocks that can be affine to each host.0 - max(int32)intunlimited

Supported operations

Datastore typeCreateDeleteUpdateGet/List
etcdv3YesYesYesYes
Kubernetes API serverYesYesYesYes