mirror of https://github.com/kubernetes/kops.git
Remove deprecation of kube-router
This commit is contained in:
parent
36ad005876
commit
6903c6cb0e
|
@ -1,7 +1,5 @@
|
||||||
# Kube-router
|
# 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](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.
|
Kube-router also provides a service proxy, so kube-proxy will not be deployed in to the cluster.
|
||||||
|
|
|
@ -1147,9 +1147,7 @@ func validateNetworking(cluster *kops.Cluster, v *kops.NetworkingSpec, fldPath *
|
||||||
}
|
}
|
||||||
optionTaken = true
|
optionTaken = true
|
||||||
|
|
||||||
if cluster.IsKubernetesGTE("1.28") {
|
if cluster.Spec.IsIPv6Only() {
|
||||||
allErrs = append(allErrs, field.Forbidden(fldPath.Child("kubeRouter"), "kube-router is not supported for Kubernetes >= 1.28"))
|
|
||||||
} else if cluster.Spec.IsIPv6Only() {
|
|
||||||
allErrs = append(allErrs, field.Forbidden(fldPath.Child("kubeRouter"), "kube-router does not support IPv6"))
|
allErrs = append(allErrs, field.Forbidden(fldPath.Child("kubeRouter"), "kube-router does not support IPv6"))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue