修改tensorboard挂载路径
This commit is contained in:
parent
ad0d0c9a1b
commit
ef6bfa2d34
|
@ -68,7 +68,7 @@ public class TensorBoardServiceImpl implements TensorBoardService {
|
|||
LoginUser loginUser = SecurityUtils.getLoginUser();
|
||||
String podName = loginUser.getUsername().toLowerCase()+"-"+frameLogPathVo.getPath().split("/")[2]+ "-tensorboard-pod";
|
||||
|
||||
Integer podPort = k8sClientUtil.createPodWithSubPath(podName, StringUtils.isEmpty(frameLogPathVo.getNamespace()) ? "default" : frameLogPathVo.getNamespace(), port, mountPath, frameLogPathVo.getPath(), frameLogPathVo.getPvcName(), image);
|
||||
Integer podPort = k8sClientUtil.createPodWithSubPath(podName, StringUtils.isEmpty(frameLogPathVo.getNamespace()) ? "default" : frameLogPathVo.getNamespace(), port, mountPath, frameLogPathVo.getPath(), image);
|
||||
redisService.setCacheObject(podName, masterIp + ":" + podPort);
|
||||
return masterIp + ":" + podPort;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue