apiVersion: v1
kind: Podmetadata: name: jenkinspodame labels: app: myappjenkinsspec: containers:-
name: jenkins-container-name
image: 192.168.175.143:5000/android:0.0 ports:- containerPort: 8083 hostPort: 8083
volumeMounts:
- mountPath: /home/ubuntu/jenkins/JENKINS_HOME readOnly: false name: share-data
volumes:
- name: share-data nfs: server: 192.168.175.143 path: "/home/ubuntu/jenkins/JENKINS_HOME"
nodeSelector:
slave: "144" dnsPolicy: "None" dnsConfig: nameservers:- 8.8.8.8