use of org.apache.flink.kubernetes.operator.crd.FlinkDeployment in project flink-kubernetes-operator by apache.
the class TestUtils method buildApplicationCluster.
public static FlinkDeployment buildApplicationCluster() {
FlinkDeployment deployment = buildSessionCluster();
deployment.getSpec().setJob(JobSpec.builder().jarURI(SAMPLE_JAR).parallelism(1).upgradeMode(UpgradeMode.STATELESS).state(JobState.RUNNING).build());
return deployment;
}
Aggregations