You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "hayden zhou (Jira)" <ji...@apache.org> on 2021/03/17 06:27:00 UTC

[jira] [Created] (FLINK-21840) can't submit flink k8s session job with kubernetes.rest-service.exposed.type=NodePort

hayden zhou created FLINK-21840:
-----------------------------------

             Summary: can't submit flink k8s session job with kubernetes.rest-service.exposed.type=NodePort
                 Key: FLINK-21840
                 URL: https://issues.apache.org/jira/browse/FLINK-21840
             Project: Flink
          Issue Type: Bug
          Components: Runtime / REST
    Affects Versions: 1.12.2
         Environment: flink on native kubernetes with session mode
            Reporter: hayden zhou


I have created a flink session cluster by `kubernetes-session` command with -Dkubernetes.rest-service.exposed.type=NodePort options, because  we don't want to expose the rest service external.
when I submit flink job by `flink run --target kubernetes-session xxx` i found this command will automatically find the Kubernetes ApiServer address as the Node address. But my ApiService address IP is not in the node ips of k8s cluster. can I specific a node IP explicitly.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)