Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the network observability cli extension #6393

Merged
merged 7 commits into from
Jun 14, 2023

Conversation

snguyen64
Copy link
Contributor

The --enable-network-observability flag is used to enable network observability on an aks cluster. This adds the cli command to enable or disable this extension.


Related command

az aks create
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

Hi @snguyen64,
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 yonzhan and jsntcy June 12, 2023 17:50
@yonzhan
Copy link
Collaborator

yonzhan commented Jun 12, 2023

Thank you for your contribution! We will review the pull request and get back to you soon.

@ghost ghost requested a review from kairu-ms June 12, 2023 17:50
@ghost ghost added the Auto-Assign Auto assign by bot label Jun 12, 2023
@ghost ghost requested a review from necusjz June 12, 2023 17:50
@ghost ghost assigned necusjz Jun 12, 2023
@ghost ghost added the Network label Jun 12, 2023
@snguyen64 snguyen64 force-pushed the feat/kappie-cli-extension branch 3 times, most recently from 2847e0b to d053d3b Compare June 12, 2023 21:48
@yonzhan yonzhan assigned zhoxing-ms and unassigned necusjz Jun 12, 2023
@yonzhan yonzhan removed the Network label Jun 12, 2023
@snguyen64 snguyen64 marked this pull request as ready for review June 13, 2023 13:07
@zhoxing-ms zhoxing-ms merged commit d27a8fa into Azure:main Jun 14, 2023
@azclibot
Copy link
Collaborator

[Release] Update index.json for extension [ aks-preview ] : https://dev.azure.com/azclitools/internal/_build/results?buildId=64263&view=results

@@ -2370,6 +2377,12 @@ def set_up_network_profile(self, mc: ManagedCluster) -> ManagedCluster:
else:
network_profile.network_dataplane = self.context.get_network_dataplane()

network_observability = self.context.get_enable_network_observability()
if network_observability is not None:
network_profile.network_monitoring = self.models.NetworkMonitoring(
Copy link
Member

Choose a reason for hiding this comment

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

Queued a live test pipeline and the create test case failed.

Seems the property name used here is wrong. Should be network_profile.monitoring instead of network_profile.network_monitoring.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Auto-Assign Auto assign by bot
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants