<p dir="auto">test-cmd.sh failed with the following:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="12:01:47 service &quot;cassandra&quot; created
12:01:47 
12:01:47 FAIL!
12:01:47 Get all -l'app=cassandra' {{range.items}}{{range .metadata.labels}}{{.}}:{{end}}{{end}}
12:01:47   Expected: cassandra:cassandra:cassandra:
12:01:47   Got:      cassandra:cassandra:cassandra:cassandra:
12:01:47 �(B
12:01:47 1535 ./hack/test-cmd.sh"><pre class="notranslate"><code class="notranslate">12:01:47 service "cassandra" created
12:01:47 
12:01:47 FAIL!
12:01:47 Get all -l'app=cassandra' {{range.items}}{{range .metadata.labels}}{{.}}:{{end}}{{end}}
12:01:47   Expected: cassandra:cassandra:cassandra:
12:01:47   Got:      cassandra:cassandra:cassandra:cassandra:
12:01:47 �(B
12:01:47 1535 ./hack/test-cmd.sh
</code></pre></div>
<p dir="auto"><a href="https://storage.googleapis.com/kubernetes-jenkins/logs/kubernetes-test-go/8954/build-log.txt" rel="nofollow">https://storage.googleapis.com/kubernetes-jenkins/logs/kubernetes-test-go/8954/build-log.txt</a></p>
<p dir="auto"><strong>What keywords did you search in Kubernetes issues before filing this one?</strong> (If you have found any duplicates, you should instead reply there.): kubeadm</p>
<hr>
<p dir="auto"><strong>Is this a BUG REPORT or FEATURE REQUEST?</strong> (choose one): FEATURE REQUEST</p>
<ul dir="auto">
<li>I would like to specify advertisement ip or hostname for node during the join process. Currently it uses hostname, but kb master could not find the host by it(if it is not in dns or hosts).</li>
</ul>
<p dir="auto"><strong>Kubernetes version</strong> (use <code class="notranslate">kubectl version</code>):</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Client Version: version.Info{Major:&quot;1&quot;, Minor:&quot;4&quot;, GitVersion:&quot;v1.4.0&quot;, GitCommit:&quot;a16c0a7f71a6f93c7e0f222d961f4675cd97a46b&quot;, GitTreeState:&quot;clean&quot;, BuildDate:&quot;2016-09-26T18:16:57Z&quot;, GoVersion:&quot;go1.6.3&quot;, Compiler:&quot;gc&quot;, Platform:&quot;linux/amd64&quot;}
Server Version: version.Info{Major:&quot;1&quot;, Minor:&quot;4&quot;, GitVersion:&quot;v1.4.0&quot;, GitCommit:&quot;a16c0a7f71a6f93c7e0f222d961f4675cd97a46b&quot;, GitTreeState:&quot;clean&quot;, BuildDate:&quot;2016-09-26T18:10:32Z&quot;, GoVersion:&quot;go1.6.3&quot;, Compiler:&quot;gc&quot;, Platform:&quot;linux/amd64&quot;}"><pre class="notranslate"><code class="notranslate">Client Version: version.Info{Major:"1", Minor:"4", GitVersion:"v1.4.0", GitCommit:"a16c0a7f71a6f93c7e0f222d961f4675cd97a46b", GitTreeState:"clean", BuildDate:"2016-09-26T18:16:57Z", GoVersion:"go1.6.3", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"4", GitVersion:"v1.4.0", GitCommit:"a16c0a7f71a6f93c7e0f222d961f4675cd97a46b", GitTreeState:"clean", BuildDate:"2016-09-26T18:10:32Z", GoVersion:"go1.6.3", Compiler:"gc", Platform:"linux/amd64"}
</code></pre></div>
<p dir="auto"><strong>What you expected to happen</strong>:</p>
<p dir="auto">I expect to use IP address instead of hostname to search for kb nodes.</p>
<p dir="auto"><strong>How to reproduce it</strong> (as minimally and precisely as possible):</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ kubeadm join --api-advertise-addresses=10.10.10.2 --token=123123 10.10.10.1

Error: unknown flag: --api-advertise-addresses
Usage:
  kubeadm join [flags]

Flags:
      --token string   (required) Shared secret used to secure bootstrap. Must match the output of 'kubeadm init'
"><pre class="notranslate"><code class="notranslate">$ kubeadm join --api-advertise-addresses=10.10.10.2 --token=123123 10.10.10.1

Error: unknown flag: --api-advertise-addresses
Usage:
  kubeadm join [flags]

Flags:
      --token string   (required) Shared secret used to secure bootstrap. Must match the output of 'kubeadm init'

</code></pre></div>