From fbb9f09286f212cfaa6c4486e06e67512bbb95d7 Mon Sep 17 00:00:00 2001 From: 30404 <3040471803@qq.com> Date: Fri, 5 Jul 2024 17:15:37 +0800 Subject: [PATCH] 123456 --- app-dm/src/pages/ListPages/Training/Operation2.jsx | 2 +- python/assets/type0-pod.yaml | 8 ++++---- python/assets/type1-pod.yaml | 8 ++++---- python/del.py | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/app-dm/src/pages/ListPages/Training/Operation2.jsx b/app-dm/src/pages/ListPages/Training/Operation2.jsx index 8cfcade..4b8fdf5 100644 --- a/app-dm/src/pages/ListPages/Training/Operation2.jsx +++ b/app-dm/src/pages/ListPages/Training/Operation2.jsx @@ -130,7 +130,7 @@ function Operation2() {
{/* 导航 */} {/*

{OperationId}

*/} -

剩余时间:{formatTime(countdown)}

+ {countdown>0&&

剩余时间:{formatTime(countdown)}

}
diff --git a/python/assets/type0-pod.yaml b/python/assets/type0-pod.yaml index c6a7484..a94c2a3 100644 --- a/python/assets/type0-pod.yaml +++ b/python/assets/type0-pod.yaml @@ -17,8 +17,8 @@ spec: runAsGroup: 0 resources: limits: - cpu: '0.2' - memory: 0.2Gi + cpu: '0.5' + memory: 1.2Gi requests: - cpu: '0.1' - memory: 0.1Gi \ No newline at end of file + cpu: '0' + memory: 0Gi \ No newline at end of file diff --git a/python/assets/type1-pod.yaml b/python/assets/type1-pod.yaml index 5eda626..ccae7dc 100644 --- a/python/assets/type1-pod.yaml +++ b/python/assets/type1-pod.yaml @@ -15,8 +15,8 @@ spec: runAsGroup: 0 resources: limits: - cpu: '0.2' - memory: 0.2Gi + cpu: '0.7' + memory: 1.5Gi requests: - cpu: '0.1' - memory: 0.1Gi \ No newline at end of file + cpu: '0' + memory: 0Gi \ No newline at end of file diff --git a/python/del.py b/python/del.py index 31d8395..f3a0b05 100644 --- a/python/del.py +++ b/python/del.py @@ -1,5 +1,5 @@ import k8s_func -studentList=['n20240101-63','n20240102-63','s20240101-66'] +studentList=['s20240101-67','s20240102-67'] for i in studentList: k8s_func.delete_pod(i)