mirror of
https://github.com/jpetazzo/container.training.git
synced 2026-07-19 21:09:27 +00:00
23 lines
374 B
YAML
23 lines
374 B
YAML
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
labels:
|
|
run: busybox
|
|
name: busybox
|
|
spec:
|
|
terminationGracePeriodSeconds: 0
|
|
containers:
|
|
- command: ["/bin/sh", "-c"]
|
|
args:
|
|
- |
|
|
echo "running below scripts"
|
|
i=0;
|
|
while true;
|
|
do
|
|
echo "$i: $(date)";
|
|
i=$((i+1));
|
|
sleep 1;
|
|
done
|
|
name: busybox
|
|
image: busybox
|