Merge pull request #9669 from satnam6502/counter

Counter pod used in logging blog article
This commit is contained in:
Filipe Brandenburger 2015-06-11 08:48:46 -07:00
commit f78d461581
1 changed files with 12 additions and 0 deletions

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']