创建于2024-10-22更新于 2025-03-22
09. Pod 保活
一些 pod,比如 busybox,kubectl,并不是持久化运行的,此时,需要保活
command: [ "/bin/bash", "-c", "--" ]
args: [ "while true; do sleep 30; done;" ]
一些 pod,比如 busybox,kubectl,并不是持久化运行的,此时,需要保活
command: [ "/bin/bash", "-c", "--" ]
args: [ "while true; do sleep 30; done;" ]