【发布时间】:2021-10-15 06:43:20
【问题描述】:
我可以使用 OpenShift Client oc 强制重启 pod。我想看看例如oc describe $pod 中的哪些细节发生了变化,尤其是 whether hostname as displayed inside the pod changes?
例如,从容器 (oc exec -it $pod bash) 内执行的 shell 中终止在 Dockerfiles ENTRYPOINT 脚本(在我的情况下为 postgres -D $PGDATA)中启动的进程是否合适?
我在一个没有管理员访问权限的 OpenShift (OpenShift Container Platform) 3.9 集群上。
【问题讨论】: