You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by gy...@apache.org on 2022/09/22 20:40:03 UTC
[flink-kubernetes-operator] branch main updated: [FLINK-29393] Upgrade Kubernetes operator examples to use 1.15.2 Flink base image
This is an automated email from the ASF dual-hosted git repository.
gyfora pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/flink-kubernetes-operator.git
The following commit(s) were added to refs/heads/main by this push:
new 66987fb9 [FLINK-29393] Upgrade Kubernetes operator examples to use 1.15.2 Flink base image
66987fb9 is described below
commit 66987fb9b4d6f7a315024cff27dac12886b1ee88
Author: Gabor Somogyi <ga...@apple.com>
AuthorDate: Thu Sep 22 14:51:56 2022 +0200
[FLINK-29393] Upgrade Kubernetes operator examples to use 1.15.2 Flink base image
---
examples/basic-session-deployment-and-job.yaml | 4 ++--
examples/flink-sql-runner-example/Dockerfile | 2 +-
examples/pod-template.yaml | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/examples/basic-session-deployment-and-job.yaml b/examples/basic-session-deployment-and-job.yaml
index c70ac89a..613bfdbe 100644
--- a/examples/basic-session-deployment-and-job.yaml
+++ b/examples/basic-session-deployment-and-job.yaml
@@ -40,7 +40,7 @@ metadata:
spec:
deploymentName: basic-session-deployment-example
job:
- jarURI: https://repo1.maven.org/maven2/org/apache/flink/flink-examples-streaming_2.12/1.15.1/flink-examples-streaming_2.12-1.15.1-TopSpeedWindowing.jar
+ jarURI: https://repo1.maven.org/maven2/org/apache/flink/flink-examples-streaming_2.12/1.15.2/flink-examples-streaming_2.12-1.15.2-TopSpeedWindowing.jar
parallelism: 4
upgradeMode: stateless
@@ -52,7 +52,7 @@ metadata:
spec:
deploymentName: basic-session-deployment-example
job:
- jarURI: https://repo1.maven.org/maven2/org/apache/flink/flink-examples-streaming_2.12/1.15.1/flink-examples-streaming_2.12-1.15.1.jar
+ jarURI: https://repo1.maven.org/maven2/org/apache/flink/flink-examples-streaming_2.12/1.15.2/flink-examples-streaming_2.12-1.15.2.jar
parallelism: 2
upgradeMode: stateless
entryClass: org.apache.flink.streaming.examples.statemachine.StateMachineExample
diff --git a/examples/flink-sql-runner-example/Dockerfile b/examples/flink-sql-runner-example/Dockerfile
index 9288f08e..3d687016 100644
--- a/examples/flink-sql-runner-example/Dockerfile
+++ b/examples/flink-sql-runner-example/Dockerfile
@@ -16,7 +16,7 @@
# limitations under the License.
################################################################################
-FROM flink:1.15.1
+FROM flink:1.15
RUN mkdir /opt/flink/usrlib
ADD target/flink-sql-runner-example-*.jar /opt/flink/usrlib/sql-runner.jar
diff --git a/examples/pod-template.yaml b/examples/pod-template.yaml
index 61431fa7..f2b6c6cb 100644
--- a/examples/pod-template.yaml
+++ b/examples/pod-template.yaml
@@ -73,7 +73,7 @@ spec:
- /bin/sh
- -c
- "wget -O /opt/flink/downloads/flink-examples-streaming.jar \
- https://repo1.maven.org/maven2/org/apache/flink/flink-examples-streaming_2.12/1.15.1/flink-examples-streaming_2.12-1.15.1.jar"
+ https://repo1.maven.org/maven2/org/apache/flink/flink-examples-streaming_2.12/1.15.2/flink-examples-streaming_2.12-1.15.2.jar"
taskManager:
resource:
memory: "2048m"