检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
享资源的容器。通常这种场景下是应用包含一个主容器和几个辅助容器(SideCar Container),如图1所示,例如主容器为一个web服务器,从一个固定目录下对外提供文件服务,而辅助的容器周期性的从外部下载文件存到这个固定目录下。 图1 Pod 实际使用中很少直接创建Pod,而
和管理服务器、不用担心服务器的运行状态(服务器是否在工作等),只需动态申请应用需要的资源,把服务器留给专门的维护人员管理和维护,进而专注于应用开发,提升应用开发效率、节约企业IT成本。传统上使用Kubernetes运行容器,首先需要创建运行容器的Kubernetes服务器集群,然后再创建容器负载。
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"
df,这是因为Deployment不是直接控制Pod的,Deployment是通过一种名为ReplicaSet的控制器控制Pod,通过如下命令可以查询ReplicaSet,其中rs是ReplicaSet的缩写。 $ kubectl get rs -n $namespace_name
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"
- 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"
- 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
过Pod Controller能够动态地创建和销毁Pod(例如,需要进行扩缩容,或者执行滚动升级)。每个Pod都会获取它自己的IP地址,但这些IP地址不总是稳定可依赖的。 这会导致一个问题:如果一组Pod(称为backend)为其它Pod(称为frontend)提供服务,那么那些
- 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