Class KubernetesStandaloneClusterDescriptor

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

    public class KubernetesStandaloneClusterDescriptor
    extends org.apache.flink.kubernetes.KubernetesClusterDescriptor
    Standalone Kubernetes specific ClusterDescriptor implementation.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.flink.client.program.ClusterClientProvider<java.lang.String> deployApplicationCluster​(org.apache.flink.client.deployment.ClusterSpecification clusterSpecification, org.apache.flink.client.deployment.application.ApplicationConfiguration applicationConfiguration)  
      org.apache.flink.client.program.ClusterClientProvider<java.lang.String> deploySessionCluster​(org.apache.flink.client.deployment.ClusterSpecification clusterSpecification)  
      java.lang.String getClusterDescription()  
      • Methods inherited from class org.apache.flink.kubernetes.KubernetesClusterDescriptor

        close, deployJobCluster, killCluster, retrieve
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • KubernetesStandaloneClusterDescriptor

        public KubernetesStandaloneClusterDescriptor​(org.apache.flink.configuration.Configuration flinkConfig,
                                                     FlinkStandaloneKubeClient client)
    • Method Detail

      • getClusterDescription

        public java.lang.String getClusterDescription()
        Specified by:
        getClusterDescription in interface org.apache.flink.client.deployment.ClusterDescriptor<java.lang.String>
        Overrides:
        getClusterDescription in class org.apache.flink.kubernetes.KubernetesClusterDescriptor
      • deploySessionCluster

        public org.apache.flink.client.program.ClusterClientProvider<java.lang.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<java.lang.String>
        Overrides:
        deploySessionCluster in class org.apache.flink.kubernetes.KubernetesClusterDescriptor
        Throws:
        org.apache.flink.client.deployment.ClusterDeploymentException
      • deployApplicationCluster

        public org.apache.flink.client.program.ClusterClientProvider<java.lang.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<java.lang.String>
        Overrides:
        deployApplicationCluster in class org.apache.flink.kubernetes.KubernetesClusterDescriptor
        Throws:
        org.apache.flink.client.deployment.ClusterDeploymentException