mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 04:08:16 +00:00 
			
		
		
		
	Core support for ip-per-service
This commit is contained in:
		@@ -423,6 +423,13 @@ type Service struct {
 | 
			
		||||
	// ContainerPort is the name of the port on the container to direct traffic to.
 | 
			
		||||
	// Optional, if unspecified use the first port on the container.
 | 
			
		||||
	ContainerPort util.IntOrString `json:"containerPort,omitempty" yaml:"containerPort,omitempty"`
 | 
			
		||||
 | 
			
		||||
	// PortalIP is assigned by the master.  If specified by the user it will be ignored.
 | 
			
		||||
	// TODO: This is awkward - if we had a BoundService, it would be better factored.
 | 
			
		||||
	PortalIP string `json:"portalIP,omitempty" yaml:"portalIP,omitempty"`
 | 
			
		||||
 | 
			
		||||
	// ProxyPort is assigned by the master.  If specified by the user it will be ignored.
 | 
			
		||||
	ProxyPort int `json:"proxyPort,omitempty" yaml:"proxyPort,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Endpoints is a collection of endpoints that implement the actual service, for example:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user