Skip to content

Commit

Permalink
Fixed Format Issue for Kubernetes ServiceDiscoveryProvider
Browse files Browse the repository at this point in the history
  • Loading branch information
anktsrkr authored Apr 8, 2019
1 parent d5695f2 commit 9d77600
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs/features/kubernetes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,14 @@ You use Ocelot to poll kubernetes for latest service information rather than per

.. code-block:: json
"ServiceDiscoveryProvider": {
"ServiceDiscoveryProvider": {
"Host": "192.168.0.13",
"Port": 443,
"Token": "txpc696iUhbVoudg164r93CxDTrKRVWG",
"Namespace": "dev",
"Type": "pollkube"
"PollingInterval": 100
}
"Port": 443,
"Token": "txpc696iUhbVoudg164r93CxDTrKRVWG",
"Namespace": "dev",
"Type": "pollkube"
"PollingInterval": 100
}
The polling interval is in milliseconds and tells Ocelot how often to call kubernetes for changes in service configuration.

Expand Down

0 comments on commit 9d77600

Please sign in to comment.