Merge pull request #24303 from mikedanese/fix-the-build

fix the build
pull/6/head
Daniel Smith 2016-04-14 17:22:23 -07:00
commit 6320e41b4f
33 changed files with 87 additions and 12 deletions

View File

@ -11,6 +11,8 @@ options:
- name: api-version - name: api-version
usage: | usage: |
DEPRECATED: The API version to use when talking to the server DEPRECATED: The API version to use when talking to the server
- name: as
usage: Username to impersonate for the operation.
- name: certificate-authority - name: certificate-authority
usage: Path to a cert. file for the certificate authority. usage: Path to a cert. file for the certificate authority.
- name: client-certificate - name: client-certificate

View File

@ -1,6 +1,6 @@
name: annotate name: annotate
synopsis: Update the annotations on a resource synopsis: Update the annotations on a resource
description: |- description: |
Update the annotations on one or more resources. Update the annotations on one or more resources.
An annotation is a key/value pair that can hold larger (compared to a label), and possibly not human-readable, data. An annotation is a key/value pair that can hold larger (compared to a label), and possibly not human-readable, data.
@ -8,10 +8,11 @@ description: |-
If --overwrite is true, then existing annotations can be overwritten, otherwise attempting to overwrite an annotation will result in an error. If --overwrite is true, then existing annotations can be overwritten, otherwise attempting to overwrite an annotation will result in an error.
If --resource-version is specified, then updates will use this resource version, otherwise the existing resource-version will be used. If --resource-version is specified, then updates will use this resource version, otherwise the existing resource-version will be used.
Possible resources include (case insensitive): pods (po), services (svc), Possible resources include (case insensitive):
replicationcontrollers (rc), nodes (no), events (ev), componentstatuses (cs), pod (po), service (svc), replicationcontroller (rc),
limitranges (limits), persistentvolumes (pv), persistentvolumeclaims (pvc), node (no), event (ev), componentstatuse (cs),
horizontalpodautoscalers (hpa), resourcequotas (quota) or secrets. limitrange (limits), persistentvolume (pv), persistentvolumeclaim (pvc),
horizontalpodautoscaler (hpa), resourcequota (quota), secret
options: options:
- name: all - name: all
default_value: "false" default_value: "false"
@ -75,6 +76,8 @@ inherited_options:
- name: api-version - name: api-version
usage: | usage: |
DEPRECATED: The API version to use when talking to the server DEPRECATED: The API version to use when talking to the server
- name: as
usage: Username to impersonate for the operation.
- name: certificate-authority - name: certificate-authority
usage: Path to a cert. file for the certificate authority. usage: Path to a cert. file for the certificate authority.
- name: client-certificate - name: client-certificate

View File

@ -8,6 +8,8 @@ inherited_options:
- name: api-version - name: api-version
usage: | usage: |
DEPRECATED: The API version to use when talking to the server DEPRECATED: The API version to use when talking to the server
- name: as
usage: Username to impersonate for the operation.
- name: certificate-authority - name: certificate-authority
usage: Path to a cert. file for the certificate authority. usage: Path to a cert. file for the certificate authority.
- name: client-certificate - name: client-certificate

View File

@ -38,6 +38,8 @@ inherited_options:
- name: api-version - name: api-version
usage: | usage: |
DEPRECATED: The API version to use when talking to the server DEPRECATED: The API version to use when talking to the server
- name: as
usage: Username to impersonate for the operation.
- name: certificate-authority - name: certificate-authority
usage: Path to a cert. file for the certificate authority. usage: Path to a cert. file for the certificate authority.
- name: client-certificate - name: client-certificate

View File

@ -22,6 +22,8 @@ inherited_options:
- name: api-version - name: api-version
usage: | usage: |
DEPRECATED: The API version to use when talking to the server DEPRECATED: The API version to use when talking to the server
- name: as
usage: Username to impersonate for the operation.
- name: certificate-authority - name: certificate-authority
usage: Path to a cert. file for the certificate authority. usage: Path to a cert. file for the certificate authority.
- name: client-certificate - name: client-certificate

View File

@ -82,6 +82,8 @@ inherited_options:
- name: api-version - name: api-version
usage: | usage: |
DEPRECATED: The API version to use when talking to the server DEPRECATED: The API version to use when talking to the server
- name: as
usage: Username to impersonate for the operation.
- name: certificate-authority - name: certificate-authority
usage: Path to a cert. file for the certificate authority. usage: Path to a cert. file for the certificate authority.
- name: client-certificate - name: client-certificate

View File

@ -14,6 +14,8 @@ inherited_options:
- name: api-version - name: api-version
usage: | usage: |
DEPRECATED: The API version to use when talking to the server DEPRECATED: The API version to use when talking to the server
- name: as
usage: Username to impersonate for the operation.
- name: certificate-authority - name: certificate-authority
usage: Path to a cert. file for the certificate authority. usage: Path to a cert. file for the certificate authority.
- name: client-certificate - name: client-certificate

View File

@ -17,6 +17,8 @@ inherited_options:
- name: api-version - name: api-version
usage: | usage: |
DEPRECATED: The API version to use when talking to the server DEPRECATED: The API version to use when talking to the server
- name: as
usage: Username to impersonate for the operation.
- name: certificate-authority - name: certificate-authority
usage: Path to a cert. file for the certificate authority. usage: Path to a cert. file for the certificate authority.
- name: client-certificate - name: client-certificate

View File

@ -68,6 +68,8 @@ inherited_options:
- name: api-version - name: api-version
usage: | usage: |
DEPRECATED: The API version to use when talking to the server DEPRECATED: The API version to use when talking to the server
- name: as
usage: Username to impersonate for the operation.
- name: certificate-authority - name: certificate-authority
usage: Path to a cert. file for the certificate authority. usage: Path to a cert. file for the certificate authority.
- name: client-certificate - name: client-certificate

View File

@ -9,6 +9,8 @@ inherited_options:
- name: api-version - name: api-version
usage: | usage: |
DEPRECATED: The API version to use when talking to the server DEPRECATED: The API version to use when talking to the server
- name: as
usage: Username to impersonate for the operation.
- name: certificate-authority - name: certificate-authority
usage: Path to a cert. file for the certificate authority. usage: Path to a cert. file for the certificate authority.
- name: client-certificate - name: client-certificate

View File

@ -44,6 +44,8 @@ inherited_options:
- name: api-version - name: api-version
usage: | usage: |
DEPRECATED: The API version to use when talking to the server DEPRECATED: The API version to use when talking to the server
- name: as
usage: Username to impersonate for the operation.
- name: certificate-authority - name: certificate-authority
usage: Path to a cert. file for the certificate authority. usage: Path to a cert. file for the certificate authority.
- name: client-certificate - name: client-certificate

View File

@ -36,6 +36,10 @@ options:
default_value: "true" default_value: "true"
usage: | usage: |
If true, include definitions of new APIs via calls to the API server. [default true] If true, include definitions of new APIs via calls to the API server. [default true]
- name: now
default_value: "false"
usage: |
If true, resources are force terminated without graceful deletion (same as --grace-period=0).
- name: output - name: output
shorthand: o shorthand: o
usage: | usage: |
@ -58,6 +62,8 @@ inherited_options:
- name: api-version - name: api-version
usage: | usage: |
DEPRECATED: The API version to use when talking to the server DEPRECATED: The API version to use when talking to the server
- name: as
usage: Username to impersonate for the operation.
- name: certificate-authority - name: certificate-authority
usage: Path to a cert. file for the certificate authority. usage: Path to a cert. file for the certificate authority.
- name: client-certificate - name: client-certificate
@ -123,6 +129,9 @@ example: |-
# Delete pods and services with label name=myLabel. # Delete pods and services with label name=myLabel.
kubectl delete pods,services -l name=myLabel kubectl delete pods,services -l name=myLabel
# Delete a pod immediately (no graceful shutdown)
kubectl delete pod foo --now
# Delete a pod with UID 1234-56-7890-234234-456456. # Delete a pod with UID 1234-56-7890-234234-456456.
kubectl delete pod 1234-56-7890-234234-456456 kubectl delete pod 1234-56-7890-234234-456456

View File

@ -40,6 +40,8 @@ inherited_options:
- name: api-version - name: api-version
usage: | usage: |
DEPRECATED: The API version to use when talking to the server DEPRECATED: The API version to use when talking to the server
- name: as
usage: Username to impersonate for the operation.
- name: certificate-authority - name: certificate-authority
usage: Path to a cert. file for the certificate authority. usage: Path to a cert. file for the certificate authority.
- name: client-certificate - name: client-certificate

View File

@ -33,6 +33,8 @@ inherited_options:
- name: api-version - name: api-version
usage: | usage: |
DEPRECATED: The API version to use when talking to the server DEPRECATED: The API version to use when talking to the server
- name: as
usage: Username to impersonate for the operation.
- name: certificate-authority - name: certificate-authority
usage: Path to a cert. file for the certificate authority. usage: Path to a cert. file for the certificate authority.
- name: client-certificate - name: client-certificate

View File

@ -58,6 +58,8 @@ inherited_options:
- name: api-version - name: api-version
usage: | usage: |
DEPRECATED: The API version to use when talking to the server DEPRECATED: The API version to use when talking to the server
- name: as
usage: Username to impersonate for the operation.
- name: certificate-authority - name: certificate-authority
usage: Path to a cert. file for the certificate authority. usage: Path to a cert. file for the certificate authority.
- name: client-certificate - name: client-certificate

View File

@ -24,6 +24,8 @@ inherited_options:
- name: api-version - name: api-version
usage: | usage: |
DEPRECATED: The API version to use when talking to the server DEPRECATED: The API version to use when talking to the server
- name: as
usage: Username to impersonate for the operation.
- name: certificate-authority - name: certificate-authority
usage: Path to a cert. file for the certificate authority. usage: Path to a cert. file for the certificate authority.
- name: client-certificate - name: client-certificate

View File

@ -23,6 +23,8 @@ inherited_options:
- name: api-version - name: api-version
usage: | usage: |
DEPRECATED: The API version to use when talking to the server DEPRECATED: The API version to use when talking to the server
- name: as
usage: Username to impersonate for the operation.
- name: certificate-authority - name: certificate-authority
usage: Path to a cert. file for the certificate authority. usage: Path to a cert. file for the certificate authority.
- name: client-certificate - name: client-certificate

View File

@ -1,15 +1,16 @@
name: expose name: expose
synopsis: | synopsis: |
Take a replication controller, service, deployment or pod and expose it as a new Kubernetes Service Take a replication controller, service, deployment or pod and expose it as a new Kubernetes Service
description: "Take a deployment, service, replica set, replication controller, or description: "Expose a resource as a new Kubernetes service.\n\nLooks up a deployment,
pod and expose it as a new Kubernetes service.\n\nLooks up a deployment, service, service, replica set, replication controller or pod by name and uses the selector\nfor
replica set, replication controller or pod by name and uses the selector\nfor that that resource as the selector for a new service on the specified port. A deployment
resource as the selector for a new service on the specified port. A deployment or or replica set\nwill be exposed as a service only if its selector is convertible
replica set\nwill be exposed as a service only if its selector is convertible to to a selector that service supports,\ni.e. when the selector contains only the matchLabels
a selector that service supports,\ni.e. when the selector contains only the matchLabels
component. Note that if no port is specified via\n--port and the exposed resource component. Note that if no port is specified via\n--port and the exposed resource
has multiple ports, all will be re-used by the new service. Also if no \nlabels has multiple ports, all will be re-used by the new service. Also if no \nlabels
are specified, the new service will re-use the labels from the resource it exposes." are specified, the new service will re-use the labels from the resource it exposes.\n\nPossible
resources include (case insensitive):\n pod (po), service (svc), replicationcontroller
(rc),\n deployment, replicaset (rs)\n"
options: options:
- name: container-port - name: container-port
usage: Synonym for --target-port usage: Synonym for --target-port
@ -106,6 +107,8 @@ inherited_options:
- name: api-version - name: api-version
usage: | usage: |
DEPRECATED: The API version to use when talking to the server DEPRECATED: The API version to use when talking to the server
- name: as
usage: Username to impersonate for the operation.
- name: certificate-authority - name: certificate-authority
usage: Path to a cert. file for the certificate authority. usage: Path to a cert. file for the certificate authority.
- name: client-certificate - name: client-certificate

View File

@ -82,6 +82,8 @@ inherited_options:
- name: api-version - name: api-version
usage: | usage: |
DEPRECATED: The API version to use when talking to the server DEPRECATED: The API version to use when talking to the server
- name: as
usage: Username to impersonate for the operation.
- name: certificate-authority - name: certificate-authority
usage: Path to a cert. file for the certificate authority. usage: Path to a cert. file for the certificate authority.
- name: client-certificate - name: client-certificate

View File

@ -73,6 +73,8 @@ inherited_options:
- name: api-version - name: api-version
usage: | usage: |
DEPRECATED: The API version to use when talking to the server DEPRECATED: The API version to use when talking to the server
- name: as
usage: Username to impersonate for the operation.
- name: certificate-authority - name: certificate-authority
usage: Path to a cert. file for the certificate authority. usage: Path to a cert. file for the certificate authority.
- name: client-certificate - name: client-certificate

View File

@ -46,6 +46,8 @@ inherited_options:
- name: api-version - name: api-version
usage: | usage: |
DEPRECATED: The API version to use when talking to the server DEPRECATED: The API version to use when talking to the server
- name: as
usage: Username to impersonate for the operation.
- name: certificate-authority - name: certificate-authority
usage: Path to a cert. file for the certificate authority. usage: Path to a cert. file for the certificate authority.
- name: client-certificate - name: client-certificate

View File

@ -11,6 +11,8 @@ inherited_options:
- name: api-version - name: api-version
usage: | usage: |
DEPRECATED: The API version to use when talking to the server DEPRECATED: The API version to use when talking to the server
- name: as
usage: Username to impersonate for the operation.
- name: certificate-authority - name: certificate-authority
usage: Path to a cert. file for the certificate authority. usage: Path to a cert. file for the certificate authority.
- name: client-certificate - name: client-certificate

View File

@ -41,6 +41,8 @@ inherited_options:
- name: api-version - name: api-version
usage: | usage: |
DEPRECATED: The API version to use when talking to the server DEPRECATED: The API version to use when talking to the server
- name: as
usage: Username to impersonate for the operation.
- name: certificate-authority - name: certificate-authority
usage: Path to a cert. file for the certificate authority. usage: Path to a cert. file for the certificate authority.
- name: client-certificate - name: client-certificate

View File

@ -12,6 +12,8 @@ inherited_options:
- name: api-version - name: api-version
usage: | usage: |
DEPRECATED: The API version to use when talking to the server DEPRECATED: The API version to use when talking to the server
- name: as
usage: Username to impersonate for the operation.
- name: certificate-authority - name: certificate-authority
usage: Path to a cert. file for the certificate authority. usage: Path to a cert. file for the certificate authority.
- name: client-certificate - name: client-certificate

View File

@ -64,6 +64,8 @@ inherited_options:
- name: api-version - name: api-version
usage: | usage: |
DEPRECATED: The API version to use when talking to the server DEPRECATED: The API version to use when talking to the server
- name: as
usage: Username to impersonate for the operation.
- name: certificate-authority - name: certificate-authority
usage: Path to a cert. file for the certificate authority. usage: Path to a cert. file for the certificate authority.
- name: client-certificate - name: client-certificate

View File

@ -63,6 +63,8 @@ inherited_options:
- name: api-version - name: api-version
usage: | usage: |
DEPRECATED: The API version to use when talking to the server DEPRECATED: The API version to use when talking to the server
- name: as
usage: Username to impersonate for the operation.
- name: certificate-authority - name: certificate-authority
usage: Path to a cert. file for the certificate authority. usage: Path to a cert. file for the certificate authority.
- name: client-certificate - name: client-certificate

View File

@ -86,6 +86,8 @@ inherited_options:
- name: api-version - name: api-version
usage: | usage: |
DEPRECATED: The API version to use when talking to the server DEPRECATED: The API version to use when talking to the server
- name: as
usage: Username to impersonate for the operation.
- name: certificate-authority - name: certificate-authority
usage: Path to a cert. file for the certificate authority. usage: Path to a cert. file for the certificate authority.
- name: client-certificate - name: client-certificate

View File

@ -9,6 +9,8 @@ inherited_options:
- name: api-version - name: api-version
usage: | usage: |
DEPRECATED: The API version to use when talking to the server DEPRECATED: The API version to use when talking to the server
- name: as
usage: Username to impersonate for the operation.
- name: certificate-authority - name: certificate-authority
usage: Path to a cert. file for the certificate authority. usage: Path to a cert. file for the certificate authority.
- name: client-certificate - name: client-certificate

View File

@ -124,6 +124,8 @@ inherited_options:
- name: api-version - name: api-version
usage: | usage: |
DEPRECATED: The API version to use when talking to the server DEPRECATED: The API version to use when talking to the server
- name: as
usage: Username to impersonate for the operation.
- name: certificate-authority - name: certificate-authority
usage: Path to a cert. file for the certificate authority. usage: Path to a cert. file for the certificate authority.
- name: client-certificate - name: client-certificate

View File

@ -50,6 +50,8 @@ inherited_options:
- name: api-version - name: api-version
usage: | usage: |
DEPRECATED: The API version to use when talking to the server DEPRECATED: The API version to use when talking to the server
- name: as
usage: Username to impersonate for the operation.
- name: certificate-authority - name: certificate-authority
usage: Path to a cert. file for the certificate authority. usage: Path to a cert. file for the certificate authority.
- name: client-certificate - name: client-certificate

View File

@ -51,6 +51,8 @@ inherited_options:
- name: api-version - name: api-version
usage: | usage: |
DEPRECATED: The API version to use when talking to the server DEPRECATED: The API version to use when talking to the server
- name: as
usage: Username to impersonate for the operation.
- name: certificate-authority - name: certificate-authority
usage: Path to a cert. file for the certificate authority. usage: Path to a cert. file for the certificate authority.
- name: client-certificate - name: client-certificate

View File

@ -9,6 +9,8 @@ inherited_options:
- name: api-version - name: api-version
usage: | usage: |
DEPRECATED: The API version to use when talking to the server DEPRECATED: The API version to use when talking to the server
- name: as
usage: Username to impersonate for the operation.
- name: certificate-authority - name: certificate-authority
usage: Path to a cert. file for the certificate authority. usage: Path to a cert. file for the certificate authority.
- name: client-certificate - name: client-certificate

View File

@ -11,6 +11,8 @@ inherited_options:
- name: api-version - name: api-version
usage: | usage: |
DEPRECATED: The API version to use when talking to the server DEPRECATED: The API version to use when talking to the server
- name: as
usage: Username to impersonate for the operation.
- name: certificate-authority - name: certificate-authority
usage: Path to a cert. file for the certificate authority. usage: Path to a cert. file for the certificate authority.
- name: client-certificate - name: client-certificate