Skip to content

add support for ccp only upgrade and default to upgrade all#948

Merged
zikalino merged 2 commits intoAzure:masterfrom
xizha162:xizha-apclifix
Sep 19, 2019
Merged

add support for ccp only upgrade and default to upgrade all#948
zikalino merged 2 commits intoAzure:masterfrom
xizha162:xizha-apclifix

Conversation

@xizha162
Copy link
Copy Markdown
Contributor

With the new 0801 api version, we now supports control plane only cluster upgrade. Added the control-plane-only argument for this purpose and change the default to upgrade all (by setting kubernetes version of all agentpool profiles explicitly).


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-apclifix#subdirectory=src/$EXT&egg=$EXT"

@xizha162 xizha162 force-pushed the xizha-apclifix branch 5 times, most recently from 81297d8 to 99e27d5 Compare September 13, 2019 00:46
@xuto2
Copy link
Copy Markdown
Contributor

xuto2 commented Sep 14, 2019

@xizha162 xizha162 force-pushed the xizha-apclifix branch 2 times, most recently from 2c49ccd to 41d7f22 Compare September 16, 2019 17:50
Copy link
Copy Markdown
Member

@zqingqing1 zqingqing1 left a comment

Choose a reason for hiding this comment

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

lgtm

@zikalino
Copy link
Copy Markdown

ok, decided to merge it:
actually I was wondering if we could handle following scenarios, when user specified:

--control-plane-only

and
--control-plane-only False

specifically to avoid displaying prompt.

But this can be considered / checked later.

@zikalino zikalino merged commit 4fac6e9 into Azure:master Sep 19, 2019
ManuInNZ pushed a commit to ManuInNZ/azure-cli-extensions that referenced this pull request Apr 11, 2020
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.

6 participants