mirror of
https://github.com/jpetazzo/container.training.git
synced 2026-07-18 20:39:17 +00:00
24 lines
369 B
YAML
24 lines
369 B
YAML
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
labels:
|
|
run: busybox
|
|
name: busybox
|
|
spec:
|
|
terminationGracePeriodSeconds: 0
|
|
containers:
|
|
- command:
|
|
- /bin/sh
|
|
- -c
|
|
- |
|
|
echo "running below scripts"
|
|
i=0;
|
|
while true;
|
|
do
|
|
echo "$i: $(date)";
|
|
i=$((i+1));
|
|
sleep 1;
|
|
done
|
|
name: busybox
|
|
image: busybox
|