Skip to content

Commit

Permalink
chore: change support K8s version list
Browse files Browse the repository at this point in the history
Signed-off-by: Rory Z <16801068+Rory-Z@users.noreply.github.com>
  • Loading branch information
Rory-Z committed Dec 24, 2024
1 parent d833759 commit 2f4089d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 13 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/cts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@ jobs:
- minikube
- k3s
kubernetes-version:
- "v1.20.0"
- "v1.21.0"
- "v1.22.0"
- "v1.23.0"
- "v1.24.0"
- "v1.25.0"
- "v1.26.0"
- "v1.27.0"
- "v1.28.0"
- "v1.29.0"
- "v1.30.0"
- "v1.31.0"
- "v1.32.0"
steps:
- if: matrix.kubernetes-env == 'k3s'
run: |
Expand Down Expand Up @@ -99,16 +99,16 @@ jobs:
- minikube
- k3s
kubernetes-version:
- "v1.20.0"
- "v1.21.0"
- "v1.22.0"
- "v1.23.0"
- "v1.24.0"
- "v1.25.0"
- "v1.26.0"
- "v1.27.0"
- "v1.28.0"
- "v1.29.0"
- "v1.30.0"
- "v1.31.0"
- "v1.32.0"
emqx:
# - [EmqxBroker, emqx, "config/samples/emqx/v1beta4/emqxbroker-slim.yaml"]
# - [EmqxBroker, emqx, "config/samples/emqx/v1beta4/emqxbroker-full.yaml"]
Expand Down
9 changes: 2 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,9 @@ The EMQX Operator requires a Kubernetes cluster of version `>=1.24`.

| Kubernetes Versions | EMQX Operator Compatibility | Notes |
| ----------------------- | ------------------------------------------------------------ | ------------------------------------------------------------ |
| 1.29 (included) ~ latest | All functions supported | https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/#validation-rules |
| 1.25 (included) ~ 1.29 | Supported, but [CustomResourceDefinition Validation Rules](https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/#validation-rules) is in beta | https://kubernetes.io/blog/2022/09/23/crd-validation-rules-beta/ |
| 1.23 (included) ~ 1.25 | Supported, except [CustomResourceDefinition Validation Rules](https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/#validation-rules) | some CRD validation rules might not worked |
| 1.24 (included) ~ latest | All functions supported | |
| 1.22 (included) ~ 1.23 | Supported, except [MixedProtocolLBService](https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/) | EMQX cluster can only use one protocol in `LoadBalancer` type of Service, for example TCP or UDP. |
| 1.21 (included) ~ 1.22 | Supported, except [pod-deletion-cost](https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/#pod-deletion-cost) | When using EMQX Core + Replicant mode cluster, updating the EMQX cluster cannot accurately delete Pods. |
| 1.20 (included) ~ 1.21 | Supported, manual `.spec.ports[].nodePort` assignment required if using `NodePort` type of Service | For more details, please refer to [Kubernetes changelog](https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.20.md#bug-or-regression-4). |
| 1.16 (included) ~ 1.20 | Supported, not recommended due to lack of testing | |
| Lower than 1.16 | Not supported | `apiextensions/v1` APIVersion is not supported. |
| Lower than 1.22 | Not supported | `unknown field "x-kubernetes-validations" in io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps]` |

## CustomResourceDefinitions

Expand Down

0 comments on commit 2f4089d

Please sign in to comment.