Deploy GitHub Pages
This commit is contained in:
parent
7a25e3c115
commit
eaaf5d5744
4 changed files with 55 additions and 54 deletions
|
|
@ -1217,17 +1217,18 @@ in the controller Deployment.</p>
|
|||
<span class="nt">spec</span><span class="p">:</span>
|
||||
<span class="nt">containers</span><span class="p">:</span>
|
||||
<span class="p p-Indicator">-</span> <span class="nt">name</span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">nginx-ingress-controller</span>
|
||||
<span class="nt">image</span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">quay.io/kubernetes-ingress-controller/nginx-ingress-controller:0.30.0</span>
|
||||
<span class="nt">image</span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">us.gcr.io/k8s-artifacts-prod/ingress-nginx/controller:v0.34.0@sha256:56633bd00dab33d92ba14c6e709126a762d54a75a6e72437adefeaaca0abb069</span>
|
||||
<span class="nt">args</span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">...</span>
|
||||
</code></pre></div>
|
||||
|
||||
<p>simply change the <code>0.30.0</code> tag to the version you wish to upgrade to.
|
||||
<p>simply change the <code>0.34.0</code> tag to the version you wish to upgrade to.
|
||||
The easiest way to do this is e.g. (do note you may need to change the name parameter according to your installation):</p>
|
||||
<div class="highlight"><pre><span></span><code>kubectl set image deployment/nginx-ingress-controller \
|
||||
nginx-ingress-controller=quay.io/kubernetes-ingress-controller/nginx-ingress-controller:0.33.0
|
||||
nginx-ingress-controller=us.gcr.io/k8s-artifacts-prod/ingress-nginx/controller:v0.34.1@sha256:0e072dddd1f7f8fc8909a2ca6f65e76c5f0d2fcfb8be47935ae3457e8bbceb20 \
|
||||
-n ingress-nginx
|
||||
</code></pre></div>
|
||||
|
||||
<p>For interactive editing, use <code>kubectl edit deployment nginx-ingress-controller</code>.</p>
|
||||
<p>For interactive editing, use <code>kubectl edit deployment nginx-ingress-controller -n ingress-nginx</code>.</p>
|
||||
<h2 id="with-helm">With Helm<a class="headerlink" href="#with-helm" title="Permanent link"> ¶</a></h2>
|
||||
<p>If you installed ingress-nginx using the Helm command in the deployment docs so its name is <code>ngx-ingress</code>,
|
||||
you should be able to upgrade using</p>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue