Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates Multi-Pool IPAM Docs for v1.14 Release #26967

Merged
merged 1 commit into from
Jul 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion Documentation/network/concepts/ipam/multi-pool.rst
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ PodCIDRs are allocated:
New pools can be added at run-time. The list of CIDRs in each pool can also be
extended at run-time. In-use CIDRs may not be removed from an existing pool, and
existing pools may not be deleted if they are still in use by a Cilium node.
The mask size of a pool is immutable and the same for all nodes.
The mask size of a pool is immutable and the same for all nodes. Neither restriction
is enforced until :gh-issue:`26966` is resolved.

Configuration
*************
Expand Down
13 changes: 11 additions & 2 deletions Documentation/network/kubernetes/ipam-multi-pool.rst
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ Validate installation
spec:
containers:
- name: nginx
image: nginx:1.14.2
image: nginx:1.25.1
ports:
- containerPort: 80
---
Expand All @@ -145,7 +145,7 @@ Validate installation
spec:
containers:
- name: nginx
image: nginx:1.14.2
image: nginx:1.25.1
ports:
- containerPort: 80
EOF
Expand All @@ -162,6 +162,13 @@ Validate installation
nginx-mars-76766f95f5-d9vzt 1/1 Running 0 5s 10.20.0.20 kind-worker2 <none> <none>
nginx-mars-76766f95f5-mtn2r 1/1 Running 0 5s 10.20.0.37 kind-worker <none> <none>

#. Test connectivity between pods:

.. code-block:: shell-session

$ kubectl exec pod/nginx-default-79885c7f58-fdfgf -- curl -s -o /dev/null -w "%{http_code}" http://10.20.0.37
200

#. Alternatively, the ``ipam.cilium.io/ipam-pool`` annotation can also be applied to a namespace:

.. code-block:: shell-session
Expand All @@ -179,6 +186,8 @@ Validate installation
[...]
✅ All 42 tests (295 actions) successful, 13 tests skipped, 0 scenarios skipped.

**Note:** The connectivity test requires a cluster with at least 2 worker nodes to complete successfully.
joestringer marked this conversation as resolved.
Show resolved Hide resolved

#. Verify that the connectivity test pods were assigned IPv4 addresses from the 10.20.0.0/16 CIDR
defined in the ``mars`` pool:

Expand Down