This is an automated email from the ASF dual-hosted git repository.
chesnay pushed a commit to branch dev-master
in repository https://gitbox.apache.org/repos/asf/flink-docker.git
The following commit(s) were added to refs/heads/dev-master by this push:
new b3e8342 [FLINK-20676] Remove deprecated 'native-k8s' command
b3e8342 is described below
commit b3e8342cf895216c49b8ce93a1bd634dd814de1a
Author: Chesnay Schepler <[email protected]>
AuthorDate: Wed Jan 20 22:37:16 2021 +0100
[FLINK-20676] Remove deprecated 'native-k8s' command
---
docker-entrypoint.sh | 13 -------------
1 file changed, 13 deletions(-)
diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh
index a982a33..b8e6804 100755
--- a/docker-entrypoint.sh
+++ b/docker-entrypoint.sh
@@ -19,8 +19,6 @@
###############################################################################
COMMAND_STANDALONE="standalone-job"
-# Deprecated, should be remove in Flink release 1.13
-COMMAND_NATIVE_KUBERNETES="native-k8s"
COMMAND_HISTORY_SERVER="history-server"
# If unspecified, the hostname of the container is taken as the JobManager
address
@@ -149,17 +147,6 @@ elif [ "$1" = "taskmanager" ]; then
envsubst < "${CONF_FILE}" > "${CONF_FILE}.tmp" && mv "${CONF_FILE}.tmp"
"${CONF_FILE}"
exec $(drop_privs_cmd) "$FLINK_HOME/bin/taskmanager.sh" start-foreground
"${args[@]}"
-elif [ "$1" = "$COMMAND_NATIVE_KUBERNETES" ]; then
- args=("${args[@]:1}")
-
- copy_plugins_if_required
-
- export _FLINK_HOME_DETERMINED=true
- . $FLINK_HOME/bin/config.sh
- export
FLINK_CLASSPATH="`constructFlinkClassPath`:$INTERNAL_HADOOP_CLASSPATHS"
- # Start commands for jobmanager and taskmanager are generated by Flink
internally.
- echo "Start command: ${args[@]}"
- exec $(drop_privs_cmd) bash -c "${args[@]}"
fi
args=("${args[@]}")