mirror of
				https://github.com/nsnail/Ocelot.git
				synced 2025-11-04 08:35:27 +08:00 
			
		
		
		
	Fixed Format Issue for Kubernetes ServiceDiscoveryProvider
This commit is contained in:
		@@ -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
 | 
			
		||||
}
 | 
			
		||||
  } 
 | 
			
		||||
 | 
			
		||||
The polling interval is in milliseconds and tells Ocelot how often to call kubernetes for changes in service configuration.
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user