mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-30 10:10:21 +00:00
43 lines
829 B
JSON
43 lines
829 B
JSON
|
{
|
||
|
"kind": "ReplicationController",
|
||
|
"apiVersion": "v1",
|
||
|
"metadata": {
|
||
|
"name": "slow-rc",
|
||
|
"labels": {
|
||
|
"name": "nettest"
|
||
|
}
|
||
|
},
|
||
|
"spec": {
|
||
|
"replicas": 8,
|
||
|
"selector": {
|
||
|
"name": "nettest"
|
||
|
},
|
||
|
"template": {
|
||
|
"metadata": {
|
||
|
"labels": {
|
||
|
"name": "nettest"
|
||
|
}
|
||
|
},
|
||
|
"spec": {
|
||
|
"terminationGracePeriodSeconds": 5,
|
||
|
"containers": [
|
||
|
{
|
||
|
"name": "webserver",
|
||
|
"image": "gcr.io/kubernetes-e2e-test-images/nettest-amd64:1.0",
|
||
|
"args": [
|
||
|
"-service=nettest",
|
||
|
"-delay-shutdown=10"
|
||
|
],
|
||
|
"ports": [
|
||
|
{
|
||
|
"containerPort": 8080,
|
||
|
"protocol": "TCP"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|