Skip to content

Commit

Permalink
Remove deprecation of kube-router
Browse files Browse the repository at this point in the history
  • Loading branch information
aauren committed Nov 18, 2023
1 parent 36ad005 commit 6903c6c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 0 additions & 2 deletions docs/networking/kube-router.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Kube-router

⚠ The Kube-router CNI is not supported for Kubernetes 1.28 or later.

[Kube-router](https://github.com/cloudnativelabs/kube-router) is project that provides one cohesive solution that provides CNI networking for pods, an IPVS based network service proxy and iptables based network policy enforcement.

Kube-router also provides a service proxy, so kube-proxy will not be deployed in to the cluster.
Expand Down
4 changes: 1 addition & 3 deletions pkg/apis/kops/validation/validation.go
Original file line number Diff line number Diff line change
Expand Up @@ -1147,9 +1147,7 @@ func validateNetworking(cluster *kops.Cluster, v *kops.NetworkingSpec, fldPath *
}
optionTaken = true

if cluster.IsKubernetesGTE("1.28") {
allErrs = append(allErrs, field.Forbidden(fldPath.Child("kubeRouter"), "kube-router is not supported for Kubernetes >= 1.28"))
} else if cluster.Spec.IsIPv6Only() {
if cluster.Spec.IsIPv6Only() {
allErrs = append(allErrs, field.Forbidden(fldPath.Child("kubeRouter"), "kube-router does not support IPv6"))
}
}
Expand Down

0 comments on commit 6903c6c

Please sign in to comment.