github.com/googlecloudplatform/kubernetes-workshops@v0.0.0-20180501174420-d8199445b2c3/bundles/kubernetes-101/workshop/kubernetes/pods/monolith.yaml (about)

     1  apiVersion: v1
     2  kind: Pod
     3  metadata:
     4    name: monolith
     5    labels:
     6      app: monolith
     7  spec:
     8    containers:
     9      - name: monolith
    10        image: askcarter/monolith:1.0.0
    11        args:
    12          - "-http=0.0.0.0:80"
    13          - "-health=0.0.0.0:81"
    14          - "-secret=secret"
    15        ports:
    16          - name: http
    17            containerPort: 80
    18          - name: health
    19            containerPort: 81
    20        resources:
    21          limits:
    22            cpu: 0.2
    23            memory: "10Mi"