Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .azure/scripts/setup-kubernetes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -xe

rm -rf ~/.kube

KUBE_VERSION=${KUBE_VERSION:-1.25.0}
KUBE_VERSION=${KUBE_VERSION:-1.27.0}
MINIKUBE_REGISTRY_IMAGE=${REGISTRY_IMAGE:-"registry"}
COPY_DOCKER_LOGIN=${COPY_DOCKER_LOGIN:-"false"}

Expand Down Expand Up @@ -66,6 +66,7 @@ if [ "$TEST_CLUSTER" = "minikube" ]; then
export KUBECONFIG=$HOME/.kube/config
# We can turn on network polices support by adding the following options --cni=calico
# However, it seems not working properly with kube 1.25, we should revisit it once we drop it
# Covered by https://github.com/strimzi/strimzi-kafka-operator/issues/11639
minikube start --driver=docker --kubernetes-version=${KUBE_VERSION} \
--insecure-registry=localhost:5000 --extra-config=apiserver.authorization-mode=Node,RBAC \
--cpus=${MINIKUBE_CPU} --memory=${MINIKUBE_MEMORY} --force
Expand Down
2 changes: 1 addition & 1 deletion .azure/templates/steps/default_variables.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ variables:
repo_slug: $(Build.Repository.Name)
commit_message: $(Build.SourceVersionMessage)
test_cluster: minikube
test_kubectl_version: v1.25.0
test_kubectl_version: v1.27.0
strimzi_default_log_level: DEBUG
operator_image_pull_policy: IfNotPresent
components_image_pull_policy: IfNotPresent
Expand Down
2 changes: 1 addition & 1 deletion .azure/templates/steps/prerequisites/install_minikube.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ steps:
displayName: "Setup Minikube cluster"
env:
TEST_CLUSTER: minikube
TEST_KUBECTL_VERSION: v1.25.0
TEST_KUBECTL_VERSION: v1.27.0
TEST_MINIKUBE_VERSION: v1.36.0
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ body:
attributes:
label: Kubernetes version
description: Kubernetes version where the bug occurred
placeholder: e.g. Kubernetes 1.25, OpenShift 4.11
placeholder: e.g. Kubernetes 1.27, OpenShift 4.11
validations:
required: true
- type: input
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@

* n/a

### Changes, deprecations and removals

* **From Strimzi 0.48.0 on, we support only Kubernetes 1.27 and newer.**
Kubernetes 1.25 and 1.26 are not supported anymore.

## 0.47.0

* Adding progress tracking for Cruise Control rebalances
Expand Down
2 changes: 1 addition & 1 deletion api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@
<argument>io.strimzi.crdgenerator.DocGenerator</argument>
<argument>--linker</argument>
<argument>io.strimzi.crdgenerator.KubeLinker</argument>
<argument>https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/</argument>
<argument>https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.27/</argument>
<argument>modules/appendix_crds.adoc</argument>
<argument>io.strimzi.api.kafka.model.kafka.Kafka</argument>
<argument>io.strimzi.api.kafka.model.connect.KafkaConnect</argument>
Expand Down
4 changes: 2 additions & 2 deletions api/src/main/java/io/strimzi/platform/KubernetesVersion.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ public class KubernetesVersion implements Comparable<KubernetesVersion> {

// Notable Kubernetes versions => this includes the minimal supported version and for example also any Kubernetes
// versions from some features are supported.
public static final KubernetesVersion V1_25 = new KubernetesVersion(1, 25);
public static final KubernetesVersion V1_27 = new KubernetesVersion(1, 27);

public static final KubernetesVersion MINIMAL_SUPPORTED_VERSION = V1_25;
public static final KubernetesVersion MINIMAL_SUPPORTED_VERSION = V1_27;
public static final int MINIMAL_SUPPORTED_MAJOR = MINIMAL_SUPPORTED_VERSION.major;
public static final int MINIMAL_SUPPORTED_MINOR = MINIMAL_SUPPORTED_VERSION.minor;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ Subresources subresources() default @Subresources(

/**
* The scale subresource of a custom resources that this is the definition for.
* @see <a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#customresourcesubresourcescale-v1-apiextensions-k8s-io">Kubernetes 1.25 API documtation</a>
* @see <a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.27/#customresourcesubresourcescale-v1-apiextensions-k8s-io">Kubernetes 1.27 API documtation</a>
*/
@interface Scale {
/**
Expand Down
78 changes: 39 additions & 39 deletions documentation/modules/appendix_crds.adoc

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions documentation/shared/attributes.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
:ProductVersionPrevious: 0.47.0

// Kubernetes versions
:KubernetesVersion: 1.25 and later
:KubernetesVersion: 1.27 and later

// Kafka upgrade attributes used in kafka upgrades section
:DefaultKafkaVersion: 4.0.0
Expand Down Expand Up @@ -75,7 +75,7 @@
:K8sMeaningOfMemory: link:https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/#meaning-of-memory[Meaning of memory^]
:K8sManagingComputingResources: link:https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/[Managing Compute Resources for Containers^]
:K8sLivenessReadinessProbes: link:https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/[Configure Liveness and Readiness Probes^]
:K8sNetworkPolicyPeerAPI: link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#networkpolicypeer-v1-networking-k8s-io[NetworkPolicyPeer API reference^]
:K8sNetworkPolicyPeerAPI: link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.27/#networkpolicypeer-v1-networking-k8s-io[NetworkPolicyPeer API reference^]
:K8sImagePullPolicies: link:https://kubernetes.io/docs/concepts/containers/images/#updating-images[Disruptions^]
:K8sCRDs: link:https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/[Extend the Kubernetes API with CustomResourceDefinitions^]
:K8sResizingPersistentVolumesUsingKubernetes: link:https://kubernetes.io/blog/2018/07/12/resizing-persistent-volumes-using-kubernetes/[Resizing Persistent Volumes using Kubernetes^]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Strimzi is licensed under the [Apache License, Version 2.0](https://github.com/s

## Prerequisites

- Kubernetes 1.25+
- Kubernetes 1.27+

## Installing the Chart

Expand Down
2 changes: 1 addition & 1 deletion systemtest/scripts/results_info.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ RESULTS_PATH=${1}
TEST_CASE=${2}
TEST_PROFILE=${3}
BUILD_ID=${4:-0}
KUBE_VERSION=${5:-1.25.0}
KUBE_VERSION=${5:-1.27.0}
TEST_ONLY=${6:-''}
TEST_COUNT_RUNNING_IN_PARALLEL=${7:-''}
EXCLUDED_GROUPS=${8:-''}
Expand Down
Loading