Remove deprecation of kube-router

This commit is contained in:
Aaron U'Ren 2023-11-18 15:36:56 -06:00
parent 36ad005876
commit 6903c6cb0e
No known key found for this signature in database
GPG Key ID: 3A160440911786EE
2 changed files with 1 additions and 5 deletions

View File

@ -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.

View File

@ -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"))
}
}