use of edu.iu.dsc.tws.rsched.schedulers.k8s.worker.K8sVolatileVolume in project twister2 by DSC-SPIDAL.
the class MPIWorkerStarter method startWorker.
/**
* start the Worker class specified in conf files
*/
public static boolean startWorker(IWorkerController workerController, IPersistentVolume pv, String podName) {
IWorker worker = JobUtils.initializeIWorker(job);
K8sVolatileVolume volatileVolume = null;
if (computeResource.getDiskGigaBytes() > 0) {
volatileVolume = new K8sVolatileVolume(jobID, workerID);
}
MPIWorkerManager mpiWorkerManager = new MPIWorkerManager();
return mpiWorkerManager.execute(config, job, workerController, pv, volatileVolume, worker);
}
Aggregations