Chesnay Schepler created FLINK-18986:
----------------------------------------
Summary: KubernetesSessionCli creates RestClusterClient for
detached deployments
Key: FLINK-18986
URL: https://issues.apache.org/jira/browse/FLINK-18986
Project: Flink
Issue Type: Bug
Components: Deployment / Kubernetes
Affects Versions: 1.11.0
Reporter: Chesnay Schepler
Assignee: Chesnay Schepler
Fix For: 1.12.0
The {{KubernetesSessionCli}} creates a {{ClusterClient}} for retrieving the
{{clusterId}} if the cluster was just started.
However, thisĀ {{clusterId}} is only used in attached executions.
For detached deployments where {{kubernetes.rest-service.exposed.type}} is set
to {{ClusterIP}} this results in unnecessary error messages about the
{{RestClusterClient}} not being able to be created.
Given that there is no need to create the client in this situation, we should
skip this step.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)