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

Please support custom headers #6793

Closed
dhirschfeld opened this issue May 6, 2020 · 17 comments
Closed

Please support custom headers #6793

dhirschfeld opened this issue May 6, 2020 · 17 comments
Labels
enhancement service/kubernetes-cluster upstream/microsoft Indicates that there's an upstream issue blocking this issue/PR

Comments

@dhirschfeld
Copy link
Contributor

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

Custom headers were added in azure cli in Azure/azure-cli-extensions#1104.

It would be great if terraform allowed passing through custom headers.

My particular usecase is selecting Ubuntu 18.04 for AKS:
https://docs.microsoft.com/en-au/azure/aks/cluster-configuration#os-configuration-preview

@tbertenshaw
Copy link

is there some way of passing this through before its fully supported?

@dhirschfeld
Copy link
Contributor Author

dhirschfeld commented Aug 10, 2020

As well as Ubuntu 18.04 I'd also like to test all of the below which require the ability to pass custom headers:

xref: #7947

@dhirschfeld
Copy link
Contributor Author

Interesting/relevant? comment in the AKS repo:

We'll be making a few additional options so you're able to try these previews that don't land on the API via ARM too. Stay tuned on the next few weeks.

@ubsujit

This comment has been minimized.

@carmilea

This comment has been minimized.

@annaeseo

This comment has been minimized.

@dhirschfeld
Copy link
Contributor Author

At least for the OS disk type, it has been implemented in #9166.

@vidyasagarreddyc
Copy link

https://docs.microsoft.com/en-us/azure/aks/csi-secrets-store-driver, storage CSI drivers are GAed but not availbe in terraform to enable it

@DrewRomanyk
Copy link

@tombuildsstuff Hey Tom, after checking this comment and checking the source code, it seems like the solution for this is to include these properties into the actual request headers for the create cluster operations. Would the solution be similar to what you did for appconfiguration here?

I ask as I would love to get this working for the storage CSI drivers that went GA but require a special request header to enable the feature that can only be enabled on the cluster creation request.

Im happy to try to get it working, but I don't have any experience with working directly on terraform source code so if some one more experienced wants to work on the solution happy to let them do so.

@aristosvo
Copy link
Collaborator

PR trying to solve this problem: #14178

@sossickd
Copy link

For the benefit of anyone tracking this issue @aristosvo PR was Closed with status wontfix. There was a valid reason for this and the suggestion was too request these Headers to be added to the Swagger for the AKS API. I have subsequently created an issue on the AKS project.

@tombuildsstuff
Copy link
Member

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

@mybayern1974 mybayern1974 added the upstream/microsoft Indicates that there's an upstream issue blocking this issue/PR label Dec 13, 2022
@mathieu-benoit
Copy link

Any update on this? Trying to set --aks-custom-headers UseGPUDedicatedVHD=true is a blocker to properly implement this: https://learn.microsoft.com/en-us/azure/aks/gpu-cluster if we don't want to manually deploy the Daemonset.

@dhirschfeld
Copy link
Contributor Author

Tom's PR was closed as AKS are moving away from using custom headers. Given that, I'll close the issue for support here.

@Sturgelose
Copy link

@dhirschfeld is there any place where this deprecation of using custom headers is notified/written? At least to find which is the alternative Azure is suggesting instead of the headers and get an idea when will we be able to use GPU machines in AKS from terraform without hacks...

@dhirschfeld
Copy link
Contributor Author

The linked issue has the current status. I'm not fully clear how/if preview features will be supported by terraform in future :/

Copy link

github-actions bot commented May 6, 2024

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement service/kubernetes-cluster upstream/microsoft Indicates that there's an upstream issue blocking this issue/PR
Projects
None yet
Development

No branches or pull requests