mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-25 06:20:24 +00:00
45 lines
891 B
JSON
45 lines
891 B
JSON
|
{
|
||
|
"kind": "ReplicationController",
|
||
|
"apiVersion": "v1",
|
||
|
"metadata": {
|
||
|
"name": "nettest-controller",
|
||
|
"labels": {
|
||
|
"name": "nettest"
|
||
|
}
|
||
|
},
|
||
|
"spec": {
|
||
|
"replicas": 2,
|
||
|
"selector": {
|
||
|
"name": "nettest"
|
||
|
},
|
||
|
"template": {
|
||
|
"metadata": {
|
||
|
"labels": {
|
||
|
"name": "nettest"
|
||
|
}
|
||
|
},
|
||
|
"spec": {
|
||
|
"containers": [
|
||
|
{
|
||
|
"name": "webserver",
|
||
|
"image": "gcr.io/kubernetes-e2e-test-images/nettest-amd64:1.0",
|
||
|
"imagePullPolicy": "Always",
|
||
|
"args": [
|
||
|
"-service=nettest",
|
||
|
"-port=8080",
|
||
|
"-namespace=default",
|
||
|
"-peers=2"
|
||
|
],
|
||
|
"ports": [
|
||
|
{
|
||
|
"containerPort": 8080,
|
||
|
"protocol": "TCP"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|