Counter pod used in logging blog article

This commit is contained in:
Satnam Singh 2015-06-11 08:40:19 -07:00
parent 0bee4aa76b
commit 2e450dbe06

View File

@ -0,0 +1,12 @@
apiVersion: v1
kind: Pod
metadata:
name: counter
spec:
containers:
- name: count
image: ubuntu:14.04
args: [bash, -c,
'for ((i = 0; ; i++)); do echo "$i: $(date)"; sleep 1; done']