[
https://issues.apache.org/jira/browse/FLINK-15682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17019846#comment-17019846
]
Yang Wang commented on FLINK-15682:
-----------------------------------
[~yuzhaojing] If you really want to run manually, you could use the following
command. Also you need to set a kube config that could be used to contact to
K8s api server to create pods.
Note: You should use single quote, not double quote.
{code:java}
/opt/flink/bin/kubernetes-entry.sh /bin/bash -c '$JAVA_HOME/bin/java -classpath
$FLINK_CLASSPATH -Xms2024m -Xmx2048m -Dlog.file=/opt/flink/log/jobmanager.log
-Dlogback.configurationFile=file:/opt/flink/conf/logback.xml
-Dlog4j.configuration=file:/opt/flink/conf/log4j.properties
org.apache.flink.kubernetes.entrypoint.KubernetesSessionClusterEntrypoint 1>
/opt/flink/log/jobmanager.out 2> /opt/flink/log/jobmanager.err'
{code}
> Flink native kubernetes Could not run
> -------------------------------------
>
> Key: FLINK-15682
> URL: https://issues.apache.org/jira/browse/FLINK-15682
> Project: Flink
> Issue Type: Bug
> Components: Deployment / Kubernetes
> Reporter: yuzhaojing
> Priority: Blocker
> Labels: pull-request-available
> Fix For: 1.10.0
>
> Attachments: image-2020-01-21-10-37-42-248.png
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Currently,native kubernetes use exec /bin/bash -c java_command to start
> jobmanager and taskmanager.but there are $Flink_ClassPath in
> java_command,when use exec $@,this env can't be parse.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)