On Mon, 17 May 2021, 17:38 Priyanka Manickam, <priyanka.manick...@gmail.com> wrote:
> Hi Yang, > > I have checked the documents you have shared in the previous mail. > But i am not sure what we have to give for the $(CONTAINER_SCRIPTS) in > the line > > > -Dkubernetes.pod-template-file=$(CONTAINER_SCRIPTS)/Kubernetes-pod-template.yaml > > > Actually i was trying to get the logs from opt/flink/log folder and push > to logstash and kibana. > And I was trying with both the approach Flink Application Mode in > Kubernetes with yaml files and Native one. > > While trying with native one , I used these two pod-template files but I > am getting errors with these two also. > > Please find the attached pod-template yaml file which I was working on , > but I am getting this error -Init:0/1 > > [image: image.png] > Attached pod-template-files: > https://github.com/PriyankaManickam/flink-doubts/tree/main/Pod-template > > > Could you please tell if i have missed out anything. > > Thanks, > Priyanka Manickam > > > On Mon, May 17, 2021 at 3:09 PM Yang Wang <danrtsey...@gmail.com> wrote: > >> The feature pod template is used for native Kubernetes mode[1]. >> >> This is a common command for how to start a native K8s Flink application >> with pod template.[2] >> >> [1]. >> https://ci.apache.org/projects/flink/flink-docs-master/docs/deployment/resource-providers/native_kubernetes/#pod-template >> [2]. >> https://github.com/wangyang0918/flink/blob/FLINK-19545-k8s-ha-e2e-dev-1/flink-end-to-end-tests/test-scripts/test_kubernetes_application_ha.sh >> >> Best, >> Yang >> >> Priyanka Manickam <priyanka.manick...@gmail.com> 于2021年5月17日周一 下午3:55写道: >> >>> >>> ---------- Forwarded message --------- >>> From: Priyanka Manickam <priyanka.manick...@gmail.com> >>> Date: Fri, 14 May 2021, 21:00 >>> Subject: Getting error in pod template >>> To: Yang Wang <danrtsey...@gmail.com> >>> >>> >>> Hi yang, >>> >>> I was using pod template to fetch the logs to the particular repository. >>> >>> But while deploying i have got some error , says " >>> jobmanager-pod-template" is invalid : spec.containers(0).image: required >>> value. >>> >>> . And if i try to give add the image for flink-main-container. Its >>> giving image pull back of error. >>> >>> Am i proceeding in the a correct way . Because in the flink official >>> website , no image is added after the flink-main-container. >>> >>> Could you please help with this. I have also searchsd for the demo >>> videos for using the pod template with flink native kubernetes but i could >>> not able to find..If you could share any demo videos on the website it will >>> very useful for everyone. >>> >>> Good year ahead.. >>> >>> Thanks, >>> Priyanka Manickam. >>> >>> >>>