检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
specified here will be merged to the generated DNS configuration based on DNSPolicy. dnsPolicy String Set DNS policy for the pod. Defaults to "ClusterFirst"
启动容器就是启动主进程,但有些时候,启动主进程前,需要一些准备工作。比如MySQL类的数据库,可能需要一些数据库配置、初始化的工作,这些工作要在最终的MySQL服务器运行之前解决。这些操作,可以在制作镜像时通过在Dockerfile文件中设置ENTRYPOINT或CMD来完成,如下所示的Dockerfile中设置了ENTRYPOINT
specified here will be merged to the generated DNS configuration based on DNSPolicy. dnsPolicy String Set DNS policy for the pod. Defaults to "ClusterFirst"
specified here will be merged to the generated DNS configuration based on DNSPolicy. dnsPolicy String Set DNS policy for the pod. Defaults to "ClusterFirst"
specified here will be merged to the generated DNS configuration based on DNSPolicy. dnsPolicy 否 String Set DNS policy for the pod. Defaults to "ClusterFirst"
specified here will be merged to the generated DNS configuration based on DNSPolicy. dnsPolicy 否 String Set DNS policy for the pod. Defaults to "ClusterFirst"
specified here will be merged to the generated DNS configuration based on DNSPolicy. dnsPolicy 否 String Set DNS policy for the pod. Defaults to "ClusterFirst"
specified here will be merged to the generated DNS configuration based on DNSPolicy. dnsPolicy String Set DNS policy for the pod. Defaults to "ClusterFirst"
specified here will be merged to the generated DNS configuration based on DNSPolicy. dnsPolicy String Set DNS policy for the pod. Defaults to "ClusterFirst"
specified here will be merged to the generated DNS configuration based on DNSPolicy. dnsPolicy String Set DNS policy for the pod. Defaults to "ClusterFirst"
specified here will be merged to the generated DNS configuration based on DNSPolicy. dnsPolicy String Set DNS policy for the pod. Defaults to "ClusterFirst"
specified here will be merged to the generated DNS configuration based on DNSPolicy. dnsPolicy String Set DNS policy for the pod. Defaults to "ClusterFirst"
specified here will be merged to the generated DNS configuration based on DNSPolicy. dnsPolicy String Set DNS policy for the pod. Defaults to "ClusterFirst"
specified here will be merged to the generated DNS configuration based on DNSPolicy. dnsPolicy String Set DNS policy for the pod. Defaults to "ClusterFirst"
specified here will be merged to the generated DNS configuration based on DNSPolicy. dnsPolicy 否 String Set DNS policy for the pod. Defaults to "ClusterFirst"
specified here will be merged to the generated DNS configuration based on DNSPolicy. dnsPolicy String Set DNS policy for the pod. Defaults to "ClusterFirst"
- the value of this field for those objects will be empty. Must be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces
specified here will be merged to the generated DNS configuration based on DNSPolicy. dnsPolicy String Set DNS policy for the pod. Defaults to "ClusterFirst"
specified here will be merged to the generated DNS configuration based on DNSPolicy. dnsPolicy String Set DNS policy for the pod. Defaults to "ClusterFirst"
specified here will be merged to the generated DNS configuration based on DNSPolicy. dnsPolicy 否 String Set DNS policy for the pod. Defaults to "ClusterFirst"