检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
return code for this status, 0 if not set. details io.k8s.apimachinery.pkg.apis.meta.v1.StatusDetails object Extended data associated with the reason
return code for this status, 0 if not set. details io.k8s.apimachinery.pkg.apis.meta.v1.StatusDetails object Extended data associated with the reason
return code for this status, 0 if not set. details io.k8s.apimachinery.pkg.apis.meta.v1.StatusDetails object Extended data associated with the reason
return code for this status, 0 if not set. details io.k8s.apimachinery.pkg.apis.meta.v1.StatusDetails object Extended data associated with the reason
return code for this status, 0 if not set. details io.k8s.apimachinery.pkg.apis.meta.v1.StatusDetails object Extended data associated with the reason
within the container at which the volume should be mounted. Must not contain ':'. volumeClaim io.k8s.api.core.v1.PersistentVolumeClaim object VolumeClaim
Quantity.fromString(memory)); V1Container container = new V1Container() .name(containerName) .image(image)
within the container at which the volume should be mounted. Must not contain ':'. volumeClaim 否 io.k8s.api.core.v1.PersistentVolumeClaim object VolumeClaim
within the container at which the volume should be mounted. Must not contain ':'. volumeClaim io.k8s.api.core.v1.PersistentVolumeClaim object VolumeClaim
within the container at which the volume should be mounted. Must not contain ':'. volumeClaim io.k8s.api.core.v1.PersistentVolumeClaim object VolumeClaim
"template": { "spec": { "containers": [ {
html 其中: FROM语句:表示使用nginx镜像作为基础。 RUN语句:表示执行echo命令,在显示器中显示一段Hello,CCI!的文字。 构建容器镜像。 docker build -t nginx:v3 . 执行以下命令,可查看到已成功部署的nginx镜像,版本为v3。 docker
参数 是否必选 参数类型 描述 container 否 String The container for which to stream logs. Defaults to only container if there is one container in the pod. follow
prometheus.io/path,默认为/metrics prometheus.io/port , 端口 基础指标监控是CCI为了让Prometheus能获取Kubernetes集群的pod基础监控数据,利用Pod服务自动发现机制,在Prometheus主配置文件(prometheus.yml
} }, "spec": { "containers": [ { "name": "redis"
within the container at which the volume should be mounted. Must not contain ':'. volumeClaim 否 io.k8s.api.core.v1.PersistentVolumeClaim object VolumeClaim
其中状态相关主要字段如下: 表1 参数说明 名称 类型 示例值 描述 phase string Available 镜像快照当前所处状态: Available:可用 Unavailable:不可用 Creating:创建中 Deleting:删除中 snapshotID string
"spec": { "cleanPodPolicy": "Running", "jobMode": "MXTrain", "mxReplicaSpecs": { "Scheduler": {
whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is
whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is