I just noticed that the "official" dashboard YAML URL was changed from https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yaml to https://raw.githubusercontent.com/kubernetes/dashboard/master/aio/deploy/recommended/kubernetes-dashboard.yaml.
This change is going to break virtually every piece of documentation in existence.
Is there no way to symlink the old URL to the new?
Even the kubernetes dashboard docs have inconsistently updated the link.
i.e. this documentation page still links to the old yaml: https://github.com/kubernetes/dashboard/wiki/Installation
Yes... I just ran into a error: unable to read URL "https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yaml", server reported 404 Not Found, status code=404 error when trying to delete and reinstall.
@thisLambo, that would probably explain why I was getting a CrashBackLoop when trying to install!
@GregSilverman
@thisLambo, that would probably explain why I was getting a
CrashBackLoopwhen trying to install!
Sorry for deleting my reply on you, but I found the issue relating to the architecture: https://github.com/kubernetes/dashboard/issues/3447
We have fixed most of the links to the old YAML location. I think we can close it right now.
/close
@maciaszczykm: Closing this issue.
In response to this:
We have fixed most of the links to the old YAML location. I think we can close it right now.
/close
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
is the following
url 'https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yaml' is going to get fixed? still get ERROR 404
if not, which is the official new url to use instead?
If documentation is going to include URLs to yaml files, those URLs should be treated like contracts
Perhaps maintain a new branch called deploy that yaml files get published to on release with canonical paths e.g. https://raw.githubusercontent.com/kubernetes/dashboard/deploy/recommended/kubernetes-dashboard.yaml
@Angha you can find updated url in the README and on wiki pages. There is nothing to fix.
@themightychris We already updated the URLs and they are pointing to stable tagged branches that will not change.
We already updated the URLs and they are pointing to stable tagged branches that will not change.
What do you mean? The original link 404s still. These URLs were hardcoded into several scripts as per the documentation, I assumed they would always be valid. If these URLs start changing, its going to force devs to start saving a version that they know will always be available (thus start losing the benefits of always pulling the latest stable etc). As per @mrichman why isn't there a symbolic link?
It was explained why we have made such decision on the slack and in the #3451.
We have promoted this way of installing Dashboard and it was our mistake which we have to finally resolve. The only way we can do that is to force people to use installation links that are not referring master branch in any way. It is not about the yaml files. It is about using links that rely directly on the unstable master branch instead of stable tagged branches. Master branch can always be changed in a way that might introduce breaking changes. That is why it is never a good idea to rely on it. We have learned our lesson and updated our documentation. All public documents should be forced to be updated also.
There are many reasons why we should not rely on the master branch and why should everyone that is using Dashboard on prod rely only on stable links, that will not change in the future. The decision to update an app should come from the user and it should not be silently forced by external changes. This is both a security and reliability issue.
I just noticed that the "official" dashboard YAML URL was changed from
https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yamltohttps://raw.githubusercontent.com/kubernetes/dashboard/master/aio/deploy/recommended/kubernetes-dashboard.yaml.This change is going to break virtually every piece of documentation in existence.
Is there no way to symlink the old URL to the new?
Thanks its working
Neither of these links work;
https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yaml to https://raw.githubusercontent.com/kubernetes/dashboard/master/aio/deploy/recommended/kubernetes-dashboard.yaml
Does anyone have a working link for installing the Kubernetes dashboard?
Thanks
Thank Floreks, found the link here https://github.com/kubernetes/dashboard and it worked
Thanks Floreks, I too found the link here https://github.com/kubernetes/dashboard and it worked.
Most helpful comment
If documentation is going to include URLs to yaml files, those URLs should be treated like contracts
Perhaps maintain a new branch called
deploythat yaml files get published to on release with canonical paths e.g.https://raw.githubusercontent.com/kubernetes/dashboard/deploy/recommended/kubernetes-dashboard.yaml