检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot
如果输入“内存使用率”的“平均值>70%”,表示在该条件下触发伸缩策略。 周期时长 指标统计周期。单击下拉选项进行选择。 如果设置为60秒,表示每60秒统计一次。 连续出现次数 如果设置为3,则表示指标数据连续三个统计周期达到了设定的阈值,则触发策略动作。 执行动作 策略触发后执行的动作。增加或减少实例数。
我的镜像:展示了您上传到容器镜像服务的镜像。如果您想要在容器镜像服务中上传镜像,请参考客户端上传镜像或页面上传镜像。 如您是IAM用户,您需要参考(可选)上传镜像进行权限设置后才可使用账号的私有镜像。 镜像单层解压后的实际大小不能超过20G。 开源镜像中心:展示了镜像中心的公共镜像。 共享镜像:展示了容器镜像服务中他人共享的镜像。
tNetwork运行的Pod,您应该明确设置其DNS策略“ClusterFirstWithHostNet”。 “None”:它允许Pod忽略Kubernetes环境中的DNS设置。应使用dnsConfigPod规范中的字段提供所有DNS设置 。 Kubernetes 1.10及以
如果是使用HTTP协议的自建镜像仓库地址,需要设置为true,否则会因协议不同而导致镜像拉取失败。默认值为false。 insecureSkipVerify boolean 否 true 如果是使用自签发证书的自建镜像仓库地址,需要设置为true来跳过证书认证,否则会因证书认证失败
of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot
--name指定容器的名称为some-mysql。 -e指定容器的环境变量。如这里指定环境变量MYSQL_ROOT_PASSWORD的值为********,请替换为您设置的密码。指定环境变量MYSQL_DATABASE,镜像启动时要创建的数据库名称为wordpress。 -d表示在后台运行。 执行下面的命令运行Wordpress。
步骤二:创建命名空间 登录云容器实例管理控制台。 在左侧导航栏中选择“命名空间”,在右侧页面中“通用计算型”命名空间下单击“创建”。 填写命名空间名称。 设置VPC,选择使用已有VPC或新建VPC,新建VPC需要填写VPC网段,建议使用网段:10.0.0.0/8~22,172.16.0.0/12~22,192
of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot
of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot
of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot
of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot
of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot
of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot
说明: 不支持设置指定scheduler name nodeName No String A request to schedule this pod onto a specific node. If it is non-empty, the scheduler simply schedules
of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot
of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot
of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot
String 文件系统名称。可设置为: 块存储:ext4 对象存储: obs 文件存储、极速文件存储: nfs volumeID Yes String 卷id。 deviceMountPath No String 共享路径。 说明: 只有文件存储卷和极速文件存储卷需要设置该值。 请求示例 {
连续探测3次失败表示失败 initialDelaySeconds一般要设置大于0,这是由于很多情况下容器虽然启动成功,但应用就绪也需要一定的时间,需要等就绪时间之后才能返回成功,否则就会导致probe经常失败。 另外failureThreshold可以设置多次循环探测,这样在实际应用中健康检查的程序就不