How to enable CORS for Kubernetes API (AKS)

7/10/2019

I'm trying to call kubenetes api from javascript. but get cors problem.

  1. how can I enable cors on AKS?

  2. Is it possible to change kubernetes api-server flags? I need to add --cors-allowed-origins

-- zhouwenyang
azure-aks
kubernetes

0 Answers