-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Conversation
Hi @snguyen64, |
Thank you for your contribution! We will review the pull request and get back to you soon. |
2847e0b
to
d053d3b
Compare
2c3dc89
to
59018be
Compare
…er exclusion for flag char limit
59018be
to
33c5387
Compare
[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( |
There was a problem hiding this comment.
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
.
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
azdev style <YOUR_EXT>
locally? (pip install azdev
required)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
.