chore: 撤销 mxlexus2 临时重启 Job(用户改物理关机)
This commit is contained in:
1 parent
eec92e4677
commit
6d802af108
1 file changed
-18
@@ -1,18 +0,0 @@
|
||||
apiVersion: batch/v1
|
||||
kind: Job
|
||||
metadata:
|
||||
name: node-reboot-once
|
||||
namespace: mixingx
|
||||
spec:
|
||||
backoffLimit: 0
|
||||
ttlSecondsAfterFinished: 60
|
||||
template:
|
||||
spec:
|
||||
hostPID: true
|
||||
restartPolicy: Never
|
||||
containers:
|
||||
- name: reboot
|
||||
image: mx-imserver-registry.cn-shanghai.cr.aliyuncs.com/library/busybox:1.36
|
||||
command: ["nsenter","-t","1","-m","-u","-i","-n","-p","--","systemctl","reboot"]
|
||||
securityContext:
|
||||
privileged: true
|
||||
Reference in new issue
Block a user