This commit is contained in:
nopy 2024-07-06 01:00:44 +08:00
commit 7f690bb39c
4 changed files with 10 additions and 10 deletions

View File

@ -130,7 +130,7 @@ function Operation2() {
<div className='nav-operation2'> <div className='nav-operation2'>
{/* 导航 */} {/* 导航 */}
{/* <h1>{OperationId}</h1> */} {/* <h1>{OperationId}</h1> */}
<p>剩余时间{formatTime(countdown)}</p> {countdown>0&& <p>剩余时间{formatTime(countdown)}</p>}
</div> </div>
<div className='body-operation2'> <div className='body-operation2'>
<div className='nav-left-operation2'> <div className='nav-left-operation2'>

View File

@ -17,8 +17,8 @@ spec:
runAsGroup: 0 runAsGroup: 0
resources: resources:
limits: limits:
cpu: '0.2' cpu: '0.5'
memory: 0.2Gi memory: 1.2Gi
requests: requests:
cpu: '0.1' cpu: '0'
memory: 0.1Gi memory: 0Gi

View File

@ -15,8 +15,8 @@ spec:
runAsGroup: 0 runAsGroup: 0
resources: resources:
limits: limits:
cpu: '0.2' cpu: '0.7'
memory: 0.2Gi memory: 1.5Gi
requests: requests:
cpu: '0.1' cpu: '0'
memory: 0.1Gi memory: 0Gi

View File

@ -1,5 +1,5 @@
import k8s_func import k8s_func
studentList=['n20240101-63','n20240102-63','s20240101-66'] studentList=['s20240101-67','s20240102-67']
for i in studentList: for i in studentList:
k8s_func.delete_pod(i) k8s_func.delete_pod(i)