检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
\":\"neo4j\",\"imagePullPolicy\":\"IfNotPresent\",\"imageTag\":\"4.0.3-enterprise\",\"name\":\"neo4j\",\"nodeSelector\":{},\"podDisruptionBudget
nginx:latest imagePullSecrets: - name: default-secret readinessGates: - conditionType: target-health.elb.k8s.cce
\":\"neo4j\",\"imagePullPolicy\":\"IfNotPresent\",\"imageTag\":\"4.0.3-enterprise\",\"name\":\"neo4j\",\"nodeSelector\":{},\"podDisruptionBudget
default-token-4s959 secret: secretName: default-token-4s959 defaultMode: 420 containers: - name: container-0 image
kubectl apply -f example.yaml 由于网络原因,官方镜像可能无法拉取,导致工作负载出现ImagePullBackOff或FailedPullImage错误,请您自行添加合适的镜像代理。 查看所有命名空间下的Pod是否都处于运行状态。
nodeSelector: # 节点选择,当节点拥有daemon=need时才在节点上创建Pod daemon: need containers: - name: nginx-daemonset image
requests: cpu: 250m memory: 512Mi limits: cpu: 250m memory: 512Mi imagePullSecrets
Container配置 容器名称 参数名 取值范围 默认值 是否允许修改 作用范围 name 无 无 允许 - 镜像名称 参数名 取值范围 默认值 是否允许修改 作用范围 image 无 无 允许 - 更新策略 参数名 取值范围 默认值 是否允许修改 作用范围 imagePullPolicy
busybox command: ['sleep 20'] containers: - name: mysql image: percona:5.7.22 imagePullPolicy: Always
nginx:latest name: nginx imagePullSecrets: - name: default-secret vi nginx-nodeport-svc.yaml apiVersion: v1 kind: Service
efs-deployment-example template: metadata: labels: app: efs-deployment-example spec: containers: - image
nginx-secret template: metadata: labels: app: nginx-secret spec: containers: - name: container-1 image
nginx annotations: cni.yangtse.io/readiness-delay-seconds: "20" spec: containers: - name: container-0 image
$ kubectl run -i --tty --image nginx:alpine test --rm /bin/sh If you don't see a command prompt, try pressing enter. / # curl 10.247.124.252:
计费模式 yangtse.io/eip-bandwidth-name: <eip_bandwidth_name> # EIP带宽名称 spec: containers: - name: container-0 image
selector: matchLabels: app: testlog template: metadata: labels: app: testlog spec: containers: - image
app: nginx template: metadata: labels: app: nginx spec: containers: - name: container-0 image
Build Docker Image Stage and Push Image" sh "docker build -t ${image_url} ."
memory: 512Mi requests: cpu: 250m memory: 512Mi - name: container-1 image
nginx-configmap template: metadata: labels: app: nginx-configmap spec: containers: - name: container-1 image