Skip to content

AKS kollect command implementation#947

Merged
zikalino merged 3 commits intoAzure:masterfrom
xizha162:xizha-aksgenie
Sep 19, 2019
Merged

AKS kollect command implementation#947
zikalino merged 3 commits intoAzure:masterfrom
xizha162:xizha-aksgenie

Conversation

@xizha162
Copy link
Copy Markdown
Contributor

@xizha162 xizha162 commented Sep 11, 2019

Initial implementation of the az aks kollect command. This command will deploy a daemon set to customer 's aks cluster and collect logs and diag information. The logs and information will be saved to a storage account the user specified or the storage account specified in the diag settings of the cluster.


This checklist is used to make sure that common guidelines for a pull request are followed.

General Guidelines

  • Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
  • Have you run python scripts/ci/test_index.py -q locally?

For new extensions:

@azuresdkci
Copy link
Copy Markdown

If this PR is for a new extension or change to an existing extension, use the following to try out the changes in this PR:

docker run -it microsoft/azure-cli:latest
export EXT=<NAME>
pip install --upgrade --target ~/.azure/cliextensions/$EXT "git+https://github.com/xizhamsft/azure-cli-extensions.git@xizha-aksgenie#subdirectory=src/$EXT&egg=$EXT"

@xizha162 xizha162 force-pushed the xizha-aksgenie branch 4 times, most recently from 979daed to ca99bd8 Compare September 13, 2019 00:55
@xizha162 xizha162 force-pushed the xizha-aksgenie branch 2 times, most recently from ad80cf7 to 30a6b34 Compare September 16, 2019 02:36
@xizha162 xizha162 changed the title AKS diag command implementation AKS kollect command implementation Sep 16, 2019
Copy link
Copy Markdown
Contributor

@JunSun17 JunSun17 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, some minor comments inline.

Copy link
Copy Markdown

@zikalino zikalino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think storage_account params should be improved

@xizha162
Copy link
Copy Markdown
Contributor Author

i think storage_account params should be improved

Fixed. Now there is only one storage account parameter and it accepts both Id and name.

@zikalino zikalino merged commit e4bec5e into Azure:master Sep 19, 2019
ManuInNZ pushed a commit to ManuInNZ/azure-cli-extensions that referenced this pull request Apr 11, 2020
* aks diag command implementation

* fixing comments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants