mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-27 00:30:18 +00:00
38 lines
778 B
JSON
38 lines
778 B
JSON
{
|
|
"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",
|
|
"image":"gcr.io/google_containers/guestbook:v3",
|
|
"ports":[
|
|
{
|
|
"name":"http-server",
|
|
"containerPort":3000
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|