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 AKSHTTPCustomFeatures header support to Swagger #2757

Closed
sossickd opened this issue Jan 27, 2022 · 40 comments
Closed

Add AKSHTTPCustomFeatures header support to Swagger #2757

sossickd opened this issue Jan 27, 2022 · 40 comments
Labels
API/Swagger Anything related to the open AKS API/Swagger Needs Author Feedback wontfix

Comments

@sossickd
Copy link

sossickd commented Jan 27, 2022

There are a number of issues that have been closed as duplicates of issue 6793 on the terraform-provider-azurerm project requesting support for custom headers to be passed to AKS.

Although the issue 6793 is still Open it has a PR that had a preposed solution for the issue that was Closed with the status wont-fix

@tombuildsstuff closing comment in PR 14178 was as follows:

"Thanks for this PR.

Taking a look through here unfortunately this isn't something we can ship in Terraform at this time for a number of reasons.

The primary one here is that these are sourced from an Environment Variable and thus aren't defined in the config - however even if we were to move these to schema fields, at this point in time these can only be set in/parsed from the HTTP Headers for the request/response.

Whilst this approach works insofar as it sends the headers, due to the volatility of the Azure API's there's no guarantee this won't change behaviourally between different versions of the Azure API - and since this isn't provided in the Azure SDK (or the Swagger which supports it) - in practice it'd be hard for us to detect that this functionality has changed.

In order to support this functionality (and implement #6793) we'd need these Headers to be added to the Swagger for the AKS API - at which point this'll become available in the Azure SDK (and any other tooling which uses it). Whilst that may seem like a small distinction - that means this functionality becomes covered by the ARM Deprecation policy - meaning that changes have to go through a deprecation policy such that external tooling can rely on it. In order to get that added I'd suggest opening an issue on the AKS Repository where someone from the AKS Team should be able to get that added to the next version of the Swagger, which'd allow us to support this functionality.

As such whilst I'd like to thank you for this contribution, until this information is exposed in the Azure Swagger (such that there's a compatibility guarantee) I'm going to have to close this PR for the moment.

Thanks!"

Can i request the Headers to be added to Swagger for the AKS API

FYI the header that i requested a feature for is --aks-custom-headers WindowsContainerRuntime=containerd when creating a Windows node pool

az aks nodepool add \
    --resource-group myResourceGroup \
    --cluster-name myAKSCluster \
    --os-type Windows \
    --name npwcd \
    --node-vm-size Standard_D4s_v3 \
    --kubernetes-version 1.20.5 \
    --aks-custom-headers WindowsContainerRuntime=containerd \
    --node-count 1
``
@ghost ghost added the triage label Jan 27, 2022
@ghost
Copy link

ghost commented Jan 27, 2022

Hi sossickd, AKS bot here 👋
Thank you for posting on the AKS Repo, I'll do my best to get a kind human from the AKS team to assist you.

I might be just a bot, but I'm told my suggestions are normally quite good, as such:

  1. If this case is urgent, please open a Support Request so that our 24/7 support team may help you faster.
  2. Please abide by the AKS repo Guidelines and Code of Conduct.
  3. If you're having an issue, could it be described on the AKS Troubleshooting guides or AKS Diagnostics?
  4. Make sure your subscribed to the AKS Release Notes to keep up to date with all that's new on AKS.
  5. Make sure there isn't a duplicate of this issue already reported. If there is, feel free to close this one and '+1' the existing issue.
  6. If you have a question, do take a look at our AKS FAQ. We place the most common ones there!

@olsenme olsenme added the API/Swagger Anything related to the open AKS API/Swagger label Jan 27, 2022
@ghost ghost removed the triage label Jan 27, 2022
@ghost ghost added the action-required label Feb 22, 2022
@ghost
Copy link

ghost commented Feb 27, 2022

Action required from @Azure/aks-pm

@ghost ghost added the Needs Attention 👋 Issues needs attention/assignee/owner label Feb 27, 2022
@ghost
Copy link

ghost commented Mar 14, 2022

Issue needing attention of @Azure/aks-leads

@tombuildsstuff
Copy link

Opened a PR on the Swagger repository to add support for this, FWIW: Azure/azure-rest-api-specs#18232

@ghost
Copy link

ghost commented Mar 29, 2022

Issue needing attention of @Azure/aks-leads

17 similar comments
@ghost
Copy link

ghost commented Apr 13, 2022

Issue needing attention of @Azure/aks-leads

@ghost
Copy link

ghost commented Apr 29, 2022

Issue needing attention of @Azure/aks-leads

@ghost
Copy link

ghost commented May 14, 2022

Issue needing attention of @Azure/aks-leads

@ghost
Copy link

ghost commented May 29, 2022

Issue needing attention of @Azure/aks-leads

@ghost
Copy link

ghost commented Jun 13, 2022

Issue needing attention of @Azure/aks-leads

@ghost
Copy link

ghost commented Jun 28, 2022

Issue needing attention of @Azure/aks-leads

@ghost
Copy link

ghost commented Jul 13, 2022

Issue needing attention of @Azure/aks-leads

@ghost
Copy link

ghost commented Jul 28, 2022

Issue needing attention of @Azure/aks-leads

@ghost
Copy link

ghost commented Aug 12, 2022

Issue needing attention of @Azure/aks-leads

@ghost
Copy link

ghost commented Aug 28, 2022

Issue needing attention of @Azure/aks-leads

@ghost
Copy link

ghost commented Sep 12, 2022

Issue needing attention of @Azure/aks-leads

@ghost
Copy link

ghost commented Sep 27, 2022

Issue needing attention of @Azure/aks-leads

@ghost
Copy link

ghost commented Oct 12, 2022

Issue needing attention of @Azure/aks-leads

@ghost
Copy link

ghost commented Oct 28, 2022

Issue needing attention of @Azure/aks-leads

@ghost
Copy link

ghost commented Nov 12, 2022

Issue needing attention of @Azure/aks-leads

@ghost
Copy link

ghost commented Nov 27, 2022

Issue needing attention of @Azure/aks-leads

@ghost
Copy link

ghost commented Dec 12, 2022

Issue needing attention of @Azure/aks-leads

@ghost
Copy link

ghost commented Dec 28, 2022

Issue needing attention of @Azure/aks-leads

14 similar comments
@ghost
Copy link

ghost commented Jan 12, 2023

Issue needing attention of @Azure/aks-leads

@ghost
Copy link

ghost commented Jan 27, 2023

Issue needing attention of @Azure/aks-leads

@ghost
Copy link

ghost commented Feb 11, 2023

Issue needing attention of @Azure/aks-leads

@ghost
Copy link

ghost commented Feb 26, 2023

Issue needing attention of @Azure/aks-leads

@ghost
Copy link

ghost commented Mar 13, 2023

Issue needing attention of @Azure/aks-leads

@ghost
Copy link

ghost commented Mar 29, 2023

Issue needing attention of @Azure/aks-leads

@ghost
Copy link

ghost commented Apr 13, 2023

Issue needing attention of @Azure/aks-leads

@ghost
Copy link

ghost commented Apr 28, 2023

Issue needing attention of @Azure/aks-leads

@ghost
Copy link

ghost commented May 13, 2023

Issue needing attention of @Azure/aks-leads

@ghost
Copy link

ghost commented May 29, 2023

Issue needing attention of @Azure/aks-leads

@ghost
Copy link

ghost commented Jun 13, 2023

Issue needing attention of @Azure/aks-leads

@ghost
Copy link

ghost commented Jun 28, 2023

Issue needing attention of @Azure/aks-leads

@ghost
Copy link

ghost commented Jul 13, 2023

Issue needing attention of @Azure/aks-leads

@ghost
Copy link

ghost commented Jul 29, 2023

Issue needing attention of @Azure/aks-leads

@microsoft-github-policy-service microsoft-github-policy-service bot added the stale Stale issue label Feb 2, 2024
Copy link
Contributor

This issue has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs within 15 days of this comment.

Copy link
Contributor

Issue needing attention of @Azure/aks-leads

@microsoft-github-policy-service microsoft-github-policy-service bot removed action-required Needs Attention 👋 Issues needs attention/assignee/owner labels Feb 9, 2024
@palma21 palma21 closed this as completed Feb 16, 2024
@palma21
Copy link
Member

palma21 commented Feb 16, 2024

We're no longer shipping any feature that is not on deprecation path using headers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API/Swagger Anything related to the open AKS API/Swagger Needs Author Feedback wontfix
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants