Skip to content

Commit f2adb15

Browse files
mateczaganygyfora
authored andcommitted
[FLINK-35640] Deprecate Flink version 1.15
1 parent 7b01553 commit f2adb15

File tree

15 files changed

+21
-19
lines changed

15 files changed

+21
-19
lines changed

docs/content.zh/docs/concepts/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Flink Kubernetes Operator 旨在承担人工操作 Flink 部署的职责。 人
4444
- 有状态和无状态应用程序升级
4545
- 保存点的触发和管理
4646
- 处理错误,回滚失败的升级
47-
- 多 Flink 版本支持:v1.15, v1.16, v1.17, v1.18
47+
- 多 Flink 版本支持:v1.16, v1.17, v1.18, v1.19
4848
- [Deployment Modes]({{< ref "docs/custom-resource/overview#application-deployments" >}}):
4949
- Application 集群
5050
- Session 集群

docs/content.zh/docs/custom-resource/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ For example, to support the hadoop fs resource:
207207
```shell script
208208
FROM apache/flink-kubernetes-operator
209209
ENV FLINK_PLUGINS_DIR=/opt/flink/plugins
210-
COPY flink-hadoop-fs-1.15-SNAPSHOT.jar $FLINK_PLUGINS_DIR/hadoop-fs/
210+
COPY flink-hadoop-fs-1.19-SNAPSHOT.jar $FLINK_PLUGINS_DIR/hadoop-fs/
211211
```
212212

213213
Alternatively, if you use helm to install flink-kubernetes-operator, it allows you to specify a postStart hook to download the required plugins.

docs/content/docs/concepts/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Flink Kubernetes Operator aims to capture the responsibilities of a human operat
3636
- Stateful and stateless application upgrades
3737
- Triggering and managing savepoints
3838
- Handling errors, rolling-back broken upgrades
39-
- Multiple Flink version support: v1.15, v1.16, v1.17, v1.18
39+
- Multiple Flink version support: v1.16, v1.17, v1.18, v1.19
4040
- [Deployment Modes]({{< ref "docs/custom-resource/overview#application-deployments" >}}):
4141
- Application cluster
4242
- Session cluster

docs/content/docs/custom-resource/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ For example, to support the hadoop fs resource:
207207
```shell script
208208
FROM apache/flink-kubernetes-operator
209209
ENV FLINK_PLUGINS_DIR=/opt/flink/plugins
210-
COPY flink-hadoop-fs-1.15-SNAPSHOT.jar $FLINK_PLUGINS_DIR/hadoop-fs/
210+
COPY flink-hadoop-fs-1.19-SNAPSHOT.jar $FLINK_PLUGINS_DIR/hadoop-fs/
211211
```
212212

213213
Alternatively, if you use helm to install flink-kubernetes-operator, it allows you to specify a postStart hook to download the required plugins.

docs/content/docs/custom-resource/reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ This serves as a full reference for FlinkDeployment and FlinkSessionJob custom r
9090
| ----- | ---- |
9191
| v1_13 | No longer supported since 1.7 operator release. |
9292
| v1_14 | No longer supported since 1.7 operator release. |
93-
| v1_15 | |
93+
| v1_15 | Deprecated since 1.10 operator release. |
9494
| v1_16 | |
9595
| v1_17 | |
9696
| v1_18 | |

examples/flink-beam-example/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# limitations under the License.
1717
################################################################################
1818

19-
FROM flink:1.15
19+
FROM flink:1.16
2020

2121
RUN mkdir /opt/flink/usrlib
2222
ADD target/flink-beam-example-*.jar /opt/flink/usrlib/beam-runner.jar

examples/flink-beam-example/beam-example.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ metadata:
2222
name: beam-example
2323
spec:
2424
image: flink-beam-example:latest
25-
flinkVersion: v1_15
25+
flinkVersion: v1_16
2626
flinkConfiguration:
2727
taskmanager.numberOfTaskSlots: "1"
2828
serviceAccount: flink

examples/flink-beam-example/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ under the License.
3333
<!-- Given that this is an example skip maven deployment -->
3434
<properties>
3535
<maven.deploy.skip>true</maven.deploy.skip>
36-
<beam.version>2.43.0</beam.version>
36+
<beam.version>2.47.0</beam.version>
3737
</properties>
3838

3939
<repositories>
@@ -71,7 +71,7 @@ under the License.
7171

7272
<dependency>
7373
<groupId>org.apache.beam</groupId>
74-
<artifactId>beam-runners-flink-1.15</artifactId>
74+
<artifactId>beam-runners-flink-1.16</artifactId>
7575
<version>${beam.version}</version>
7676
</dependency>
7777

examples/kubernetes-client-examples/src/main/java/org/apache/flink/examples/Basic.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ public static void main(String[] args) {
4444
objectMeta.setName("basic");
4545
flinkDeployment.setMetadata(objectMeta);
4646
FlinkDeploymentSpec flinkDeploymentSpec = new FlinkDeploymentSpec();
47-
flinkDeploymentSpec.setFlinkVersion(FlinkVersion.v1_15);
48-
flinkDeploymentSpec.setImage("flink:1.15");
47+
flinkDeploymentSpec.setFlinkVersion(FlinkVersion.v1_19);
48+
flinkDeploymentSpec.setImage("flink:1.19");
4949
Map<String, String> flinkConfiguration =
5050
Map.ofEntries(entry("taskmanager.numberOfTaskSlots", "2"));
5151
flinkDeploymentSpec.setFlinkConfiguration(flinkConfiguration);

flink-kubernetes-operator-api/src/main/java/org/apache/flink/kubernetes/operator/api/spec/FlinkVersion.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ public enum FlinkVersion {
2929
/** No longer supported since 1.7 operator release. */
3030
@Deprecated
3131
v1_14,
32+
/** Deprecated since 1.10 operator release. */
33+
@Deprecated
3234
v1_15,
3335
v1_16,
3436
v1_17,

0 commit comments

Comments
 (0)