Rate This Document
Findability
Accuracy
Completeness
Readability

Modifying an IP Address Pool

Changing the IPIP Mode

This section describes how to change the IPIP mode of the default-ipv4-ippool IP address pool to CrossSubnet as an example.

1
calicoctl patch ipPool default-ipv4-ippool -p '{"spec": {"ipipMode": "CrossSubnet"}}'

For details about the parameter settings, see https://docs.projectcalico.org/reference/resources/ippool.

Changing the VxLAN Mode

This section describes how to change the VxLAN mode of the ippool-vxlan IP address pool to CrossSubnet as an example.

1
calicoctl patch ipPool ippool-vxlan -p '{"spec": {"vxlanMode": "CrossSubnet"}}'

For details about the parameter settings, see https://docs.projectcalico.org/reference/resources/ippool.

Disabling or Enabling an IP Address Pool

This section uses the ippool-vxlan IP address pool as an example.

1
2
calicoctl patch ipPool ippool-vxlan -p '{"spec": {"disabled": true}}'
calicoctl patch ipPool ippool-vxlan -p '{"spec": {"disabled": false}}'