Native kubernetes setup

2020-11-02 Thread Boris Lublinsky
Hi, I was trying to follow instructions https://ci.apache.org/projects/flink/flink-docs-stable/ops/deployment/native_kubernetes.html but non e of them really worked. For session I tried: /Users/bori

Re: Native kubernetes setup

2020-11-03 Thread Chesnay Schepler
1) -Dkubernetes.namespace 2) The -D syntax is actually just a way to specify configurations options from the command-line. As such, the configuration page lists all options. 3) if the diff between the conf

Re: Native kubernetes setup

2020-11-03 Thread Yang Wang
You could follow the guide[1] here to output the logs to the console so that it could be accessed via "kubectl logs". And from 1.12. we will make this as default. [1]. https://ci.apache.org/projects/flink/flink-docs-release-1.11/ops/deployment/native_kubernetes.html#log-files Best, Yang Chesnay

Re: Native kubernetes setup

2020-11-03 Thread Boris Lublinsky
Thanks a lot, This helped a lot. And I did make it work. It probably would of help if documentation, explicitly gave an example of role/rolebinding, something like: kubectl apply -f - < On Nov 3, 2020, at 7:02 AM, Yang Wang wrote: > > You could follow the guide[1] here to output the logs to the

Re: Native kubernetes setup

2020-11-06 Thread Yang Wang
Actually, in our document, we have provided a command[1] to create the service account. It is similar to your yaml file. $ kubectl create clusterrolebinding flink-role-binding-default --clusterrole=edit --serviceaccount=default:default Unfortunately, we could not support mounting a PVC. We plan

Re: Native kubernetes setup

2020-11-11 Thread Boris Lublinsky
Guys, I just created a simple PR https://github.com/apache/flink/pull/14005 allowing me to mount different K8 resources - PVCs, Secrets, configmaps > On Nov 6, 2020, at 6:37 AM, Yang Wang wrote: > > Actually, in our document, we have provided a com

Native kubernetes setup failed to start job

2020-10-29 Thread Chen Liangde
I created a flink cluster in kubernetes following this guide: https://ci.apache.org/projects/flink/flink-docs-release-1.11/ops/deployment/native_kubernetes.html The job manager was running. When a job was submitted to the job manager, it spawned a task manager pod, but the task manager failed to c

Re: Native kubernetes setup failed to start job

2020-10-29 Thread Yun Gao
Hi Liangde, I pull in Yang Wang who is the expert for Flink on K8s. Best, Yun --Original Mail -- Sender:Chen Liangde Send Date:Fri Oct 30 05:30:40 2020 Recipients:Flink ML Subject:Native kubernetes setup failed to start job I created a flink cluster in k

Re: Native kubernetes setup failed to start job

2020-11-01 Thread Yang Wang
he expert for Flink on K8s. > > Best, > Yun > > --Original Mail -- > *Sender:*Chen Liangde > *Send Date:*Fri Oct 30 05:30:40 2020 > *Recipients:*Flink ML > *Subject:*Native kubernetes setup failed to start job > >> I created

Re: Native kubernetes setup failed to start job

2020-11-01 Thread Chen Liangde
or Flink on K8s. >> >> Best, >> Yun >> >> --Original Mail ------ >> *Sender:*Chen Liangde >> *Send Date:*Fri Oct 30 05:30:40 2020 >> *Recipients:*Flink ML >> *Subject:*Native kubernetes setup failed to start job >>

Re: Native kubernetes setup failed to start job

2020-11-02 Thread Yang Wang
gt;> >>>I pull in Yang Wang who is the expert for Flink on K8s. >>> >>> Best, >>> Yun >>> >>> --Original Mail -- >>> *Sender:*Chen Liangde >>> *Send Date:*Fri Oct 30 05:30:40 2020 >&

Re: Native kubernetes setup failed to start job

2020-11-02 Thread Yang Wang
you could share more information about the environment. I >>> could not reproduce >>> your issue in a typical K8s cluster. >>> >>> Best, >>> Yang >>> >>> Yun Gao 于2020年10月30日周五 上午11:53写道: >>> >>>> Hi Liangde, >>>>