<p>I'm installing pod network addon flannel to my cluster.</p>

<p>On the official kubernetes doc, the url to install flannel add-on is</p>

<pre><code>kubectl apply -f https://raw.githubusercontent.com/coreos/flannel/62e44c867a2846fefb68bd5f178daf4da3095ccb/Documentation/kube-flannel.yml
</code></pre>

<p>and on the github repository wiki, the url is </p>

<pre><code>kubectl apply -f https://raw.githubusercontent.com/coreos/flannel/master/Documentation/kube-flannel.yml
</code></pre>

<p>So what is the diff ? Which url should I apply ?</p>

<p>thank you for some help</p>

Vincent
<p>They are the same document, but potentially different versions.
You can view the <a href="https://github.com/coreos/flannel/commits/master/Documentation/kube-flannel.yml" rel="nofollow noreferrer">version history</a>, and observe that <code>62e44c867a28</code> is (as of this answer) the second-most-recent version.</p>

<p>That particular change is described at <a href="https://github.com/coreos/flannel/pull/1162" rel="nofollow noreferrer">https://github.com/coreos/flannel/pull/1162</a> - basically updating definitions from a beta format to a newer format that is less likely to change going forward.</p>
