ceph-csi/vendor/k8s.io/kubernetes/examples/guestbook-go/guestbook-controller.json

38 lines
764 B
JSON
Raw Normal View History

2018-01-09 18:57:14 +00:00
{
"kind":"ReplicationController",
"apiVersion":"v1",
"metadata":{
"name":"guestbook",
"labels":{
"app":"guestbook"
}
},
"spec":{
"replicas":3,
"selector":{
"app":"guestbook"
},
"template":{
"metadata":{
"labels":{
"app":"guestbook"
}
},
"spec":{
"containers":[
{
"name":"guestbook",
2018-03-06 22:33:18 +00:00
"image":"k8s.gcr.io/guestbook:v3",
2018-01-09 18:57:14 +00:00
"ports":[
{
"name":"http-server",
"containerPort":3000
}
]
}
]
}
}
}
}