检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names uid String UID of the referent. More info: http://kubernetes.io/do
referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names uid 是 String UID of the referent. More info: http://kubernetes.io/d
referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names uid String UID of the referent. More info: http://kubernetes.io/do
数ENV、VOLUME、EXPOSE、ENTRYPOINT、CMD,这些参数在云容器实例中可以按如下方法配置。 ENV为环境变量,在云容器实例中创建负载的时候,可以在高级配置中设置,“ENV VERSION 1.0”指令在CCI中的使用,如下所示。 VOLUME为定义容器卷,通常配合docker
referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names uid String UID of the referent. More info: http://kubernetes.io/do
referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names uid 是 String UID of the referent. More info: http://kubernetes.io/d
ig-architecture/api-conventions.md#resources code Integer Suggested HTTP return code for this status, 0 if not set. details io.k8s.apimachinery
referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names uid String UID of the referent. More info: http://kubernetes.io/do
时读取环境变量的值,从而做到灵活的配置,而不是每次都重新编写应用程序制作镜像。 另外,您还可以使用ConfigMap和Secret作为环境变量,详细信息请参见使用ConfigMap和Secret提高配置灵活性。 环境变量的使用方法如下所示,配置spec.containers.env字段即可。
referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names uid String UID of the referent. More info: http://kubernetes.io/do
referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names uid String UID of the referent. More info: http://kubernetes.io/do
创建无状态负载 在“容器配置”,单击“使用该镜像”,选择镜像完成。 在“容器设置”,单击展开“高级设置 > 健康检查 > 应用业务探针”,如下图设置工作负载业务探针。 图2 配置应用业务探针 该配置是检查用户业务是否就绪,不就绪则不转发流量到当前实例。 单击展开“生命周期”,配置容器的“停止
与kubernetes-client/java结合使用以调用API。 安装cci-iam-authenticator 请参考使用kubectl,下载安装及设置cci-iam-authenticator。 安装kubernetes-client/java 详情请参考Installation
当前云容器实例仅支持命令行类型(Exec)钩子函数。 登录云容器实例控制台,在创建负载配置生命周期过程中,选择“启动后处理”或者“停止前处理”页签。 例如需要在容器中执行“/postStart.sh all”命令,则在界面上做如下配置即可,第一行是命令行脚本名称,第二行是参数。 图1 命令行脚本 使用kubectl设置容器生命周期
当前CCI支持使用如下几种云存储: 云硬盘(EVS) 文件存储(SFS) 极速文件存储(SFS Turbo) 对象存储(OBS) 其中云硬盘存储需要人工配置备份策略,详情请参见云硬盘备份管理。 父主题: 存储管理类
referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names uid String UID of the referent. More info: http://kubernetes.io/do
referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names uid String UID of the referent. More info: http://kubernetes.io/do
referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names uid String UID of the referent. More info: http://kubernetes.io/do
eName:Port”访问Service,这也是Kubernetes中最常用的一种使用方式,CoreDNS的安装请参见插件管理。 CoreDNS安装成功后会成为DNS服务器,当创建Service后,CoreDNS会将Service的名称与IP记录起来,这样Pod就可以通过向Cor
当前暂不支持local/cci同时配置maxNum scaleDownPriority: 10 strategy:调度策略选择。可配置策略值:auto、enforce、localPrefer。详情请参见调度策略。 location内可配置线下IDC和云上pod限制数量m