website icon indicating copy to clipboard operation
website copied to clipboard

Issue with k8s.io/docs/tutorials/kubernetes-basics/cluster-interactive/

Open kerren-ortlepp opened this issue 9 years ago • 5 comments

This is a...

  • [ ] Feature Request
  • [x ] Bug Report

Problem: The interactive guide requires the Roboto Slab font. This font is requested from the kubernetes.io server, however, I get a CORS issue:

Access to Font at 'https://d33wubrfki0l68.cloudfront.net/css/78acd9000a6eb25029277bbcdd52b5c5c62e8f04/docs/tutorials/kubernetes-basics/public/fonts/RobotoSlab-Regular.woff2' from origin 'https://kubernetes.io' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://kubernetes.io' is therefore not allowed access. The response had HTTP status code 404.
(index):1 Access to Font at 'https://d33wubrfki0l68.cloudfront.net/css/78acd9000a6eb25029277bbcdd52b5c5c62e8f04/docs/tutorials/kubernetes-basics/public/fonts/RobotoSlab-Bold.woff2' from origin 'https://kubernetes.io' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://kubernetes.io' is therefore not allowed access. The response had HTTP status code 404.
(index):1 Access to Font at 'https://d33wubrfki0l68.cloudfront.net/css/78acd9000a6eb25029277bbcdd52b5c5c62e8f04/docs/tutorials/kubernetes-basics/public/fonts/RobotoSlab-Regular.woff' from origin 'https://kubernetes.io' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://kubernetes.io' is therefore not allowed access. The response had HTTP status code 404.
(index):1 Access to Font at 'https://d33wubrfki0l68.cloudfront.net/css/78acd9000a6eb25029277bbcdd52b5c5c62e8f04/docs/tutorials/kubernetes-basics/public/fonts/RobotoSlab-Bold.woff' from origin 'https://kubernetes.io' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://kubernetes.io' is therefore not allowed access. The response had HTTP status code 404.
(index):1 Access to Font at 'https://d33wubrfki0l68.cloudfront.net/css/78acd9000a6eb25029277bbcdd52b5c5c62e8f04/docs/tutorials/kubernetes-basics/public/fonts/RobotoSlab-Regular.ttf' from origin 'https://kubernetes.io' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://kubernetes.io' is therefore not allowed access. The response had HTTP status code 404.
(index):1 Access to Font at 'https://d33wubrfki0l68.cloudfront.net/css/78acd9000a6eb25029277bbcdd52b5c5c62e8f04/docs/tutorials/kubernetes-basics/public/fonts/RobotoSlab-Bold.ttf' from origin 'https://kubernetes.io' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://kubernetes.io' is therefore not allowed access. The response had HTTP status code 404.

When I enable Allow-Origin: * on my browser I then get 404 errors.

Proposed Solution: I'm guessing this is a cloudfront problem? Really not sure what the solution is :/

Page to Update: https://kubernetes.io/docs/tutorials/kubernetes-basics/cluster-interactive/

I'm running Chrome Version 60.0.3112.101 (Official Build) (64-bit) and Elementary OS Loki.

kerren-ortlepp avatar Aug 18 '17 13:08 kerren-ortlepp

@BenHall 👋

radhikapc avatar Aug 21 '17 17:08 radhikapc

Thanks, we'll get this updated.

BenHall avatar Aug 22 '17 08:08 BenHall

Issues go stale after 90d of inactivity. Mark the issue as fresh with /remove-lifecycle stale. Stale issues rot after an additional 30d of inactivity and eventually close.

Prevent issues from auto-closing with an /lifecycle frozen comment.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or @fejta. /lifecycle stale

fejta-bot avatar Jan 05 '18 10:01 fejta-bot

Stale issues rot after 30d of inactivity. Mark the issue as fresh with /remove-lifecycle rotten. Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta. /lifecycle rotten /remove-lifecycle stale

fejta-bot avatar Feb 09 '18 10:02 fejta-bot

Thanks for the feedback and highlighting this.

/close

BenHall avatar Feb 09 '18 17:02 BenHall