How to create a Google CDN for a GKE service

后端 未结 1 391
执念已碎
执念已碎 2021-02-09 13:02

I\'ve deployed a wordpress site on GKE (kubernetes) and I can access my Site from the internet like this mysite.test.com and works like a charm. Now I want to use Google CDN to

1条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-02-09 13:26

    I just wrote a post about using the Google CDN with Kubernetes:

    https://medium.com/@chees/code-cooking-kubernetes-e715728a578c

    The important parts:

    • Use a service with --type=NodePort
    • Create an ingress for that service
    • Use --enable-cdn on the created backend-service (you can do this from the command line or through the networking tab on console.cloud.google.com)

    0 讨论(0)
提交回复
热议问题