aboutsummaryrefslogtreecommitdiff
path: root/logging/counter.yaml
diff options
context:
space:
mode:
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']