Skip to content

Commit

Permalink
Fix code-blocks in kubernetes.rst (#1128)
Browse files Browse the repository at this point in the history
line 70 – added missing period
lines 84-95 – added missing indent
  • Loading branch information
Alazari-main authored Apr 11, 2020
1 parent 347ea72 commit 4110837
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions docs/features/kubernetes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ You use Ocelot to poll kubernetes for latest service information rather than per
"Port": 443,
"Token": "txpc696iUhbVoudg164r93CxDTrKRVWG",
"Namespace": "dev",
"Type": "pollkube"
"Type": "pollkube",
"PollingInterval": 100
}
Expand All @@ -81,15 +81,15 @@ If your downstream service resides in a different namespace you can override the

.. code-block:: json
{
"ReRoutes": [
{
"DownstreamPathTemplate": "/api/values",
"DownstreamScheme": "http",
"UpstreamPathTemplate": "/values",
"ServiceName": "downstreamservice",
"ServiceNamespace": "downstream-namespace",
"UpstreamHttpMethod": [ "Get" ]
"ReRoutes": [
{
"DownstreamPathTemplate": "/api/values",
"DownstreamScheme": "http",
"UpstreamPathTemplate": "/values",
"ServiceName": "downstreamservice",
"ServiceNamespace": "downstream-namespace",
"UpstreamHttpMethod": [ "Get" ]
}
]
}
]
}

0 comments on commit 4110837

Please sign in to comment.