Skip to content

Commit

Permalink
doc: use ipv4NativeRoutingCIDR instead of nativeRoutingCIDR
Browse files Browse the repository at this point in the history
As the latter has been deprecated in favor of the former.

Signed-off-by: Alexandre Perrin <alex@kaworu.ch>
  • Loading branch information
kaworu committed Nov 29, 2021
1 parent 6c1dae8 commit f50c76e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Documentation/gettingstarted/encryption-ipsec.rst
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ Enable Encryption in Cilium
When using Cilium in any direct routing configuration, ensure that the
native routing CIDR is set properly. This is done using
``--ipv4-native-routing-cidr=CIDR`` with the CLI or ``--set
nativeRoutingCIDR=CIDR`` with Helm.
ipv4NativeRoutingCIDR=CIDR`` with Helm.

At this point the Cilium managed nodes will be using IPsec for all traffic. For further
information on Cilium's transparent encryption, see :ref:`ebpf_datapath`.
Expand Down
2 changes: 1 addition & 1 deletion Documentation/gettingstarted/k8s-install-helm.rst
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ Install Cilium
--set cni.binPath=/home/kubernetes/bin \\
--set gke.enabled=true \\
--set ipam.mode=kubernetes \\
--set nativeRoutingCIDR=$NATIVE_CIDR
--set ipv4NativeRoutingCIDR=$NATIVE_CIDR
The NodeInit DaemonSet is required to prepare the GKE nodes as nodes are added
to the cluster. The NodeInit DaemonSet will perform the following actions:
Expand Down
2 changes: 1 addition & 1 deletion Documentation/gettingstarted/k8s-install-openshift-okd.rst
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ The resulting configuration will look like this:
You may wish to make a few changes, e.g. increase the number of nodes.

If you do change any of the CIDRs, you will need to make sure that Helm values in ``${CLUSTER_NAME}/manifests/cluster-network-07-cilium-ciliumconfig.yaml``
reflect those changes. Namely ``clusterNetwork`` should match ``nativeRoutingCIDR``, ``clusterPoolIPv4PodCIDRList`` and ``clusterPoolIPv4MaskSize``.
reflect those changes. Namely ``clusterNetwork`` should match ``ipv4NativeRoutingCIDR``, ``clusterPoolIPv4PodCIDRList`` and ``clusterPoolIPv4MaskSize``.
Also make sure that the ``clusterNetwork`` does not conflict with ``machineNetwork`` (which represents the VPC CIDR in AWS).

.. warning::
Expand Down

0 comments on commit f50c76e

Please sign in to comment.