update expose command description to add deployment

This commit is contained in:
AdoHe
2016-03-19 13:51:21 -04:00
parent c2200fe011
commit 57534eaec9
3 changed files with 13 additions and 13 deletions

View File

@@ -13,12 +13,12 @@ kubectl expose \- Take a replication controller, service or pod and expose it as
.SH DESCRIPTION
.PP
Take a replication controller, service, replica set or pod and expose it as a new Kubernetes service.
Take a replication controller, service, replica set, deployment or pod and expose it as a new Kubernetes service.
.PP
Looks up a replication controller, service, replica set or pod by name and uses the selector for that
resource as the selector for a new service on the specified port. A replica set will be exposed as a
service only if it's selector is convertible to a selector that service supports, i.e. when the
Looks up a replication controller, service, replica set, deployment or pod by name and uses the selector
for that resource as the selector for a new service on the specified port. A replica set will be exposed
as a service only if it's selector is convertible to a selector that service supports, i.e. when the
replica set selector contains only the matchLabels component. Note that if no port is specified
via \-\-port and the exposed resource has multiple ports, all will be re\-used by the new service. Also
if no labels are specified, the new service will re\-use the labels from the resource it exposes.