Note on creating LimitRange for GPU, huge-pages resources
This commit is contained in:
		
							parent
							
								
									d01b09411d
								
							
						
					
					
						commit
						47a0781864
					
				| 
						 | 
					@ -79,6 +79,11 @@ CPU request and limit to the Container.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
* Verify that the Container specifies a CPU limit that is less than or equal to 800 millicpu.
 | 
					* Verify that the Container specifies a CPU limit that is less than or equal to 800 millicpu.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					**Note:** When creating a `LimitRange` object, you can specify limits on huge-pages
 | 
				
			||||||
 | 
					or GPUs as well. However, when both `default` and `defaultRequest` are specified
 | 
				
			||||||
 | 
					on these resources, the two values must be the same.
 | 
				
			||||||
 | 
					{: .note}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Here's the configuration file for a Pod that has one Container. The Container manifest
 | 
					Here's the configuration file for a Pod that has one Container. The Container manifest
 | 
				
			||||||
specifies a CPU request of 500 millicpu and a CPU limit of 800 millicpu. These satisfy the
 | 
					specifies a CPU request of 500 millicpu and a CPU limit of 800 millicpu. These satisfy the
 | 
				
			||||||
minimum and maximum CPU constraints imposed by the LimitRange.
 | 
					minimum and maximum CPU constraints imposed by the LimitRange.
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue