-
Notifications
You must be signed in to change notification settings - Fork 1.6k
{AKS} az aks create/update: Update container network logs error message to mention portal enablement of ACNS
#9837
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1083,8 +1083,10 @@ def get_container_network_logs(self, mc: ManagedCluster) -> Union[bool, None]: | |
| monitoring_enabled = monitoring_being_enabled or monitoring_already_enabled | ||
| if not acns_enabled or not monitoring_enabled: | ||
| raise InvalidArgumentValueError( | ||
| "Container network logs requires '--enable-acns', advanced networking " | ||
| "to be enabled, and the monitoring addon to be enabled." | ||
| "Container network logs require Advanced Container Networking Services to be enabled. " | ||
| "Activate this service through the portal or use the CLI with --enable-acns flag. " | ||
| "Additionally, the monitoring addon must be enabled and the cilium network dataplane " | ||
| "is required." | ||
|
Comment on lines
1084
to
+1089
|
||
| ) | ||
| enable_cnl = bool(enable_cnl) if enable_cnl is not None else False | ||
| disable_cnl = bool(disable_cnl) if disable_cnl is not None else False | ||
|
|
||
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.
The section underline for the new "20.0.0b6" heading is shorter than the heading text (7 '+' vs 8 chars). In reStructuredText, section adornment lines should be at least as long as the title to avoid rendering/parsing warnings; please adjust the underline length accordingly.