mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-04-22 06:22:50 +08:00
Fixed Format Issue for Kubernetes ServiceDiscoveryProvider
This commit is contained in:
parent
d5695f2ac7
commit
9d77600b58
@ -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.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user