Skip to content

Instantly share code, notes, and snippets.

@chriswhitcombe
Created July 21, 2015 20:43
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 chriswhitcombe/036d773392b0e95a16b1 to your computer and use it in GitHub Desktop.
Save chriswhitcombe/036d773392b0e95a16b1 to your computer and use it in GitHub Desktop.
{
"kind":"ReplicationController",
"apiVersion":"v1",
"id":"goapp",
"metadata":{
"name":"goapp-controller"
},
"spec":{
"replicas":3,
"selector":{
"app":"goapp-app"
},
"template":{
"metadata":{
"labels":{
"app":"goapp-app"
}
},
"spec":{
"containers":[
{
"name":"goapp-container",
"image":"192.168.59.103:5000/httpshutdown:latest",
"ports":[
{
"containerPort":80
}
]
}
]
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment