mirror of https://github.com/k3s-io/k3s
14 lines
307 B
YAML
14 lines
307 B
YAML
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: busybox1
|
|
labels:
|
|
app: busybox1
|
|
spec:
|
|
containers:
|
|
- image: busybox
|
|
command: ["/bin/sh", "-c", "mkdir -p /root/foo/bar && echo 'foobar' > /root/foo/bar/foo.bar && sleep 3600"]
|
|
imagePullPolicy: IfNotPresent
|
|
name: busybox
|
|
restartPolicy: Always
|