Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
[
{
"name": "router2",
"replicas": 1,
"serviceaccount": "router",
"namespace": "default",
"stats_port": 1941,
"ports": [
"8080:8080",
"6443:6443"
],
"images": "registry.ops.openshift.com/openshift3/ose-${component}:${version}",
"certificate": {},
"selector": "region=infra",
"edits": [
{
"action": "update",
"key": "spec.template.spec.containers[0].ports",
"curr_value": {
"containerPort": "1935",
"hostPort": "1935",
"name": "router-stats",
"protocol": "TCP"
},
"value": {
"containerPort": "1940",
"hostPort": "1940",
"name": "router-stats",
"protocol": "TCP"
}
},
{
"action": "update",
"curr_value": {
"name": "ROUTER_SERVICE_HTTPS_PORT",
"value": "443"
},
"key": "spec.template.spec.containers[0].env",
"value": {
"name": "ROUTER_SERVICE_HTTPS_PORT",
"value": "6443"
}
},
{
"key": "spec.template.spec.containers[0].env",
"action": "update",
"curr_value": {
"name": "ROUTER_SERVICE_HTTP_PORT",
"value": "80"
},
"value": {
"name": "ROUTER_SERVICE_HTTP_PORT",
"value": "8080"
}
},
{
"key": "spec.template.spec.containers[0].env",
"action": "update",
"curr_value": {
"name": "STATS_PORT",
"value": "1936"
},
"value": {
"name": "STATS_PORT",
"value": "1941"
}
},
{
"key": "spec.template.spec.containers[0].env",
"action": "update",
"curr_value": {
"name": "ROUTER_LISTEN_ADDR",
"value": "0.0.0.0:1935"
},
"value": {
"name": "ROUTER_LISTEN_ADDR",
"value": "0.0.0.0:1940"
}
},
{
"action": "update",
"key": "spec.template.spec.containers[0].ports",
"curr_value": {
"containerPort": "1936",
"hostPort": "1936",
"name": "stats",
"protocol": "TCP"
},
"value": {
"containerPort": "1941",
"hostPort": "1941",
"name": "stats",
"protocol": "TCP"
}
}
]
},
{
"name": "router3",
"replicas": 1,
"serviceaccount": "router",
"namespace": "default",
"stats_port": 1936,
"ports": [
"80:80",
"443:443"
],
"images": "registry.ops.openshift.com/openshift3/ose-${component}:${version}",
"certificate": {},
"selector": "region=infra",
"edits": []
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.