mpi-nodes.yaml 507 字节
Newer Older
武毅 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
  name: mpi-nodes
  labels:
    app: mpi-nodes
spec:
  replicas: 3
  template:
    metadata:
      labels:
        app: mpi-nodes
    spec:
      containers:
      - image: typhoon1986/paddle-openmpi
        name : mpi-nodes
        resources:
          limits:
            cpu: 500m
            memory: 2Gi
          requests:
            cpu: 500m
            memory: 2Gi
        ports:
        - containerPort: 22
        imagePullPolicy: Always