apiVersion: v1
kind: Pod
metadata:
  name: 'multi-container-test'
  labels:
    app: 'multi-container-test'
spec:
  restartPolicy: Never
  containers:
    - name: container1
      image: 'alpine:latest'
      command:
        - sh
        - -c
        - |
          echo starting sleep...
          sleep 10
          echo end
      resources:
        limits:
          cpu: 200m
          memory: 500Mi
        requests:
          cpu: 100m
          memory: 200Mi
    - name: container2
      image: 'alpine:latest'
      command:
        - sh
        - -c
        - |
          echo starting sleep...
          sleep 10
          echo end
      resources:
        limits:
          cpu: 200m
          memory: 500Mi
        requests:
          cpu: 100m
          memory: 200Mi
