Class KubernetesClusterClientFactory

    • Constructor Detail

      • KubernetesClusterClientFactory

        public KubernetesClusterClientFactory()
    • Method Detail

      • getClusterId

        @Nullable
        public String getClusterId​(Configuration configuration)
        Description copied from interface: ClusterClientFactory
        Returns the cluster id if a cluster id is specified in the provided configuration, otherwise it returns null.

        A cluster id identifies a running cluster, e.g. the Yarn application id for a Flink cluster running on Yarn.

        Parameters:
        configuration - containing the configuration options relevant for the cluster id retrieval
        Returns:
        Cluster id identifying the cluster to deploy jobs to or null
      • getApplicationTargetName

        public Optional<String> getApplicationTargetName()
        Description copied from interface: ClusterClientFactory
        Returns the option to be used when trying to execute an application in Application Mode using this cluster client factory, or an Optional.empty() if the environment of this cluster client factory does not support Application Mode.