Class KubernetesClusterDescriptor

  • All Implemented Interfaces:
    AutoCloseable, org.apache.flink.client.deployment.ClusterDescriptor<String>

    public class KubernetesClusterDescriptor
    extends Object
    implements org.apache.flink.client.deployment.ClusterDescriptor<String>
    Kubernetes specific ClusterDescriptor implementation.
    • Method Detail

      • getClusterDescription

        public String getClusterDescription()
        Specified by:
        getClusterDescription in interface org.apache.flink.client.deployment.ClusterDescriptor<String>
      • retrieve

        public org.apache.flink.client.program.ClusterClientProvider<String> retrieve​(String clusterId)
        Specified by:
        retrieve in interface org.apache.flink.client.deployment.ClusterDescriptor<String>
      • deploySessionCluster

        public org.apache.flink.client.program.ClusterClientProvider<String> deploySessionCluster​(org.apache.flink.client.deployment.ClusterSpecification clusterSpecification)
                                                                                           throws org.apache.flink.client.deployment.ClusterDeploymentException
        Specified by:
        deploySessionCluster in interface org.apache.flink.client.deployment.ClusterDescriptor<String>
        Throws:
        org.apache.flink.client.deployment.ClusterDeploymentException
      • deployApplicationCluster

        public org.apache.flink.client.program.ClusterClientProvider<String> deployApplicationCluster​(org.apache.flink.client.deployment.ClusterSpecification clusterSpecification,
                                                                                                      org.apache.flink.client.deployment.application.ApplicationConfiguration applicationConfiguration)
                                                                                               throws org.apache.flink.client.deployment.ClusterDeploymentException
        Specified by:
        deployApplicationCluster in interface org.apache.flink.client.deployment.ClusterDescriptor<String>
        Throws:
        org.apache.flink.client.deployment.ClusterDeploymentException
      • killCluster

        public void killCluster​(String clusterId)
                         throws org.apache.flink.util.FlinkException
        Specified by:
        killCluster in interface org.apache.flink.client.deployment.ClusterDescriptor<String>
        Throws:
        org.apache.flink.util.FlinkException
      • close

        public void close()
        Specified by:
        close in interface AutoCloseable
        Specified by:
        close in interface org.apache.flink.client.deployment.ClusterDescriptor<String>