From cb01c632b6b0b81710bcc0b491fb8735c767392f Mon Sep 17 00:00:00 2001 From: eaudetcobello Date: Mon, 30 Sep 2024 12:58:04 -0400 Subject: [PATCH 1/6] Update dualstack.md We have determined that /108 is the maximum supported size. Cluster fails to bootstrap with /64 and /96. --- docs/src/snap/howto/networking/dualstack.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/snap/howto/networking/dualstack.md b/docs/src/snap/howto/networking/dualstack.md index a7114ce6f..2610ee877 100644 --- a/docs/src/snap/howto/networking/dualstack.md +++ b/docs/src/snap/howto/networking/dualstack.md @@ -138,6 +138,6 @@ cluster bootstrap process. The key configuration parameters are: When setting up dual-stack networking, it is important to consider the limitations regarding CIDR size: -- **/64 is too large for the Service CIDR**: Using a `/64` CIDR for services +- **/108 is the maximum size for the Service CIDR**: Using a smaller value than `/108` for service CIDRs may cause issues like failure to initialize the IPv6 allocator. This is due to the CIDR size being too large for Kubernetes to handle efficiently. From d980a9a129b6eb174cfc539dafcd6ff2407d3209 Mon Sep 17 00:00:00 2001 From: eaudetcobello Date: Mon, 30 Sep 2024 12:58:50 -0400 Subject: [PATCH 2/6] Update dualstack.md --- docs/src/snap/howto/networking/dualstack.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/src/snap/howto/networking/dualstack.md b/docs/src/snap/howto/networking/dualstack.md index 2610ee877..4462d9fa7 100644 --- a/docs/src/snap/howto/networking/dualstack.md +++ b/docs/src/snap/howto/networking/dualstack.md @@ -138,6 +138,7 @@ cluster bootstrap process. The key configuration parameters are: When setting up dual-stack networking, it is important to consider the limitations regarding CIDR size: -- **/108 is the maximum size for the Service CIDR**: Using a smaller value than `/108` for service CIDRs +- **/108 is the maximum size for the Service CIDR** +Using a smaller valuethan `/108` for service CIDRs may cause issues like failure to initialize the IPv6 allocator. This is due to the CIDR size being too large for Kubernetes to handle efficiently. From 37904c9af91d6fc4f15f5165d020e3ffc6023664 Mon Sep 17 00:00:00 2001 From: eaudetcobello Date: Mon, 30 Sep 2024 13:18:38 -0400 Subject: [PATCH 3/6] Update dualstack.md --- docs/src/snap/howto/networking/dualstack.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/snap/howto/networking/dualstack.md b/docs/src/snap/howto/networking/dualstack.md index 4462d9fa7..1697f5d65 100644 --- a/docs/src/snap/howto/networking/dualstack.md +++ b/docs/src/snap/howto/networking/dualstack.md @@ -139,6 +139,6 @@ When setting up dual-stack networking, it is important to consider the limitations regarding CIDR size: - **/108 is the maximum size for the Service CIDR** -Using a smaller valuethan `/108` for service CIDRs +Using a smaller value than `/108` for service CIDRs may cause issues like failure to initialize the IPv6 allocator. This is due to the CIDR size being too large for Kubernetes to handle efficiently. From e84846619b6d38811f07c180e750ede67bc3e6fe Mon Sep 17 00:00:00 2001 From: eaudetcobello Date: Mon, 30 Sep 2024 15:19:12 -0400 Subject: [PATCH 4/6] Update dualstack.md --- docs/src/snap/howto/networking/dualstack.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/src/snap/howto/networking/dualstack.md b/docs/src/snap/howto/networking/dualstack.md index 1697f5d65..78aa2e988 100644 --- a/docs/src/snap/howto/networking/dualstack.md +++ b/docs/src/snap/howto/networking/dualstack.md @@ -142,3 +142,5 @@ limitations regarding CIDR size: Using a smaller value than `/108` for service CIDRs may cause issues like failure to initialize the IPv6 allocator. This is due to the CIDR size being too large for Kubernetes to handle efficiently. + +See upstream reference: https://github.com/kubernetes/kubernetes/blob/master/cmd/kube-apiserver/app/options/validation_test.go#L435 From 28b61b1163c4ee731a8cbae329b39564d3e8019d Mon Sep 17 00:00:00 2001 From: eaudetcobello Date: Mon, 30 Sep 2024 15:22:02 -0400 Subject: [PATCH 5/6] Update dualstack.md --- docs/src/snap/howto/networking/dualstack.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/src/snap/howto/networking/dualstack.md b/docs/src/snap/howto/networking/dualstack.md index 78aa2e988..34b3dbbd2 100644 --- a/docs/src/snap/howto/networking/dualstack.md +++ b/docs/src/snap/howto/networking/dualstack.md @@ -143,4 +143,9 @@ Using a smaller value than `/108` for service CIDRs may cause issues like failure to initialize the IPv6 allocator. This is due to the CIDR size being too large for Kubernetes to handle efficiently. -See upstream reference: https://github.com/kubernetes/kubernetes/blob/master/cmd/kube-apiserver/app/options/validation_test.go#L435 +See upstream reference: [kube-apiserver validation][kube-apiserver-test] + + + +[kube-apiserver-test]: https://github.com/kubernetes/kubernetes/blob/master/cmd/kube-apiserver/app/options/validation_test.go#L435 +) From d74b6bca1b8b4de143e781e7478edad41e365743 Mon Sep 17 00:00:00 2001 From: eaudetcobello Date: Mon, 30 Sep 2024 15:22:32 -0400 Subject: [PATCH 6/6] Update dualstack.md --- docs/src/snap/howto/networking/dualstack.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/src/snap/howto/networking/dualstack.md b/docs/src/snap/howto/networking/dualstack.md index 34b3dbbd2..343a02f37 100644 --- a/docs/src/snap/howto/networking/dualstack.md +++ b/docs/src/snap/howto/networking/dualstack.md @@ -148,4 +148,3 @@ See upstream reference: [kube-apiserver validation][kube-apiserver-test] [kube-apiserver-test]: https://github.com/kubernetes/kubernetes/blob/master/cmd/kube-apiserver/app/options/validation_test.go#L435 -)