mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-10 05:30:26 +00:00
Counter pod used in logging blog article
This commit is contained in:
12
examples/blog-logging/counter-pod.yaml
Normal file
12
examples/blog-logging/counter-pod.yaml
Normal 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']
|
||||||
|
|
||||||
|
|
Reference in New Issue
Block a user