Skip to content

{AKS} az aks update: don't always use the current kube-proxy config when updating cluster#6255

Merged
zhoxing-ms merged 5 commits into
Azure:mainfrom
tyler-lloyd:aks-preview-fix-ipvs
May 5, 2023
Merged

{AKS} az aks update: don't always use the current kube-proxy config when updating cluster#6255
zhoxing-ms merged 5 commits into
Azure:mainfrom
tyler-lloyd:aks-preview-fix-ipvs

Conversation

@tyler-lloyd
Copy link
Copy Markdown
Contributor


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

Related command

az aks update

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:

About Extension Publish

There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify src/index.json.

@azure-client-tools-bot-prd
Copy link
Copy Markdown

Hi @tyler-lloyd,
If you want to release the new extension version.
Please write the description of changes into HISTORY.rst and update setup.py.

@ghost ghost requested review from yanzhudd and zhoxing-ms May 2, 2023 20:23
@ghost ghost assigned zhoxing-ms May 2, 2023
@ghost ghost added the Auto-Assign Auto assign by bot label May 2, 2023
@ghost ghost requested a review from yonzhan May 2, 2023 20:24
@ghost ghost added the AKS label May 2, 2023
@yonzhan
Copy link
Copy Markdown
Collaborator

yonzhan commented May 3, 2023

AKS

# try to read the property value corresponding to the parameter from the `mc` object
if self.mc and self.mc.network_profile and self.mc.network_profile.kube_proxy_config is not None:
kube_proxy_config = self.mc.network_profile.kube_proxy_config
if self.decorator_mode == DecoratorMode.CREATE:
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

confused by this checking of create won't self.mc.network_profile alsways be empty in create?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

network_profile I do not think is empty on create. for example we using 10.244.0.0/16 as the default pod_cidr from the sdk

Copy link
Copy Markdown

@paulgmiller paulgmiller left a comment

Choose a reason for hiding this comment

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

confused abotu create but otherwise seems fine.

Copy link
Copy Markdown
Member

@FumingZhang FumingZhang left a comment

Choose a reason for hiding this comment

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

LGTM

Queued a live test pipeline to validate the change.

Copy link
Copy Markdown
Member

@FumingZhang FumingZhang left a comment

Choose a reason for hiding this comment

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

Test passed.

@zhoxing-ms zhoxing-ms merged commit b3452ea into Azure:main May 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AKS Auto-Assign Auto assign by bot

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants