You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
692 B
32 lines
692 B
apiVersion: "v1"
|
|
kind: "Pod"
|
|
metadata:
|
|
name: "test"
|
|
spec:
|
|
containers:
|
|
- image: "docker.io/library/docker:dind"
|
|
imagePullPolicy: "Never"
|
|
name: "dockerd"
|
|
args:
|
|
- "--insecure-registry"
|
|
- "kind-registry:5000"
|
|
securityContext:
|
|
privileged: true
|
|
volumeMounts:
|
|
- mountPath: "/var/lib/docker"
|
|
name: "volume-docker"
|
|
readOnly: false
|
|
- mountPath: "/var/run"
|
|
name: "volume-docker-sock"
|
|
readOnly: false
|
|
hostNetwork: false
|
|
restartPolicy: "Never"
|
|
securityContext: {}
|
|
volumes:
|
|
- hostPath:
|
|
path: "/var/host/lib/docker"
|
|
name: "volume-docker"
|
|
- hostPath:
|
|
path: "/var/host/run"
|
|
name: "volume-docker-sock"
|