[
https://issues.apache.org/jira/browse/FLINK-21432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17297090#comment-17297090
]
Yang Wang commented on FLINK-21432:
-----------------------------------
I do not think the environment variable "MY_POD_IP" will substituted in the
config map. Instead, I think you need to add it the the args. For application
cluster, the args could be {{args: ["standalone-job", "--job-classname",
"org.apache.flink.streaming.examples.statemachine.StateMachineExample",
"--host", "$(MY_POD_IP)"]}}. And for session cluster, the args could be {{args:
["jobmanager", "$(MY_POD_IP)]}}.
> Web UI -- Error - {"errors":["Service temporarily unavailable due to an
> ongoing leader election. Please refresh."]}
> -------------------------------------------------------------------------------------------------------------------
>
> Key: FLINK-21432
> URL: https://issues.apache.org/jira/browse/FLINK-21432
> Project: Flink
> Issue Type: Bug
> Components: Deployment / Kubernetes
> Affects Versions: 1.12.0
> Environment: debian
> Reporter: Bhagi
> Priority: Critical
> Fix For: 1.12.0
>
> Attachments: image-2021-02-22-10-39-06-180.png,
> image-2021-02-23-23-12-03-118.png, image-2021-02-23-23-14-13-708.png,
> image-2021-02-23-23-27-38-247.png, image-2021-03-04-14-14-14-471.png,
> image-2021-03-04-15-20-17-475.png, image-2021-03-05-19-03-56-809.png
>
>
> Web UI – throwing this Error
> {"errors":["Service temporarily unavailable due to an ongoing leader
> election. Please refresh."]}
> Please find Job Manager logs.
>
> !image-2021-02-22-10-39-06-180.png!
--
This message was sent by Atlassian Jira
(v8.3.4#803005)