相关疑难解决方法(0)

如何跨节点分发部署?

我有一个看起来像这样的Kubernetes部署(用'....'替换名称和其他东西):

# Please edit the object below. Lines beginning with a '#' will be ignored,
# and an empty file will abort the edit. If an error occurs while saving this file will be
# reopened with the relevant failures.
#
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
  annotations:
    deployment.kubernetes.io/revision: "3"
    kubernetes.io/change-cause: kubectl replace deployment ....
      -f - --record
  creationTimestamp: 2016-08-20T03:46:28Z
  generation: 8
  labels:
    app: ....
  name: ....
  namespace: default
  resourceVersion: "369219"
  selfLink: /apis/extensions/v1beta1/namespaces/default/deployments/....
  uid: aceb2a9e-6688-11e6-b5fc-42010af000c1
spec:
  replicas: 2
  selector:
    matchLabels:
      app: …
Run Code Online (Sandbox Code Playgroud)

google-cloud-platform kubernetes

22
推荐指数
4
解决办法
1万
查看次数

标签 统计

google-cloud-platform ×1

kubernetes ×1