-
镜像快照概述 - 云容器实例 CCI
支持私有镜像仓库,但需要提供私有镜像仓库的访问凭证,包括地址、用户名和密码。 如果镜像需要通过公网拉取,则需要事先配置NAT网关服务。 如果镜像快照中只有部分镜像与Pod中镜像相符,则不相符的镜像仍需通过下载拉取。 CCI实例运行中镜像信息发生变动,且新镜像与匹配的镜像快照中镜像无相符的场景,则新镜像仍需通过下载拉取。
-
Pod日志采集 - 云容器实例 CCI
当前不支持日志轮转,如果需要对日志文件进行大小的控制,请自行处理。 单条日志长度限制为250KB,如果超过则会丢弃。 不支持指定系统、设备、cgroup、tmpfs、localdir等挂载目录的日志采集,会直接忽略。 同一个容器中待采集的日志文件不能重名,如果有重复文件则只会采集到采集器首次感知到的日志文件。
-
创建Namespace - 云容器实例 CCI
sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL)
-
文件存储卷 3.0 - 云容器实例 CCI
登录云容器实例控制台,单击左侧导航栏的“存储管理 > 文件存储卷”。 如果您在弹性文件存储中创建了SFS 3.0文件存储,可以这里导入后使用,请执行2。 如果您还没创建文件存储,可以直接在这里创建,请执行3。 单击“导入”,进入“导入文件存储”页面,选择需要导入的文件存储,然后单击“导入”。 单击“创建文件存储卷
-
基本概念 - 云容器实例 CCI
详情请参见区域和可用区。 可用区(AZ,Availability Zone) 一个可用区是一个或多个物理数据中心的集合,有独立的风火水电,AZ内逻辑上再将计算、网络、存储等资源划分成多个集群。一个Region中的多个AZ间通过高速光纤相连,以满足用户跨AZ构建高可用性系统的需求。 项目 区域默认
-
数据结构 - 云容器实例 CCI
object Details about a running container terminated No terminated object Details about a terminated container 表7 ContainerStateWaiting字段数据结构说明
-
使用Docker run运行容器 - 云容器实例 CCI
下载完成后,执行docker images命令可以看到本地已经存在两个镜像,如下图所示。 运行容器 使用容器引擎可以直接运行Wordpress和MySQL,且可以使用--link参数将两个容器连接,在不改动代码的情况下让Wordpress的容器访问MySQL的容器。 执行下面的命令运行MySQL。
-
查询Pod日志 - 云容器实例 CCI
Integer If set, the number of bytes to read from the server before terminating the log output. This may not display a complete final line of logging
-
更新Pod - 云容器实例 CCI
12kb. Defaults to /dev/termination-log. Cannot be updated. terminationMessagePolicy String Indicate how the termination message should be populated
-
文件存储卷 1.0(待下线) - 云容器实例 CCI
请谨慎执行文件存储的删除操作,以避免造成CCI中容器不可用。 导入SFS 1.0容量型文件系统 云容器实例支持导入已有的SFS文件存储。 登录云容器实例控制台,单击左侧导航栏的“存储管理 > 文件存储卷”。 如果您在弹性文件存储中创建了文件存储,可以这里导入后使用,请执行2。 如
-
创建Pod - 云容器实例 CCI
12kb. Defaults to /dev/termination-log. Cannot be updated. terminationMessagePolicy 否 String Indicate how the termination message should be populated
-
查询Pod状态 - 云容器实例 CCI
12kb. Defaults to /dev/termination-log. Cannot be updated. terminationMessagePolicy String Indicate how the termination message should be populated
-
删除Pod - 云容器实例 CCI
12kb. Defaults to /dev/termination-log. Cannot be updated. terminationMessagePolicy String Indicate how the termination message should be populated
-
业务探针(Readiness probe) - 云容器实例 CCI
它,并会把请求转发给Pod,那问题就来了,通常一个Pod启动是需要时间的,如果Pod还没准备好(可能需要时间来加载配置或数据,或者可能需要执行 一个预热程序之类),这时把请求转给Pod的话,Pod也无法处理,造成请求失败。 Kubernetes中解决这个问题的方法就是给Pod加一个业务就绪探针Readiness
-
替换Pod - 云容器实例 CCI
12kb. Defaults to /dev/termination-log. Cannot be updated. terminationMessagePolicy 否 String Indicate how the termination message should be populated
-
创建ConfigMap - 云容器实例 CCI
sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL)
-
查询指定namespace下的Pods - 云容器实例 CCI
12kb. Defaults to /dev/termination-log. Cannot be updated. terminationMessagePolicy String Indicate how the termination message should be populated
-
创建Secret - 云容器实例 CCI
sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL)
-
查询用户所有的Pods - 云容器实例 CCI
12kb. Defaults to /dev/termination-log. Cannot be updated. terminationMessagePolicy String Indicate how the termination message should be populated
-
替换Deployment的伸缩操作 - 云容器实例 CCI
sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL)