use of org.apache.flink.runtime.entrypoint.ClusterEntrypoint in project flink by apache.
the class KubernetesSessionClusterEntrypoint method main.
public static void main(String[] args) {
// startup checks and logging
EnvironmentInformation.logEnvironmentInfo(LOG, KubernetesSessionClusterEntrypoint.class.getSimpleName(), args);
SignalHandler.register(LOG);
JvmShutdownSafeguard.installAsShutdownHook(LOG);
final Configuration dynamicParameters = ClusterEntrypointUtils.parseParametersOrExit(args, new DynamicParametersConfigurationParserFactory(), KubernetesSessionClusterEntrypoint.class);
final ClusterEntrypoint entrypoint = new KubernetesSessionClusterEntrypoint(KubernetesEntrypointUtils.loadConfiguration(dynamicParameters));
ClusterEntrypoint.runClusterEntrypoint(entrypoint);
}
Aggregations