Public Repository

Last pushed: 5 months ago
Short Description
jenkins swarm slave(for testing).
Full Description

V2:use env JENKINS_MASTER_URL for master url.
V3:use default service env for master url.

{
"kind": "ReplicationController",
"apiVersion": "v1",
"metadata": {
"name": "jenkins-slave",
"namespace": "wangyue-test",
"labels": {
"name": "jenkins-slave"
}
},
"spec": {
"replicas": 2,
"selector": {
"name": "jenkins-slave-pod"
},
"template": {
"metadata": {
"labels": {
"name": "jenkins-slave-pod"
}
},
"spec": {
"containers": [
{
"name": "jenkins-slave-container",
"image": "docker.io/heuye/jenkins-slave:v3"
}],
"restartPolicy": "Always"
}
}
}
}

Docker Pull Command
Owner
heuye

Comments (0)