Skip to content

Instantly share code, notes, and snippets.

@davidwalter0
Forked from anonymous/-
Last active October 29, 2016 00:22
Show Gist options
  • Save davidwalter0/99d335ae6f44e465704d0717d0db6f61 to your computer and use it in GitHub Desktop.
Save davidwalter0/99d335ae6f44e465704d0717d0db6f61 to your computer and use it in GitHub Desktop.
trivial-container
apiVersion: v1
kind: Pod
metadata:
name: trivial-container
spec:
containers:
- name: c
image: ubuntu:xenial
#resources:
# limits:
# cpu: 20m
# memory: 20Mi
# requests:
# cpu: 10m
# memory: 10Mi
command:
- /bin/bash
- -c
- "while true; do date; sleep 1; done"
# volumeMounts:
# - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
# name: empty-volume-for-trivial
# readOnly: true
# volumes:
# - name: empty-volume-for-trivial
# emptyDir: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment