检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
If the list request contained label or field selectors, then the number of remaining items is unknown and the field will be left unset and omitted
Empty implies the group of the containing resource list.
If the list request contained label or field selectors, then the number of remaining items is unknown and the field will be left unset and omitted
to the name of the container that triggered the event) or if no container name is specified "spec.containers[2]" (container with index 2 in
": []}' spec: containers: - name: container-1 image: nginx:latest 约束与限制 使用场景 使用说明 CCE内容器日志采集 + CCI集群容器日志采集 CCE集群内的工作负载支持三种日志采集类型
"spec": { "availableZone": "{{zone}}", "cidr": "192.168.0.0/24", "attachedVPC": "{{vpc-id}}", "networkID": "{
- image: nginx:latest name: container-0 resources: limits: cpu: 500m memory: 1024Mi
apiVersion: v1 kind: Pod metadata: name: nginx spec: containers: - image: nginx:latest name: container-0 resources: limits
yaml示例如下: apiVersion: v1 kind: Pod metadata: namespace: default name: dns-example spec: containers: - name: test image: nginx
Empty implies the group of the containing resource list.
apiVersion: v1 kind: Pod metadata: name: nginx spec: containers: - image: nginx:latest name: container-0 resources: limits
导入已有PVC createPersistentvolumeclaimByStorageInfo 删除指定Namespace下所有的PVC deletePersistentvolumeclaimsByNamespace 替换指定PVC replacePersistentvolumeclaim
通过Pod容器环境变量配置采集文件 $containerName为容器名变量。
to the name of the container that triggered the event) or if no container name is specified "spec.containers[2]" (container with index 2 in
If the list request contained label or field selectors, then the number of remaining items is unknown and the field will be left unset and omitted
If the list request contained label or field selectors, then the number of remaining items is unknown and the field will be left unset and omitted
replicas": 1, "restartPolicy": "Never", "template": { "spec": { "containers
- name: container-0 image: 'library/euleros:latest' command: - /bin/bash - '-c'
Init容器(Init-Containers) Init-Containers,即初始化容器,顾名思义容器启动的时候,会先启动一个或多个容器,如果有多个,那么这几个Init Container按照定义的顺序依次执行,只有所有的Init Container执行完后,主容器才会启动。
apiVersion: v1 kind: Pod metadata: name: nginx spec: containers: - image: nginx:latest name: container-0 resources: limits