Comment 3 for bug 1809355

Revision history for this message
George Kraft (cynerva) wrote :

Fixed by https://github.com/charmed-kubernetes/layer-calico/pull/33, which is available with cs:~containers/calico-630 in the edge channel.

The fix makes the CIDR configurable:

juju config calico cidr=192.168.0.0/16

And makes it possible to bypass charm pool management so you can manually configure multiple pools if needed:

juju config calico manage-pools=false
juju ssh calico/0 calicoctl apply -f - << EOF
apiVersion: projectcalico.org/v3
kind: IPPool
metadata:
  name: my-pool
spec:
  cidr: 192.168.0.0/24
  ipipMode: Never
  natOutgoing: true
EOF