testing pod initiate
This commit is contained in:
parent
5778f7a960
commit
9448633a29
|
|
@ -6,6 +6,17 @@ apiVersion: v1
|
|||
kind: Pod
|
||||
spec:
|
||||
containers:
|
||||
|
||||
- name: kubectl
|
||||
image: bitnami/kubectl:latest
|
||||
command:
|
||||
- cat
|
||||
tty: true
|
||||
volumes:
|
||||
- name: docker-sock
|
||||
hostPath:
|
||||
path: /var/run/docker.sock
|
||||
|
||||
- name: docker
|
||||
image: docker:latest
|
||||
command:
|
||||
|
|
@ -14,15 +25,6 @@ spec:
|
|||
volumeMounts:
|
||||
- name: docker-sock
|
||||
mountPath: /var/run/docker.sock
|
||||
- name: kubectl
|
||||
image: bitnami/kubectl:1.26.0
|
||||
command:
|
||||
- cat
|
||||
tty: true
|
||||
volumes:
|
||||
- name: docker-sock
|
||||
hostPath:
|
||||
path: /var/run/docker.sock
|
||||
'''
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue