mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-25 06:20:24 +00:00
54 lines
873 B
JSON
54 lines
873 B
JSON
{
|
|
"kind":"Service",
|
|
"apiVersion":"v1",
|
|
"metadata":{
|
|
"name":"mock",
|
|
"labels":{
|
|
"app":"mock"
|
|
}
|
|
},
|
|
"spec":{
|
|
"ports": [{
|
|
"protocol": "TCP",
|
|
"port": 99,
|
|
"targetPort": 9949
|
|
}],
|
|
"selector":{
|
|
"app":"mock"
|
|
}
|
|
}
|
|
}
|
|
{
|
|
"kind":"ReplicationController",
|
|
"apiVersion":"v1",
|
|
"metadata":{
|
|
"name":"mock",
|
|
"labels":{
|
|
"app":"mock"
|
|
}
|
|
},
|
|
"spec":{
|
|
"replicas":1,
|
|
"selector":{
|
|
"app":"mock"
|
|
},
|
|
"template":{
|
|
"metadata":{
|
|
"labels":{
|
|
"app":"mock"
|
|
}
|
|
},
|
|
"spec":{
|
|
"containers":[{
|
|
"name": "mock-container",
|
|
"image": "k8s.gcr.io/pause:2.0",
|
|
"ports":[{
|
|
"containerPort":9949,
|
|
"protocol":"TCP"
|
|
}]
|
|
}]
|
|
}
|
|
}
|
|
}
|
|
}
|