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/10/26 09:08:31 UTC
[GitHub] [incubator-streampark] huangkaiyan10 opened a new issue, #1909: Kube Conf File setting of kubernetes session is invalid
huangkaiyan10 opened a new issue, #1909:
URL: https://github.com/apache/incubator-streampark/issues/1909
### Search before asking
- [X] I had searched in the [issues](https://github.com/apache/streampark/issues?q=is%3Aissue+label%3A%22bug%22) and found no similar issues.
### What happened
at setting page ,i new add a flink cluster of kubernetes session and setting Kube Conf File value is /etc/kubernetes/admin.conf. and start cluster but exception.



### StreamPark Version
1.2.3
### Java Version
jdk8
### Flink Version
1.14.5-2.12
### Scala Version of Flink
2.12
### Error Exception
```log
Caused by: java.nio.file.NoSuchFileException: /etc/kubernetes/admin.conf
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214)
at java.nio.file.Files.newByteChannel(Files.java:361)
at java.nio.file.Files.newByteChannel(Files.java:407)
at org.apache.flink.util.FileUtils.readAllBytes(FileUtils.java:171)
at org.apache.flink.util.FileUtils.readFile(FileUtils.java:137)
at org.apache.flink.util.FileUtils.readFileUtf8(FileUtils.java:142)
at org.apache.flink.kubernetes.kubeclient.FlinkKubeClientFactory.fromConfiguration(FlinkKubeClientFactory.java:80)
... 22 more
```
### Screenshots

### 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
Re: [I] Kube Conf File setting of kubernetes session is invalid [streampark]
Posted by "wolfboys (via GitHub)" <gi...@apache.org>.
wolfboys closed issue #1909: Kube Conf File setting of kubernetes session is invalid
URL: https://github.com/apache/streampark/issues/1909
--
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
[GitHub] [incubator-streampark] huangkaiyan10 commented on issue #1909: Kube Conf File setting of kubernetes session is invalid
Posted by GitBox <gi...@apache.org>.
huangkaiyan10 commented on issue #1909:
URL: https://github.com/apache/incubator-streampark/issues/1909#issuecomment-1291733033
I solve the problem in this way.
cp -rf /etc/kubernetes/admin.conf /root/.kube/config
--
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
Re: [I] Kube Conf File setting of kubernetes session is invalid [streampark]
Posted by "wolfboys (via GitHub)" <gi...@apache.org>.
wolfboys commented on issue #1909:
URL: https://github.com/apache/streampark/issues/1909#issuecomment-5523251848
Thanks for your feedback. We are closing this issue because it is outdated.
--
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