Merge pull request #5061 from thockin/docs1

Better docs for Services and public IPs.
This commit is contained in:
Brian Grant
2015-03-05 11:52:38 -08:00
9 changed files with 276 additions and 174 deletions

View File

@@ -718,7 +718,8 @@ type ServiceSpec struct {
// CreateExternalLoadBalancer indicates whether a load balancer should be created for this service.
CreateExternalLoadBalancer bool `json:"createExternalLoadBalancer,omitempty"`
// PublicIPs are used by external load balancers.
// PublicIPs are used by external load balancers, or can be set by
// users to handle external traffic that arrives at a node.
PublicIPs []string `json:"publicIPs,omitempty"`
// ContainerPort is the name or number of the port on the container to direct traffic to.