I'm installing pod network addon flannel to my cluster.
On the official kubernetes doc, the url to install flannel add-on is
kubectl apply -f https://raw.githubusercontent.com/coreos/flannel/62e44c867a2846fefb68bd5f178daf4da3095ccb/Documentation/kube-flannel.yml
and on the github repository wiki, the url is
kubectl apply -f https://raw.githubusercontent.com/coreos/flannel/master/Documentation/kube-flannel.yml
So what is the diff ? Which url should I apply ?
thank you for some help
They are the same document, but potentially different versions. You can view the version history, and observe that 62e44c867a28
is (as of this answer) the second-most-recent version.
That particular change is described at https://github.com/coreos/flannel/pull/1162 - basically updating definitions from a beta format to a newer format that is less likely to change going forward.