首页 > 其他分享 >temp

temp

时间:2022-11-29 17:13:58浏览次数:22  
标签:temp exec usr pod true postStart

#pod.spec
hostAliases:
- ip: "10.1.2.3"
  hostnames:
  - "foo.com"
  - "bar.com"
pod.pec
shareProcessNamespace: true
hostNetwork: true
hostIPC: true
hostPID: true
    lifecycle:
      postStart:
        exec:
          command: ["/bin/sh", "-c", "echo Hello from the postStart handler > /usr/share/message"]
      preStop:
        exec:
          command: ["/usr/sbin/nginx","-s","quit"]

标签:temp,exec,usr,pod,true,postStart
From: https://www.cnblogs.com/wangend/p/16935903.html

相关文章