You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@streampark.apache.org by GitBox <gi...@apache.org> on 2022/11/21 04:21:03 UTC

[GitHub] [incubator-streampark] huangkaiyan10 opened a new issue, #2071: [Bug] 2.0.0 k8s deployment and k8s pod are not generated

huangkaiyan10 opened a new issue, #2071:
URL: https://github.com/apache/incubator-streampark/issues/2071

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/incubator-streampark/issues?q=is%3Aissue+label%3A%22bug%22) and found no similar issues.
   
   
   ### What happened
   
   streampark was deployed
   
   The docker setting is set
   
   Set up the flink home
   
   Authorization k8s is as follows:
   
   cp -rf  /etc/kubernetes/admin.conf  /root/.kube/config
   
   # 创建Flink作业使用的k8s namespace
   kubectl create ns znyw-base-flink-cluster
   # 对default用户进行RBAC资源绑定
   kubectl create clusterrolebinding znyw-base-flink-cluster-role-binding-default --clusterrole=edit --serviceaccount=znyw-base-flink-cluster:default
   
   sumbit flinksql to k8s but k8s deployment and k8s pod are not generated
   
   ![image](https://user-images.githubusercontent.com/5146180/202964816-9d608586-2630-42b6-a614-9da5e3886f52.png)
   
   
   ### StreamPark Version
   
   test 2.0.0
   ![153c745176371a403e23b61bcae4ef4](https://user-images.githubusercontent.com/5146180/202964693-28753fed-6384-489a-8b0e-70d2cb712af1.png)
   
   
   ### Java Version
   
   _No response_
   
   ### Flink Version
   
   jdk 8
   
   ### Scala Version of Flink
   
   2.12
   
   ### Error Exception
   
   ```log
   2022-11-21 12:04:35.572 StreamPark [ForkJoinPool-1-worker-29] ERROR o.a.s.f.k.KubernetesRetriever:71 - [StreamPark] Get flinkClient error, the error is: java.lang.RuntimeException: org.apache.flink.client.deployment.ClusterRetrieveException: Could not get the rest endpoint of data-2-kafka
   2022-11-21 12:06:20.559 StreamPark [ForkJoinPool-1-worker-22] ERROR o.a.s.f.k.KubernetesRetriever:71 - [StreamPark] Get flinkClient error, the error is: java.lang.RuntimeException: org.apache.flink.client.deployment.ClusterRetrieveException: Could not get the rest endpoint of data-2-kafka
   ```
   
   
   ### Screenshots
   
   ![image](https://user-images.githubusercontent.com/5146180/202964886-4c61018b-2f67-4379-8d71-2422f44a38f6.png)
   
   ![image](https://user-images.githubusercontent.com/5146180/202964910-de2b46d1-dcc5-4e62-8a3a-e15873173d5d.png)
   
   ![image](https://user-images.githubusercontent.com/5146180/202964937-c3a530f1-aee4-455d-a63a-0fa00d55f3f5.png)
   ![image](https://user-images.githubusercontent.com/5146180/202964969-3b11bbed-9a7e-4cd0-81a3-025c9bbbecbf.png)
   
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@streampark.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-streampark] green241 commented on issue #2071: [Bug] 2.0.0 k8s deployment and k8s pod are not generated

Posted by GitBox <gi...@apache.org>.
green241 commented on issue #2071:
URL: https://github.com/apache/incubator-streampark/issues/2071#issuecomment-1337189479

   if more log infos offered , it would be more better
   PS: you can have a try the latest dev version.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@streampark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org