mirror of https://github.com/kubernetes/kops.git
Remove support for Weave as of k8s 1.23
This commit is contained in:
parent
c2292c9129
commit
dce8c32fd7
|
@ -25,7 +25,7 @@ The following table provides the support status for various networking providers
|
||||||
| Kubenet | 1.5 | 1.5 | - | - |
|
| Kubenet | 1.5 | 1.5 | - | - |
|
||||||
| Lyft VPC | 1.11 | - | 1.22 | 1.23 |
|
| Lyft VPC | 1.11 | - | 1.22 | 1.23 |
|
||||||
| Romana | 1.8 | - | 1.18 | 1.19 |
|
| Romana | 1.8 | - | 1.18 | 1.19 |
|
||||||
| Weave | 1.5 | - | - | - |
|
| Weave | 1.5 | - | 1.23 | Kubernetes 1.23 |
|
||||||
|
|
||||||
### Which networking provider should you use?
|
### Which networking provider should you use?
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
### Weave
|
### Weave
|
||||||
|
|
||||||
|
⚠ The Weave CNI is not supported for Kubernetes 1.23 or later.
|
||||||
|
|
||||||
#### Installation
|
#### Installation
|
||||||
|
|
||||||
To use the Weave, specify the following in the cluster spec.
|
To use the Weave, specify the following in the cluster spec.
|
||||||
|
|
|
@ -17,6 +17,8 @@ being used, then Kubernetes Node resources will be named after their AWS instanc
|
||||||
|
|
||||||
* Support for the Lyft CNI has been removed.
|
* Support for the Lyft CNI has been removed.
|
||||||
|
|
||||||
|
* The Weave CNI is not supported for Kubernetes 1.23 or later.
|
||||||
|
|
||||||
* Support for CentOS 7 has been removed.
|
* Support for CentOS 7 has been removed.
|
||||||
|
|
||||||
* Support for CentOS 8 has been removed.
|
* Support for CentOS 8 has been removed.
|
||||||
|
|
|
@ -718,7 +718,9 @@ func validateNetworking(cluster *kops.Cluster, v *kops.NetworkingSpec, fldPath *
|
||||||
}
|
}
|
||||||
optionTaken = true
|
optionTaken = true
|
||||||
|
|
||||||
if cluster.Spec.IsIPv6Only() {
|
if cluster.IsKubernetesGTE("1.23") {
|
||||||
|
allErrs = append(allErrs, field.Forbidden(fldPath.Child("weave"), "Weave is not supported for Kubernetes >= 1.23"))
|
||||||
|
} else if cluster.Spec.IsIPv6Only() {
|
||||||
allErrs = append(allErrs, field.Forbidden(fldPath.Child("weave"), "Weave does not support IPv6"))
|
allErrs = append(allErrs, field.Forbidden(fldPath.Child("weave"), "Weave does not support IPv6"))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue