Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-21840

can't submit flink k8s session job with kubernetes.rest-service.exposed.type=NodePort

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.12.2
    • None
    • Runtime / REST
    • None
    • flink on native kubernetes with session mode

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              hayden zhou hayden zhou
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: