Hello Guowei,

The pods terminate almost within a second so am unable to pull any logs. Is
there any way I can pull the logs?

Thanks,
Hemant

On Tue, Sep 14, 2021 at 12:22 PM Guowei Ma <guowei....@gmail.com> wrote:

> Hi,
>
> Could you share some logs when the job fails?
>
> Best,
> Guowei
>
>
> On Mon, Sep 13, 2021 at 10:59 PM bat man <tintin0...@gmail.com> wrote:
>
>> Hi,
>>
>> I am running a POC to evaluate Flink on Native Kubernetes. I tried
>> changing the default log location by using the configuration -
>> kubernetes.flink.log.dir
>> However, the job in application mode fails after bringing up the task
>> manager. This is the command I use -
>>
>> ./bin/flink run-application --target kubernetes-application
>> -Dkubernetes.cluster-id=flink-k8s-poc-app
>> -Dkubernetes.container.image=<custom-image>
>> -Dkubernetes.flink.log.dir="/var/log/containers"
>> local:///opt/flink/usrlib/uber.jar
>>
>> Is there something else which needs to be done to write logs to a
>> different location like creating the folders in the custom image.
>>
>> Thanks.
>>
>

Reply via email to