检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
within a shell. container 否 String Container in which to execute the command. Defaults to only container if there is only one container in the pod
其中状态相关主要字段如下: 表1 参数说明 名称 类型 示例值 描述 phase string Available 镜像快照当前所处状态: Available:可用 Unavailable:不可用 Creating:创建中 Deleting:删除中 snapshotID string
io/default-security-group: security-group-id network.alpha.kubernetes.io/domain-id: domain-id network.alpha.kubernetes.io/project-id: project-id name:
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
within a shell. container 否 String Container in which to execute the command. Defaults to only container if there is only one container in the pod
"template": { "spec": { "containers": [ {
"spec": { "cleanPodPolicy": "Running", "jobMode": "MXTrain", "mxReplicaSpecs": { "Scheduler": {
通过在init container中可检查EIP是否已经分配成功。容器网络控制器会在Pod IP分配后,为Pod绑定EIP并返回分配结果至Pod的Annotation(yangtse.io/allocated-ipv4-eip),通过Pod配置init container并使用downwardAPI,把yangtse
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
the network is available NetworkActive = "Active" // NetworkFailed means the network is not available NetworkFailed = "Failed" // NetworkTerminating
credential on disk until it expires (default true) --domain-name string IAM domain name, typically your account name -h, --help
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
md#resources containers Array of io.k8s.metrics.pkg.apis.metrics.v1beta1.ContainerMetrics objects Metrics for all containers are collected within
"spec": { "cleanPodPolicy": "Running", "jobMode": "MXTrain", "mxReplicaSpecs": { "Scheduler": {
"spec": { "cleanPodPolicy": "Running", "jobMode": "MXTrain", "mxReplicaSpecs": { "Scheduler": {
md#resources containers Array of io.k8s.metrics.pkg.apis.metrics.v1beta1.ContainerMetrics objects Metrics for all containers are collected within
"template": { "spec": { "containers": [ {
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
"template": { "spec": { "containers": [ {
调用接口时,只需配置pod的containers.command参数,该参数是list类型,第一个参数为执行命令,后面均为命令的参数。 apiVersion: v1 kind: Pod metadata: name: Ubuntu spec: containers: - image: