Fixed Format Issue for Kubernetes ServiceDiscoveryProvider

This commit is contained in:
Ankit Sarkar 2019-04-08 08:22:43 +05:30 committed by GitHub
parent d5695f2ac7
commit 9d77600b58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,14 +48,14 @@ You use Ocelot to poll kubernetes for latest service information rather than per
.. code-block:: json .. code-block:: json
"ServiceDiscoveryProvider": { "ServiceDiscoveryProvider": {
"Host": "192.168.0.13", "Host": "192.168.0.13",
"Port": 443, "Port": 443,
"Token": "txpc696iUhbVoudg164r93CxDTrKRVWG", "Token": "txpc696iUhbVoudg164r93CxDTrKRVWG",
"Namespace": "dev", "Namespace": "dev",
"Type": "pollkube" "Type": "pollkube"
"PollingInterval": 100 "PollingInterval": 100
} }
The polling interval is in milliseconds and tells Ocelot how often to call kubernetes for changes in service configuration. The polling interval is in milliseconds and tells Ocelot how often to call kubernetes for changes in service configuration.