mirror of
				https://github.com/coredns/coredns.git
				synced 2025-10-30 17:53:21 -04:00 
			
		
		
		
	
				
					committed by
					
						 John Belamaric
						John Belamaric
					
				
			
			
				
	
			
			
			
						parent
						
							5468a6e162
						
					
				
				
					commit
					028a6db4d6
				
			| @@ -72,7 +72,7 @@ kubernetes [ZONES...] { | |||||||
| ## Examples | ## Examples | ||||||
|  |  | ||||||
| Handle all queries in the `cluster.local` zone. Connect to Kubernetes in-cluster. | Handle all queries in the `cluster.local` zone. Connect to Kubernetes in-cluster. | ||||||
| Als handl all `PTR` requests for `10.0.0.0/16` . Verify the existence of pods when answering pod | Also handle all `PTR` requests for `10.0.0.0/16` . Verify the existence of pods when answering pod | ||||||
| requests. Resolve upstream records against `10.102.3.10`. Note we show the entire server block | requests. Resolve upstream records against `10.102.3.10`. Note we show the entire server block | ||||||
| here: | here: | ||||||
|  |  | ||||||
| @@ -83,7 +83,7 @@ here: | |||||||
|         } |         } | ||||||
|     } |     } | ||||||
|  |  | ||||||
| Or you can selective expose some namespaces: | Or you can selectively expose some namespaces: | ||||||
|  |  | ||||||
| 	kubernetes cluster.local { | 	kubernetes cluster.local { | ||||||
| 		namespaces test staging | 		namespaces test staging | ||||||
| @@ -101,7 +101,7 @@ in the `prod` and `stage` federations. We resolve upstream records using the ser | |||||||
|     	} |     	} | ||||||
|     } |     } | ||||||
|  |  | ||||||
| And finally we connect to Kubernetes from outside the cluster: | And finally we can connect to Kubernetes from outside the cluster: | ||||||
|  |  | ||||||
| 	kubernetes cluster.local { | 	kubernetes cluster.local { | ||||||
| 		endpoint https://k8s-endpoint:8443 | 		endpoint https://k8s-endpoint:8443 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user