Skip to content

Commit 9690d89

Browse files
authored
[FLINK-31614] Upgrade autoscaling example to 1.17.0 image
1 parent 625b5ae commit 9690d89

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Key benefits to the user:
3636
- Detailed utilization metrics for performance debugging
3737

3838
Job requirements:
39-
- The autoscaler currently only works with the latest [Flink 1.17 snapshot images](https://ghcr.io/apache/flink-docker) or after backporting the following fixes to your 1.15/1.16 Flink image
39+
- The autoscaler currently only works with the latest [Flink 1.17](https://hub.docker.com/_/flink) or after backporting the following fixes to your 1.15/1.16 Flink image
4040
- [Job vertex parallelism overrides](https://github.com/apache/flink/commit/23ce2281a0bb4047c64def9af7ddd5f19d88e2a9) (must have)
4141
- [Support timespan for busyTime metrics](https://github.com/apache/flink/commit/a7fdab8b23cddf568fa32ee7eb804d7c3eb23a35) (good to have)
4242
- All sources must use the new [Source API](https://cwiki.apache.org/confluence/display/FLINK/FLIP-27%3A+Refactor+Source+Interface) (most common connectors already do)

examples/autoscaling/Dockerfile

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

19-
FROM ghcr.io/apache/flink-docker:1.17-SNAPSHOT-scala_2.12-java11-debian
19+
FROM flink:1.17
2020
COPY ./target/autoscaling*.jar /opt/flink/usrlib/autoscaling.jar

examples/autoscaling/autoscaling.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ spec:
5252
name: flink-volume
5353
volumes:
5454
- name: flink-volume
55+
# Flink is designed to run as a specific user with restricted privileges.
56+
# The owner of the host path should be set to "flink" with the user ID (UID) of 9999.
5557
hostPath:
5658
path: /tmp/flink
5759
type: Directory

0 commit comments

Comments
 (0)