aboutsummaryrefslogtreecommitdiff
path: root/logging/counter.yaml
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2019-07-28 06:58:17 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2019-07-28 06:58:17 +0200
commitd0104a31198e542b81e540a3abe1ad34d2272873 (patch)
treedc67b6ce92a093c6939bcc3d78d5d37f2e642ec3 /logging/counter.yaml
parentf3e7c542cd87a91ee07c703e5bea23887d6c5569 (diff)
downloadk8s-sandbox-d0104a31198e542b81e540a3abe1ad34d2272873.tar.gz
k8s-sandbox-d0104a31198e542b81e540a3abe1ad34d2272873.tar.bz2
k8s-sandbox-d0104a31198e542b81e540a3abe1ad34d2272873.tar.xz
k8s-sandbox-d0104a31198e542b81e540a3abe1ad34d2272873.zip
wip
Diffstat (limited to 'logging/counter.yaml')
-rw-r--r--logging/counter.yaml9
1 files changed, 9 insertions, 0 deletions
diff --git a/logging/counter.yaml b/logging/counter.yaml
new file mode 100644
index 0000000..e0d1085
--- /dev/null
+++ b/logging/counter.yaml
@@ -0,0 +1,9 @@
+apiVersion: v1
+kind: Pod
+metadata:
+ name: counter
+spec:
+ containers:
+ - name: count
+ image: busybox
+ args: [/bin/sh, -c, 'i=0; while true; do echo "$i: $(date)"; i=$((i+1)); sleep 1; done']