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

No argument in the az aks update command to disable network observability (azure-cli-extension/aks-preview) #6740

Closed
ALexAl123 opened this issue Sep 8, 2023 · 9 comments
Assignees
Labels
AKS Auto-Assign Auto assign by bot bug This issue requires a change to an existing behavior in the product in order to be resolved. customer-reported Issues that are reported by GitHub users external to the Azure organization. CXP Attention This issue is handled by CXP team. needs-author-feedback More information is needed from author to address the issue. needs-team-triage This issue needs the team to triage. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that

Comments

@ALexAl123
Copy link

Describe the bug

For testing purposes, we enabled network-observability for our clusters. At the moment we need to disable this feature for one of the AKS in the subscription, but we do not find the corresponding argument in the az aks update command .
Only the --enable-network-observability argument is present.
I would expect the command : az aks update to provide a --disable-network-observability argument.

Related command

az aks update

Errors

unrecognized arguments: --disable-network-observability

Issue script & Debug output

az aks update
--resource-group myResourceGroup
--name myAKSCluster
--disable-network-observability

Expected behavior

I would expect that ability to disable network-observability is available.

Environment Summary

azure-cli 2.51.0 *

core 2.51.0 *
telemetry 1.1.0

Extensions:
azure-devops 0.26.0

Dependencies:
msal 1.24.0b1
azure-mgmt-resource 23.1.0b2

Additional context

This will prevent our organization from starting testing and preparing the CI/CD process to implement network observability in production environments.

@ALexAl123 ALexAl123 added the bug This issue requires a change to an existing behavior in the product in order to be resolved. label Sep 8, 2023
@microsoft-github-policy-service microsoft-github-policy-service bot added question The issue doesn't require a change to the product in order to be resolved. Most issues start as that customer-reported Issues that are reported by GitHub users external to the Azure organization. AKS CXP Attention This issue is handled by CXP team. Auto-Assign Auto assign by bot labels Sep 8, 2023
@yonzhan
Copy link
Collaborator

yonzhan commented Sep 8, 2023

Thank you for opening this issue, we will look into it.

@ALexAl123 ALexAl123 changed the title No flag to disable network observability (azure-cli-extension/aks-preview) No argument in the az aks update command to disable network observability (azure-cli-extension/aks-preview) Sep 8, 2023
@navba-MSFT navba-MSFT self-assigned this Sep 25, 2023
@navba-MSFT
Copy link
Contributor

@ALexAl123 Apologies for the late reply. Thanks for reaching out to us and reporting this issue. We are looking into this issue and we will provide an update.

@navba-MSFT
Copy link
Contributor

@ALexAl123 Could you please run the az aks update command without specifying the --enable-network-observability argument and check if that helps. Awaiting your reply.

@navba-MSFT navba-MSFT added the needs-author-feedback More information is needed from author to address the issue. label Sep 25, 2023
@ALexAl123
Copy link
Author

ALexAl123 commented Sep 25, 2023

Hi @navba-MSFT
I ran az aks update command
without specifying the [--enable-network-observability] argument.
I can't check if anything has changed because the output of the az aks show command does not contain any fields related to network observability.
But my Grafana network observability dashboard is still working, so I guess nothing has changed.

@microsoft-github-policy-service microsoft-github-policy-service bot added needs-team-attention This issue needs attention from Azure service team or SDK team and removed needs-author-feedback More information is needed from author to address the issue. labels Sep 25, 2023
@snguyen64
Copy link
Contributor

Hi @ALexAl123

Is there any feedback or reason for disabling kappie feature?

As of this moment, only –enable-network-observability is added to the aks preview cli. disable-network-observability is not added to the aks preview cli yet.
If we use helm to uninstall aks-managed-kappie, it will be reconciled by aks and installed again. To uninstall kappie at the moment, we would make an api call to the aks api to update the managed cluster and disable monitoring in the network profile
Managed Clusters - Create Or Update - REST API (Azure AKS) | Microsoft Learn

This snippet only includes the relevant field for the payload when disabling network observability using the api. Also note the api version must atleast be 2023-05-02-preview
{ “properties”: { “networkProfile”: { “monitoring”: { “enabled”: false } } } }

@navba-MSFT navba-MSFT added needs-author-feedback More information is needed from author to address the issue. and removed needs-team-attention This issue needs attention from Azure service team or SDK team labels Sep 27, 2023
@PramodValavala-MSFT PramodValavala-MSFT added Service Attention This issue is responsible by Azure service team. and removed CXP Attention This issue is handled by CXP team. labels Sep 28, 2023
@navba-MSFT navba-MSFT added CXP Attention This issue is handled by CXP team. and removed Service Attention This issue is responsible by Azure service team. labels Sep 29, 2023
@navba-MSFT
Copy link
Contributor

@ALexAl123 Please let us know if you had a chance to look at the above comment. Awaiting your reply.

@navba-MSFT navba-MSFT added Service Attention This issue is responsible by Azure service team. and removed CXP Attention This issue is handled by CXP team. labels Sep 29, 2023
@microsoft-github-policy-service microsoft-github-policy-service bot added the needs-team-triage This issue needs the team to triage. label Sep 29, 2023
@navba-MSFT navba-MSFT added CXP Attention This issue is handled by CXP team. and removed Service Attention This issue is responsible by Azure service team. needs-team-triage This issue needs the team to triage. labels Oct 3, 2023
@microsoft-github-policy-service microsoft-github-policy-service bot added the needs-team-triage This issue needs the team to triage. label Oct 3, 2023
@microsoft-github-policy-service
Copy link
Contributor

Thank you for your feedback. This has been routed to the support team for assistance.

@navba-MSFT
Copy link
Contributor

@ALexAl123 I hope you had a chance to look at the above comment. If you need any further assistance on this issue in future, please feel free to reopen this thread. We would be happy to help.

@ALexAl123
Copy link
Author

Hi @navba-MSFT
I'm sorry to be late with the reply.
I tested the REST_API call you suggested.
Network observability has been successfully disabled.
Thanks for your support.

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 bug This issue requires a change to an existing behavior in the product in order to be resolved. customer-reported Issues that are reported by GitHub users external to the Azure organization. CXP Attention This issue is handled by CXP team. needs-author-feedback More information is needed from author to address the issue. needs-team-triage This issue needs the team to triage. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Projects
None yet
Development

No branches or pull requests

5 participants