Skip to content

Commit

Permalink
Fix up some help text in ACS (#2965)
Browse files Browse the repository at this point in the history
  • Loading branch information
brendandburns authored and derekbekoe committed Apr 25, 2017
1 parent a655d59 commit e2802f4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
type: group
short-summary: Manage a Kubernetes orchestrated Azure Container service.
"""
helps['acs kubernetes get-credentials'] = """
type: command
short-summary: Download and install credentials to access your cluster.
"""
helps['acs scale'] = """
type: command
short-summary: Change the private agent count of a container service.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def _acs_browse_internal(acs_info, resource_group, name, disable_browser, ssh_ke
def k8s_browse(name, resource_group, disable_browser=False,
ssh_key_file=os.path.join(os.path.expanduser('~'), '.ssh', 'id_rsa')):
"""
Wrapper on the 'kubectl proxy' command, for consistency with 'az dcos browse'
Launch a proxy and browse the Kubernetes web UI.
:param disable_browser: If true, don't launch a web browser after estabilishing the proxy
:type disable_browser: bool
"""
Expand Down Expand Up @@ -678,7 +678,7 @@ def _invoke_deployment(resource_group_name, deployment_name, template, parameter
def k8s_get_credentials(name, resource_group_name,
path=os.path.join(os.path.expanduser('~'), '.kube', 'config'),
ssh_key_file=os.path.join(os.path.expanduser('~'), '.ssh', 'id_rsa')):
"""Create a new Acs.
"""Download and install kubectl credentials from the cluster master
:param name: The name of the cluster.
:type name: str
:param resource_group_name: The name of the resource group.
Expand Down

0 comments on commit e2802f4

Please sign in to comment.