expose: Re-use labels in case none was specified

This commit is contained in:
kargakis
2015-05-13 10:52:25 +02:00
parent 5010b2dde0
commit ac652d16e6
7 changed files with 77 additions and 6 deletions

View File

@@ -17,7 +17,8 @@ Take a replicated application and expose it as Kubernetes Service.
.PP
Looks up a replication controller or service by name and uses the selector for that resource as the
selector for a new Service on the specified port.
selector for a new Service on the specified port. If no labels are specified, the new service will
re\-use the labels from the resource it exposes.
.SH OPTIONS