123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- apiVersion: v1
- kind: Pod
- metadata:
- labels:
- meta-be: meta-be
- spec:
- containers:
- - name: docker
- image: docker:latest
- command:
- - cat
- tty: true
- volumeMounts:
- - mountPath: "/etc/docker/daemon.json"
- name: "volume-docker1"
- - mountPath: "/root/.docker/config.json"
- name: "docker-auth"
- - mountPath: "/var/run/docker.sock"
- name: "volume-docker0"
- - name: helm
- image: alpine/helm:3.11.1
- command:
- - cat
- tty: true
- - name: kubectl
- image: cnych/kubectl
- command:
- - cat
- tty: true
- volumes:
- - name: volume-docker0
- hostPath:
- path: "/var/run/docker.sock"
- - name: docker-auth
- hostPath:
- path: "/root/.docker/config.json"
- - name: volume-docker1
- hostPath:
- path: "/etc/docker/daemon.json"
- nodeSelector:
- kubernetes.io/hostname: h107
- hostAliases:
- - ip: 192.168.199.31
- hostnames:
- - "sxkj"
|