Skip to content

Instantly share code, notes, and snippets.

@kadel
Created April 6, 2016 11:05
Show Gist options
  • Select an option

  • Save kadel/d5b3019f51611e94bf88033f33b11690 to your computer and use it in GitHub Desktop.

Select an option

Save kadel/d5b3019f51611e94bf88033f33b11690 to your computer and use it in GitHub Desktop.
simple replicationController with busybox
{
"kind": "ReplicationController",
"apiVersion": "v1",
"metadata": {
"name": "busybox",
"labels": {
"name": "busybox"
}
},
"spec": {
"replicas": 1,
"selector": {
"name": "busybox",
"test": "test"
},
"template": {
"metadata": {
"labels": {
"name": "busybox",
"test": "test"
}
},
"spec": {
"containers": [
{
"name": "busybox",
"image": "busybox",
"cmd": ["sleep", "3600"],
"readinessProbe": {
"exec": { "command": ["/bin/true"] },
"periodSeconds": 10
}
}
]
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment