Skip to content

feat!: remove "default": "kubenet" from networkPlugin #27793

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tyler-lloyd
Copy link
Contributor

Defaulting will happen in AKS RP
and will be based on the Kubernetes
version of the cluster.

ARM (Control Plane) API Specification Update Pull Request

Tip

Overwhelmed by all this guidance? See the Getting help section at the bottom of this PR description.

Note

As of January 2024 there is no PR assignee. This is expected. See https://aka.ms/azsdk/pr-arm-review.

PR review workflow diagram

Please understand this diagram before proceeding. It explains how to get your PR approved & merged.

diagram

Click here to see the details of Step 1

Breaking changes review (Diagram Step 1)

If the automation determines you have breaking changes, i.e. Step 1 from the diagram applies to you,
you must follow the breaking changes process.
IMPORTANT This applies even if:

  • The tool fails while it shouldn't, e.g. due to runtime exception, or incorrect detection of breaking changes.
  • You believe there is no need for you to request breaking change approval, for any reason.
    Such claims must be reviewed, and the process is the same.
Click here to see the details of Step 2

ARM API changes review (Diagram Step 2)

Click here to see the diagram footnotes

Diagram footnotes

[1] See ARM review queue (for PR merge queues, see [2]).
[2] public repo merge queue, private repo merge queue (for ARM review queue, [1])
The ARM reviewer on-call engineer visits the merge queue twice a day, so the approximate ETA for merges is 12 - 24 hours.

Purpose of this PR

What's the purpose of this PR? Check the specific option that applies. This is mandatory!

  • New resource provider.
  • New API version for an existing resource provider. (If API spec is not defined in TypeSpec, the PR should have been generated using OpenAPI Hub).
  • Update existing version for a new feature. (This is applicable only when you are revising a private preview API version.)
  • Update existing version to fix OpenAPI spec quality issues in S360.
  • Other, please clarify:
    • edit this with your clarification

Due diligence checklist

To merge this PR, you must go through the following checklist and confirm you understood
and followed the instructions by checking all the boxes:

  • I confirm this PR is modifying Azure Resource Manager (ARM) related specifications, and not data plane related specifications.
  • I have reviewed following Resource Provider guidelines, including
    ARM resource provider contract and
    REST guidelines (estimated time: 4 hours).
    I understand this is required before I can proceed to the diagram Step 2, "ARM API changes review", for this PR.

Additional information

Viewing API changes

For convenient view of the API changes made by this PR, refer to the URLs provided in the table
in the Generated ApiView comment added to this PR. You can use ApiView to show API versions diff.

Suppressing failures

If one or multiple validation error/warning suppression(s) is detected in your PR, please follow the
suppressions guide to get approval.

Getting help

  • First, please carefully read through this PR description, from top to bottom. Please fill out the Purpose of this PR and Due diligence checklist.
  • To understand what you must do next to merge this PR, see the Next Steps to Merge comment. It will appear within few minutes of submitting this PR and will continue to be up-to-date with current PR state.
  • For guidance on fixing this PR CI check failures, see the hyperlinks provided in given failure
    and https://aka.ms/ci-fix.
  • For help with PR workflow diagram Step 2 (ARM review), see https://aka.ms/azsdk/pr-arm-review.
  • If the PR CI checks appear to be stuck in queued state, please add a comment with contents /azp run.
    This should result in a new comment denoting a PR validation pipeline has started and the checks should be updated after few minutes.
  • If the help provided by the previous points is not enough, post to https://aka.ms/azsdk/support/specreview-channel and link to this PR.

Defaulting will happen in AKS RP
and will be based on the Kubernetes
version of the cluster.
Copy link

openapi-pipeline-app bot commented Feb 15, 2024

Next Steps to Merge

❌ This PR is blocked from merging until following labels are removed from it: DoNotMerge

Copy link

openapi-pipeline-app bot commented Feb 15, 2024

Swagger Validation Report

️️✔️BreakingChange succeeded [Detail]
compared swaggers (via Oad v0.10.4)] new version base version
managedClusters.json 2023-11-01(c7e2038) 2023-11-01(main)
Rule Message
1027 - DefaultValueChanged The new version has a different default value than the previous one.
New: aks/stable/2023-11-01/managedClusters.json#L3626:9
Old: aks/stable/2023-11-01/managedClusters.json#L3626:9
️️✔️Breaking Change(Cross-Version) succeeded [Detail] [Expand]
There are no breaking changes.
️️✔️CredScan succeeded [Detail] [Expand]
There is no credential detected.
️️✔️LintDiff succeeded [Detail] [Expand]
Validation passes for LintDiff.
️️✔️Avocado succeeded [Detail] [Expand]
Validation passes for Avocado.
️️✔️SwaggerAPIView succeeded [Detail] [Expand]
️️✔️TypeSpecAPIView succeeded [Detail] [Expand]
️️✔️ModelValidation succeeded [Detail] [Expand]
Validation passes for ModelValidation.
️️✔️SemanticValidation succeeded [Detail] [Expand]
Validation passes for SemanticValidation.
️️✔️PoliCheck succeeded [Detail] [Expand]
Validation passed for PoliCheck.
️️✔️SpellCheck succeeded [Detail] [Expand]
Validation passes for SpellCheck.
️️✔️Lint(RPaaS) succeeded [Detail] [Expand]
Validation passes for Lint(RPaaS).
️️✔️PR Summary succeeded [Detail] [Expand]
Validation passes for Summary.
️️✔️Automated merging requirements met succeeded [Detail] [Expand]
Posted by Swagger Pipeline | How to fix these errors?

Copy link

openapi-pipeline-app bot commented Feb 15, 2024

Swagger Generation Artifacts

️️✔️ApiDocPreview succeeded [Detail] [Expand]
 Please click here to preview with your @microsoft account. 
️️✔️SDK Breaking Change Tracking succeeded [Detail] [Expand]

Breaking Changes Tracking



️⚠️ azure-sdk-for-python-track2 warning [Detail]
  • ⚠️Warning [Logs] Generate from 32fb2d2ffe017eca008e0ad9c1661ab4734d5fd2. SDK Automation 14.0.0
    command	sh scripts/automation_init.sh ../azure-sdk-for-python_tmp/initInput.json ../azure-sdk-for-python_tmp/initOutput.json
    cmderr	[automation_init.sh] WARNING: azure-devtools 1.2.1 does not provide the extra 'ci-tools'
    cmderr	[automation_init.sh] WARNING: azure-devtools 1.2.1 does not provide the extra 'ci-tools'
    cmderr	[automation_init.sh] WARNING: Skipping azure-nspkg as it is not installed.
    command	sh scripts/automation_generate.sh ../azure-sdk-for-python_tmp/generateInput.json ../azure-sdk-for-python_tmp/generateOutput.json
    cmderr	[automation_generate.sh]  notice
    cmderr	[automation_generate.sh] npm notice New minor version of npm available! 10.2.3 -> 10.4.0
    cmderr	[automation_generate.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.4.0>
    cmderr	[automation_generate.sh] npm notice Run `npm install -g [email protected]` to update!
    cmderr	[automation_generate.sh] npm notice
  • ️✔️track2_azure-mgmt-containerservice [View full logs]  [Preview SDK Changes]
    info	[Changelog] ### Features Added
    info	[Changelog]
    info	[Changelog]   - Added operation AgentPoolsOperations.begin_delete_machines
    info	[Changelog]   - Added operation ManagedClustersOperations.get_guardrails_versions
    info	[Changelog]   - Added operation ManagedClustersOperations.get_safeguards_versions
    info	[Changelog]   - Added operation ManagedClustersOperations.list_guardrails_versions
    info	[Changelog]   - Added operation ManagedClustersOperations.list_safeguards_versions
    info	[Changelog]   - Model AgentPool has a new parameter artifact_streaming_profile
    info	[Changelog]   - Model AgentPool has a new parameter enable_custom_ca_trust
    info	[Changelog]   - Model AgentPool has a new parameter gpu_profile
    info	[Changelog]   - Model AgentPool has a new parameter message_of_the_day
    info	[Changelog]   - Model AgentPool has a new parameter node_initialization_taints
    info	[Changelog]   - Model AgentPool has a new parameter security_profile
    info	[Changelog]   - Model AgentPool has a new parameter virtual_machine_nodes_status
    info	[Changelog]   - Model AgentPool has a new parameter virtual_machines_profile
    info	[Changelog]   - Model AgentPool has a new parameter windows_profile
    info	[Changelog]   - Model AgentPoolSecurityProfile has a new parameter enable_secure_boot
    info	[Changelog]   - Model AgentPoolSecurityProfile has a new parameter enable_vtpm
    info	[Changelog]   - Model ContainerServiceNetworkProfile has a new parameter kube_proxy_config
    info	[Changelog]   - Model ContainerServiceNetworkProfile has a new parameter monitoring
    info	[Changelog]   - Model ManagedCluster has a new parameter ai_toolchain_operator_profile
    info	[Changelog]   - Model ManagedCluster has a new parameter creation_data
    info	[Changelog]   - Model ManagedCluster has a new parameter enable_namespace_resources
    info	[Changelog]   - Model ManagedCluster has a new parameter ingress_profile
    info	[Changelog]   - Model ManagedCluster has a new parameter metrics_profile
    info	[Changelog]   - Model ManagedCluster has a new parameter node_provisioning_profile
    info	[Changelog]   - Model ManagedCluster has a new parameter node_resource_group_profile
    info	[Changelog]   - Model ManagedCluster has a new parameter safeguards_profile
    info	[Changelog]   - Model ManagedClusterAPIServerAccessProfile has a new parameter enable_vnet_integration
    info	[Changelog]   - Model ManagedClusterAPIServerAccessProfile has a new parameter subnet_id
    info	[Changelog]   - Model ManagedClusterAgentPoolProfile has a new parameter artifact_streaming_profile
    info	[Changelog]   - Model ManagedClusterAgentPoolProfile has a new parameter enable_custom_ca_trust
    info	[Changelog]   - Model ManagedClusterAgentPoolProfile has a new parameter gpu_profile
    info	[Changelog]   - Model ManagedClusterAgentPoolProfile has a new parameter message_of_the_day
    info	[Changelog]   - Model ManagedClusterAgentPoolProfile has a new parameter node_initialization_taints
    info	[Changelog]   - Model ManagedClusterAgentPoolProfile has a new parameter security_profile
    info	[Changelog]   - Model ManagedClusterAgentPoolProfile has a new parameter virtual_machine_nodes_status
    info	[Changelog]   - Model ManagedClusterAgentPoolProfile has a new parameter virtual_machines_profile
    info	[Changelog]   - Model ManagedClusterAgentPoolProfile has a new parameter windows_profile
    info	[Changelog]   - Model ManagedClusterAgentPoolProfileProperties has a new parameter artifact_streaming_profile
    info	[Changelog]   - Model ManagedClusterAgentPoolProfileProperties has a new parameter enable_custom_ca_trust
    info	[Changelog]   - Model ManagedClusterAgentPoolProfileProperties has a new parameter gpu_profile
    info	[Changelog]   - Model ManagedClusterAgentPoolProfileProperties has a new parameter message_of_the_day
    info	[Changelog]   - Model ManagedClusterAgentPoolProfileProperties has a new parameter node_initialization_taints
    info	[Changelog]   - Model ManagedClusterAgentPoolProfileProperties has a new parameter security_profile
    info	[Changelog]   - Model ManagedClusterAgentPoolProfileProperties has a new parameter virtual_machine_nodes_status
    info	[Changelog]   - Model ManagedClusterAgentPoolProfileProperties has a new parameter virtual_machines_profile
    info	[Changelog]   - Model ManagedClusterAgentPoolProfileProperties has a new parameter windows_profile
    info	[Changelog]   - Model ManagedClusterAzureMonitorProfile has a new parameter logs
    info	[Changelog]   - Model ManagedClusterAzureMonitorProfileMetrics has a new parameter app_monitoring_open_telemetry_metrics
    info	[Changelog]   - Model ManagedClusterHTTPProxyConfig has a new parameter effective_no_proxy
    info	[Changelog]   - Model ManagedClusterPropertiesAutoScalerProfile has a new parameter daemonset_eviction_for_empty_nodes
    info	[Changelog]   - Model ManagedClusterPropertiesAutoScalerProfile has a new parameter daemonset_eviction_for_occupied_nodes
    info	[Changelog]   - Model ManagedClusterPropertiesAutoScalerProfile has a new parameter ignore_daemonsets_utilization
    info	[Changelog]   - Model ManagedClusterSecurityProfile has a new parameter custom_ca_trust_certificates
    info	[Changelog]   - Model ManagedClusterSecurityProfile has a new parameter image_integrity
    info	[Changelog]   - Model ManagedClusterSecurityProfile has a new parameter node_restriction
    info	[Changelog]   - Model ManagedClusterStorageProfileDiskCSIDriver has a new parameter version
    info	[Changelog]   - Model ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler has a new parameter addon_autoscaling
    info	[Changelog]   - Operation AgentPoolsOperations.begin_delete has a new optional parameter ignore_pod_disruption_budget
    info	[Changelog]   - Operation ManagedClustersOperations.begin_delete has a new optional parameter ignore_pod_disruption_budget
️❌ azure-sdk-for-java failed [Detail]
  • Pipeline Framework Failed [Logs] Generate from 32fb2d2ffe017eca008e0ad9c1661ab4734d5fd2. SDK Automation 14.0.0
    command	./eng/mgmt/automation/init.sh ../azure-sdk-for-java_tmp/initInput.json ../azure-sdk-for-java_tmp/initOutput.json
    cmderr	[init.sh] [notice] A new release of pip is available: 23.0.1 -> 24.0
    cmderr	[init.sh] [notice] To update, run: pip install --upgrade pip
    cmderr	[init.sh] [notice] A new release of pip is available: 23.0.1 -> 24.0
    cmderr	[init.sh] [notice] To update, run: pip install --upgrade pip
    cmderr	[init.sh]  Time  Current
    cmderr	[init.sh]                                  Dload  Upload   Total   Spent    Left  Speed
    cmderr	[init.sh] 
      0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     01036k      0 --:--:-- --:--:-- --:--:-- 1110k
    cmderr	[init.sh] Downloading https://nodejs.org/dist/v18.15.0/node-v18.15.0-linux-x64.tar.xz...
    cmderr	[init.sh] Computing checksum with sha256sum
    cmderr	[init.sh] Checksums matched!
    cmderr	[init.sh]
    cmderr	[init.sh] npm notice New major version of npm available! 9.5.0 -> 10.4.0
    cmderr	[init.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.4.0>
    cmderr	[init.sh] npm notice Run `npm install -g [email protected]` to update!
    cmderr	[init.sh] npm notice
    command	./eng/mgmt/automation/generate.py ../azure-sdk-for-java_tmp/generateInput.json ../azure-sdk-for-java_tmp/generateOutput.json
    ENOENT: no such file or directory, stat 'azure-sdk-for-java/sdk/containerservicemicrosoftcontainerserviceaks/azure-resourcemanager-containerservicemicrosoftcontainerserviceaks-generated/pom.xml'
  • azure-resourcemanager-containerservicemicrosoftcontainerserviceaks-generated [View full logs
    error	Fatal error: ENOENT: no such file or directory, stat 'azure-sdk-for-java/sdk/containerservicemicrosoftcontainerserviceaks/azure-resourcemanager-containerservicemicrosoftcontainerserviceaks-generated/pom.xml'
    error	Fatal error: Error: ENOENT: no such file or directory, stat 'azure-sdk-for-java/sdk/containerservicemicrosoftcontainerserviceaks/azure-resourcemanager-containerservicemicrosoftcontainerserviceaks-generated/pom.xml'
    error	The following packages are still pending:
    error		azure-resourcemanager-containerservicemicrosoftcontainerserviceaks-generated
️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
  • ️✔️Succeeded [Logs] Generate from 32fb2d2ffe017eca008e0ad9c1661ab4734d5fd2. SDK Automation 14.0.0
    command	sh ./eng/scripts/automation_init.sh ../../../../../azure-sdk-for-go_tmp/initInput.json ../../../../../azure-sdk-for-go_tmp/initOutput.json
    command	generator automation-v2 ../../../../../azure-sdk-for-go_tmp/generateInput.json ../../../../../azure-sdk-for-go_tmp/generateOutput.json
  • ️✔️sdk/resourcemanager/containerservice/armcontainerservice [View full logs]  [Preview SDK Changes]
    info	[Changelog] ### Other Changes
    info	[Changelog]
    info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
  • ️✔️Succeeded [Logs] Generate from 32fb2d2ffe017eca008e0ad9c1661ab4734d5fd2. SDK Automation 14.0.0
    command	sh .scripts/automation_init.sh ../azure-sdk-for-js_tmp/initInput.json ../azure-sdk-for-js_tmp/initOutput.json
    warn	File azure-sdk-for-js_tmp/initOutput.json not found to read
    command	sh .scripts/automation_generate.sh ../azure-sdk-for-js_tmp/generateInput.json ../azure-sdk-for-js_tmp/generateOutput.json
    cmderr	[automation_generate.sh] [ERROR] Cannot generate changelog because the codes of local and npm may be the same.
  • ️✔️@azure/arm-containerservice [View full logs]  [Preview SDK Changes]
    info	[Changelog]
    error	breakingChangeTracking is enabled, but version or changelogItem is not found in output.
️️✔️ azure-sdk-for-net-track2 succeeded [Detail] [Expand]
  • ️✔️Succeeded [Logs] Generate from 32fb2d2ffe017eca008e0ad9c1661ab4734d5fd2. SDK Automation 14.0.0
    command	pwsh ./eng/scripts/Automation-Sdk-Init.ps1 ../azure-sdk-for-net_tmp/initInput.json ../azure-sdk-for-net_tmp/initOutput.json
    command	pwsh ./eng/scripts/Invoke-GenerateAndBuildV2.ps1 ../azure-sdk-for-net_tmp/generateInput.json ../azure-sdk-for-net_tmp/generateOutput.json
  • ️✔️Azure.ResourceManager.ContainerService [View full logs]  [Preview SDK Changes]
    info	[Changelog]
️⚠️ azure-resource-manager-schemas warning [Detail]
  • ⚠️Warning [Logs] Generate from 32fb2d2ffe017eca008e0ad9c1661ab4734d5fd2. Schema Automation 14.0.0
    command	.sdkauto/initScript.sh ../azure-resource-manager-schemas_tmp/initInput.json ../azure-resource-manager-schemas_tmp/initOutput.json
    cmderr	[initScript.sh]  notice
    cmderr	[initScript.sh] npm notice New minor version of npm available! 10.2.3 -> 10.4.0
    cmderr	[initScript.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.4.0>
    cmderr	[initScript.sh] npm notice Run `npm install -g [email protected]` to update!
    cmderr	[initScript.sh] npm notice
    warn	File azure-resource-manager-schemas_tmp/initOutput.json not found to read
    command	.sdkauto/generateScript.sh ../azure-resource-manager-schemas_tmp/generateInput.json ../azure-resource-manager-schemas_tmp/generateOutput.json
    warn	No file changes detected after generation
  • ️✔️containerservice [View full logs
️️✔️ azure-powershell succeeded [Detail] [Expand]
  • ️✔️Succeeded [Logs] Generate from 32fb2d2ffe017eca008e0ad9c1661ab4734d5fd2. SDK Automation 14.0.0
    command	sh ./tools/SwaggerCI/init.sh ../azure-powershell_tmp/initInput.json ../azure-powershell_tmp/initOutput.json
    command	pwsh ./tools/SwaggerCI/psci.ps1 ../azure-powershell_tmp/generateInput.json ../azure-powershell_tmp/generateOutput.json
  • ️✔️Az.containerservice.DefaultTag [View full logs]  [Preview SDK Changes]
Posted by Swagger Pipeline | How to fix these errors?

Copy link

Hi @tyler-lloyd, this service has enabled ShiftLeft Toolset. All spec updates MUST be initiated from service ADO project repo, so that to guarantee it to be the source of truth., please review this pull request if it is intentional or reject it if it is not expected. Normally, all the specification or example changes should start with PR created in ADO.

  • You can refer to ShiftLeft Toolset Introduction for details.
  • Please contact service focal contacts or ShiftLeft Toolset Support Channel if need further help.
  • Copy link

    openapi-pipeline-app bot commented Feb 15, 2024

    Generated ApiView

    Language Package Name ApiView Link
    Go sdk/resourcemanager/containerservice/armcontainerservice There is no API change compared with the previous version
    JavaScript @azure/arm-containerservice There is no API change compared with the previous version
    .Net Azure.ResourceManager.ContainerService https://apiview.dev/Assemblies/Review/52837c343d7a486c97a62dfd430600a8?revisionId=1f11a2247e5a4b92a066b5ed353024c2
    Swagger Microsoft.ContainerService https://apiview.dev/Assemblies/Review/71d5cd3d2d1c46b59eabc692899ea0b4?revisionId=5a5658ea572a420aacbb6b0ada6df2a1

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    BreakingChange-Approved-Benign Changes are not breaking at the REST API level and have at most minor impact to generated SDKs. BreakingChangeReviewRequired <valid label in PR review process>add this label when breaking change review is required DoNotMerge <valid label in PR review process> use to hold merge after approval resource-manager ShiftLeftViolation
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    3 participants