Skip to content

Instantly share code, notes, and snippets.

@cardmagic
Created October 2, 2014 21:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cardmagic/2e91ab943a172a7906f9 to your computer and use it in GitHub Desktop.
Save cardmagic/2e91ab943a172a7906f9 to your computer and use it in GitHub Desktop.
{
"id": "redisSlaveController",
"kind": "ReplicationController",
"apiVersion": "v1beta1",
"desiredState": {
"replicas": 2,
"replicaSelector": {"name": "redisslave"},
"podTemplate": {
"desiredState": {
"manifest": {
"version": "v1beta1",
"id": "redisSlaveController",
"containers": [{
"name": "slave",
"image": "brendanburns/redis-slave",
"ports": [{"containerPort": 6379, "hostPort": 6380}]
}]
}
},
"labels": {"name": "redisslave"}
}},
"labels": {"name": "redisslave"}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment