testing pod initiate

This commit is contained in:
areeqakbr 2025-02-26 11:06:31 +07:00
parent 5778f7a960
commit 9448633a29
1 changed files with 11 additions and 9 deletions

20
Jenkinsfile vendored
View File

@ -6,6 +6,17 @@ apiVersion: v1
kind: Pod kind: Pod
spec: spec:
containers: containers:
- name: kubectl
image: bitnami/kubectl:latest
command:
- cat
tty: true
volumes:
- name: docker-sock
hostPath:
path: /var/run/docker.sock
- name: docker - name: docker
image: docker:latest image: docker:latest
command: command:
@ -14,15 +25,6 @@ spec:
volumeMounts: volumeMounts:
- name: docker-sock - name: docker-sock
mountPath: /var/run/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
''' '''
} }
} }