[ 
https://issues.apache.org/jira/browse/FLINK-20631?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

renming.qi updated FLINK-20631:
-------------------------------
    Description: 
When deploying flink using native k8s according to the doc 
[https://ci.apache.org/projects/flink/flink-docs-release-1.12/deployment/resource-providers/native_kubernetes.html,]
  the command 

{{./bin/kubernetes-session.sh -Dkubernetes.cluster-id=my-first-flink-cluster in 
the doc }}

 

{{}}{{will fail due to  }}

 
{code:java}
native-k8s: command not found
{code}
 

The deployment will pull fink:latest from docker hub and run the following 
command which is got by kubectl describe pod xxx
{code:java}
Command:
      /docker-entrypoint.sh
    Args:
      native-k8s
      $JAVA_HOME/bin/java -classpath $FLINK_CLASSPATH -Xmx1073741824 
-Xms1073741824 -XX:MaxMetaspaceSize=268435456 
-Dlog.file=/opt/flink/log/jobmanager.log 
-Dlogback.configurationFile=file:/opt/flink/conf/logback-console.xml 
-Dlog4j.configuration=file:/opt/flink/conf/log4j-console.properties 
-Dlog4j.configurationFile=file:/opt/flink/conf/log4j-console.properties 
org.apache.flink.kubernetes.entrypoint.KubernetesSessionClusterEntrypoint -D 
jobmanager.memory.off-heap.size=134217728b -D 
jobmanager.memory.jvm-overhead.min=201326592b -D 
jobmanager.memory.jvm-metaspace.size=268435456b -D 
jobmanager.memory.heap.size=1073741824b -D 
jobmanager.memory.jvm-overhead.max=201326592b

{code}
But in the image fetched,  there is no such command.

{{}}

> cannot find native-k8s when deploying flink using native kubernetes 
> --------------------------------------------------------------------
>
>                 Key: FLINK-20631
>                 URL: https://issues.apache.org/jira/browse/FLINK-20631
>             Project: Flink
>          Issue Type: Bug
>          Components: Deployment / Kubernetes
>    Affects Versions: 1.12.0
>            Reporter: renming.qi
>            Priority: Major
>
> When deploying flink using native k8s according to the doc 
> [https://ci.apache.org/projects/flink/flink-docs-release-1.12/deployment/resource-providers/native_kubernetes.html,]
>   the command 
> {{./bin/kubernetes-session.sh -Dkubernetes.cluster-id=my-first-flink-cluster 
> in the doc }}
>  
> {{}}{{will fail due to  }}
>  
> {code:java}
> native-k8s: command not found
> {code}
>  
> The deployment will pull fink:latest from docker hub and run the following 
> command which is got by kubectl describe pod xxx
> {code:java}
> Command:
>       /docker-entrypoint.sh
>     Args:
>       native-k8s
>       $JAVA_HOME/bin/java -classpath $FLINK_CLASSPATH -Xmx1073741824 
> -Xms1073741824 -XX:MaxMetaspaceSize=268435456 
> -Dlog.file=/opt/flink/log/jobmanager.log 
> -Dlogback.configurationFile=file:/opt/flink/conf/logback-console.xml 
> -Dlog4j.configuration=file:/opt/flink/conf/log4j-console.properties 
> -Dlog4j.configurationFile=file:/opt/flink/conf/log4j-console.properties 
> org.apache.flink.kubernetes.entrypoint.KubernetesSessionClusterEntrypoint -D 
> jobmanager.memory.off-heap.size=134217728b -D 
> jobmanager.memory.jvm-overhead.min=201326592b -D 
> jobmanager.memory.jvm-metaspace.size=268435456b -D 
> jobmanager.memory.heap.size=1073741824b -D 
> jobmanager.memory.jvm-overhead.max=201326592b
> {code}
> But in the image fetched,  there is no such command.
> {{}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to