Deploy GitHub Pages

This commit is contained in:
Travis Bot 2019-02-27 02:49:19 +00:00
parent 5e44e27ac0
commit ad2830dede
6 changed files with 133 additions and 60 deletions

View file

@ -1292,6 +1292,14 @@ methods to obtain more information.</p>
<span class="go">kube-system kubernetes-dashboard NodePort 10.103.128.17 &lt;none&gt; 80:30000/TCP 30m</span>
</pre></div>
<p>Use the <code class="codehilite">ingress-nginx</code> kubectl plugin</p>
<p>Install <a href="https://github.com/GoogleContainerTools/krew">krew</a>, then run
<div class="codehilite"><pre><span></span><span class="gp">$</span> kubectl krew install --manifest https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/cmd/plugin/release/ingress-nginx.yaml
</pre></div>
to install the plugin. Then run
<div class="codehilite"><pre><span></span><span class="gp">$</span> kubectl ingress-nginx --help
</pre></div>
to make sure the plugin is properly installed and to get a list of commands. The plugin includes all of the commands present in the <code class="codehilite">/dbg</code> tool, plus a more detailed version of <code class="codehilite">kubectl get ingresses</code> available by runnning <code class="codehilite">kubectl ingress-nginx ingresses</code>.</p>
<p>Use the <code class="codehilite">/dbg</code> Tool to Check Dynamic Configuration</p>
<div class="codehilite"><pre><span></span><span class="gp">$</span> kubectl <span class="nb">exec</span> -n &lt;namespace-of-ingress-controller&gt; nginx-ingress-controller-67956bf89d-fv58j /dbg
<span class="go">dbg is a tool for quickly inspecting the state of the nginx instance</span>