How to add support for Azure CDN from Kubernetes YAML files (AKS)?

ipechev 1 Reputation point
2020-02-27T11:27:36.273+00:00

Hello,

I have an AKS cluster. We created an Ingress successfully and we plan to use Cert Manager to issue a certificate for a custom domain.

Now we are trying to enable Azure CDN (Standart Microsoft or any other) from Kubernetes YAML files, but I can't find any documentation how to do this. In GCP for example this is done via BackendConfig (https://cloud.google.com/kubernetes-engine/docs/how-to/cdn-backendconfig).
How can we do this in AKS?

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
4,574 questions
No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Roy Kim (Azure MVP) 181 Reputation points Microsoft MVP
    2020-05-24T02:02:34.087+00:00

    I don't think there is a way to declare and provision Azure CDN from Kubernetes manifests. The closest thing I know is through the Open Service Broker for Azure.
    https://github.com/Azure/open-service-broker-azure

    It supports things like Key Vault, Azure PostgresSQL DB, etc. I did the database and you can provision from yaml.
    Unfortunately, there is no CDN in the list.
    Also this project doesn't seem like it is being kept up to date.

    Hope this clarifies.

    No comments