Deploy GitHub Pages
This commit is contained in:
parent
21dd2b2a20
commit
25432024d6
6 changed files with 11 additions and 16 deletions
|
@ -1439,7 +1439,7 @@
|
|||
<h3 id="provider-specific-steps">Provider Specific Steps<a class="headerlink" href="#provider-specific-steps" title="Permanent link"> ¶</a></h3>
|
||||
<h4 id="docker-for-mac">Docker for Mac<a class="headerlink" href="#docker-for-mac" title="Permanent link"> ¶</a></h4>
|
||||
<p>Kubernetes is available in Docker for Mac (from <a href="https://docs.docker.com/docker-for-mac/release-notes/#stable-releases-of-2018">version 18.06.0-ce</a>)</p>
|
||||
<div class="highlight"><pre><span></span><code><span class="go">kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-0.31.0/deploy/static/provider/cloud/deploy.yaml</span>
|
||||
<div class="highlight"><pre><span></span><code><span class="go">kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-0.31.1/deploy/static/provider/cloud/deploy.yaml</span>
|
||||
</code></pre></div>
|
||||
|
||||
<h4 id="minikube">minikube<a class="headerlink" href="#minikube" title="Permanent link"> ¶</a></h4>
|
||||
|
@ -1466,16 +1466,16 @@
|
|||
<h4 id="aws">AWS<a class="headerlink" href="#aws" title="Permanent link"> ¶</a></h4>
|
||||
<p>In AWS we use a Network load balancer (NLB) to expose the NGINX Ingress controller behind a Service of <code>Type=LoadBalancer</code>.</p>
|
||||
<h5 id="network-load-balancer-nlb">Network Load Balancer (NLB)<a class="headerlink" href="#network-load-balancer-nlb" title="Permanent link"> ¶</a></h5>
|
||||
<div class="highlight"><pre><span></span><code><span class="go">kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-0.31.0/deploy/static/provider/aws/deploy.yaml</span>
|
||||
<div class="highlight"><pre><span></span><code><span class="go">kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-0.31.1/deploy/static/provider/aws/deploy.yaml</span>
|
||||
</code></pre></div>
|
||||
|
||||
<h5 id="tls-termination-in-aws-load-balancer-elb">TLS termination in AWS Load Balancer (ELB)<a class="headerlink" href="#tls-termination-in-aws-load-balancer-elb" title="Permanent link"> ¶</a></h5>
|
||||
<p>In some scenarios is required to terminate TLS in the Load Balancer and not in the ingress controller.</p>
|
||||
<p>For this purpose we provide a template:</p>
|
||||
<ul>
|
||||
<li>Download <a href="https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-0.31.0/deploy/static/provider/aws/deploy-tls-termination.yaml">deploy-tls-termination.yaml</a></li>
|
||||
<li>Download <a href="https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-0.31.1/deploy/static/provider/aws/deploy-tls-termination.yaml">deploy-tls-termination.yaml</a></li>
|
||||
</ul>
|
||||
<div class="highlight"><pre><span></span><code><span class="go">wget https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-0.31.0/deploy/static/provider/aws/deploy-tls-termination.yaml</span>
|
||||
<div class="highlight"><pre><span></span><code><span class="go">wget https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-0.31.1/deploy/static/provider/aws/deploy-tls-termination.yaml</span>
|
||||
</code></pre></div>
|
||||
|
||||
<ul>
|
||||
|
@ -1515,7 +1515,7 @@ By default NGINX <code>keepalive_timeout</code> is set to <code>75s</code>.</p>
|
|||
<span class="go"> --user $(gcloud config get-value account)</span>
|
||||
</code></pre></div></p>
|
||||
</div>
|
||||
<div class="highlight"><pre><span></span><code><span class="go">kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-0.31.0/deploy/static/provider/cloud/deploy.yaml</span>
|
||||
<div class="highlight"><pre><span></span><code><span class="go">kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-0.31.1/deploy/static/provider/cloud/deploy.yaml</span>
|
||||
</code></pre></div>
|
||||
|
||||
<div class="admonition warning important">
|
||||
|
@ -1523,12 +1523,12 @@ By default NGINX <code>keepalive_timeout</code> is set to <code>75s</code>.</p>
|
|||
<p>Proxy protocol is not supported in GCE/GKE</p>
|
||||
</div>
|
||||
<h4 id="azure">Azure<a class="headerlink" href="#azure" title="Permanent link"> ¶</a></h4>
|
||||
<div class="highlight"><pre><span></span><code><span class="go">kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-0.31.0/deploy/static/provider/cloud/deploy.yaml</span>
|
||||
<div class="highlight"><pre><span></span><code><span class="go">kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-0.31.1/deploy/static/provider/cloud/deploy.yaml</span>
|
||||
</code></pre></div>
|
||||
|
||||
<h4 id="bare-metal">Bare-metal<a class="headerlink" href="#bare-metal" title="Permanent link"> ¶</a></h4>
|
||||
<p>Using <a href="https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport">NodePort</a>:</p>
|
||||
<div class="highlight"><pre><span></span><code><span class="go">kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-0.31.0/deploy/static/provider/baremetal/deploy.yaml</span>
|
||||
<div class="highlight"><pre><span></span><code><span class="go">kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-0.31.1/deploy/static/provider/baremetal/deploy.yaml</span>
|
||||
</code></pre></div>
|
||||
|
||||
<div class="admonition tip">
|
||||
|
|
|
@ -1224,7 +1224,7 @@ in the controller Deployment.</p>
|
|||
<p>simply change the <code>0.30.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.31.0
|
||||
nginx-ingress-controller=quay.io/kubernetes-ingress-controller/nginx-ingress-controller:0.31.1
|
||||
</code></pre></div>
|
||||
|
||||
<p>For interactive editing, use <code>kubectl edit deployment nginx-ingress-controller</code>.</p>
|
||||
|
|
|
@ -1142,12 +1142,7 @@ you will need to provide the Deployment with the permissions to create pods.</p>
|
|||
<p>Before applying any objects, first apply the PSP permissions by running:
|
||||
<div class="highlight"><pre><span></span><code><span class="go">kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/docs/examples/psp/psp.yaml</span>
|
||||
</code></pre></div></p>
|
||||
<p>Now that the pod security policy is applied, we can continue as usual by applying the
|
||||
<a href="https://raw.githubusercontent.com/kubernetes/ingress-nginx/nginx-0.31.0/deploy/static/mandatory.yaml">mandatory.yaml</a>
|
||||
according to the <a href="../../deploy/">Installation Guide</a>.</p>
|
||||
<p>Note: PSP permissions must be granted before to the creation of the Deployment and the ReplicaSet.
|
||||
If the Deployment or ReplicaSet already exist, they will receive the PSP permissions
|
||||
only after deleting them and reapplying mandatory.yaml.</p>
|
||||
<p>Note: PSP permissions must be granted before to the creation of the Deployment and the ReplicaSet.</p>
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ spec:
|
|||
# hostNetwork: true
|
||||
terminationGracePeriodSeconds: 60
|
||||
containers:
|
||||
- image: quay.io/kubernetes-ingress-controller/nginx-ingress-controller:0.31.0
|
||||
- image: quay.io/kubernetes-ingress-controller/nginx-ingress-controller:0.31.1
|
||||
name: nginx-ingress-controller
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
|
|
File diff suppressed because one or more lines are too long
BIN
sitemap.xml.gz
BIN
sitemap.xml.gz
Binary file not shown.
Loading…
Reference in a new issue