class KubernetesWorkerResourceSpecFactory extends WorkerResourceSpecFactory {

	@VisibleForTesting
	static CPUResource getDefaultCpus(Configuration configuration) {
		double fallback = configuration.getDouble(KubernetesConfigOptions.TASK_MANAGER_CPU);
		return TaskExecutorProcessUtils.getCpuCoresWithFallback(configuration, fallback);
	}

	private  KubernetesWorkerResourceSpecFactory();

}