Deploy GitHub Pages

This commit is contained in:
Travis Bot 2020-02-13 19:54:53 +00:00
parent 006cda8fee
commit 1ed3254484
9 changed files with 61 additions and 60 deletions

View file

@ -1494,7 +1494,6 @@ To change this behavior use the flag <code class="codehilite"><span class="err">
</ol>
<div class="codehilite"><pre><span></span><code><span class="gp">$</span> kubectl get pods -n ingress-nginx
<span class="go">NAME READY STATUS RESTARTS AGE</span>
<span class="go">default-http-backend-66b447d9cf-rrlf9 1/1 Running 0 12s</span>
<span class="go">nginx-ingress-controller-fdcdcd6dd-vvpgs 1/1 Running 0 11s</span>
</code></pre></div>

View file

@ -1371,11 +1371,7 @@ It includes how to build, test, and release ingress controllers.</p>
</code></pre></div>
<h3 id="initial-developer-environment-build">Initial developer environment build<a class="headerlink" href="#initial-developer-environment-build" title="Permanent link"></a></h3>
<blockquote>
<p><strong>Prequisites</strong>: Minikube must be installed.
See <a href="https://github.com/kubernetes/minikube/releases">releases</a> for installation instructions.</p>
</blockquote>
<p>If you are using <strong>MacOS</strong> and deploying to <strong>minikube</strong>, the following command will build the local nginx controller container image and deploy the ingress controller onto a minikube cluster with RBAC enabled in the namespace <code class="codehilite"><span class="err">ingress-nginx</span></code>:</p>
<p>Ensure docker experimental features option is enabled for <a href="https://docs.docker.com/buildx/working-with-buildx/">buildx</a></p>
<div class="codehilite"><pre><span></span><code>$ make dev-env
</code></pre></div>

View file

@ -7,6 +7,9 @@ metadata:
namespace: default
spec:
replicas: 1
selector:
matchLabels:
k8s-app: fortune-teller-app
template:
metadata:
labels:

File diff suppressed because one or more lines are too long

View file

@ -2,252 +2,252 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://kubernetes.github.io/ingress-nginx/</loc>
<lastmod>2020-02-09</lastmod>
<lastmod>2020-02-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/how-it-works/</loc>
<lastmod>2020-02-09</lastmod>
<lastmod>2020-02-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/troubleshooting/</loc>
<lastmod>2020-02-09</lastmod>
<lastmod>2020-02-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/kubectl-plugin/</loc>
<lastmod>2020-02-09</lastmod>
<lastmod>2020-02-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/development/</loc>
<lastmod>2020-02-09</lastmod>
<lastmod>2020-02-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/deploy/</loc>
<lastmod>2020-02-09</lastmod>
<lastmod>2020-02-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/deploy/baremetal/</loc>
<lastmod>2020-02-09</lastmod>
<lastmod>2020-02-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/deploy/rbac/</loc>
<lastmod>2020-02-09</lastmod>
<lastmod>2020-02-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/deploy/validating-webhook/</loc>
<lastmod>2020-02-09</lastmod>
<lastmod>2020-02-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/deploy/upgrade/</loc>
<lastmod>2020-02-09</lastmod>
<lastmod>2020-02-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/</loc>
<lastmod>2020-02-09</lastmod>
<lastmod>2020-02-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/user-guide/basic-usage/</loc>
<lastmod>2020-02-09</lastmod>
<lastmod>2020-02-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/annotations/</loc>
<lastmod>2020-02-09</lastmod>
<lastmod>2020-02-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/configmap/</loc>
<lastmod>2020-02-09</lastmod>
<lastmod>2020-02-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/custom-template/</loc>
<lastmod>2020-02-09</lastmod>
<lastmod>2020-02-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/log-format/</loc>
<lastmod>2020-02-09</lastmod>
<lastmod>2020-02-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/user-guide/cli-arguments/</loc>
<lastmod>2020-02-09</lastmod>
<lastmod>2020-02-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/user-guide/custom-errors/</loc>
<lastmod>2020-02-09</lastmod>
<lastmod>2020-02-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/user-guide/default-backend/</loc>
<lastmod>2020-02-09</lastmod>
<lastmod>2020-02-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/user-guide/exposing-tcp-udp-services/</loc>
<lastmod>2020-02-09</lastmod>
<lastmod>2020-02-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/user-guide/fcgi-services/</loc>
<lastmod>2020-02-09</lastmod>
<lastmod>2020-02-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/user-guide/ingress-path-matching/</loc>
<lastmod>2020-02-09</lastmod>
<lastmod>2020-02-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/user-guide/external-articles/</loc>
<lastmod>2020-02-09</lastmod>
<lastmod>2020-02-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/user-guide/miscellaneous/</loc>
<lastmod>2020-02-09</lastmod>
<lastmod>2020-02-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/user-guide/monitoring/</loc>
<lastmod>2020-02-09</lastmod>
<lastmod>2020-02-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/user-guide/multiple-ingress/</loc>
<lastmod>2020-02-09</lastmod>
<lastmod>2020-02-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/user-guide/tls/</loc>
<lastmod>2020-02-09</lastmod>
<lastmod>2020-02-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/user-guide/third-party-addons/modsecurity/</loc>
<lastmod>2020-02-09</lastmod>
<lastmod>2020-02-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/user-guide/third-party-addons/opentracing/</loc>
<lastmod>2020-02-09</lastmod>
<lastmod>2020-02-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/examples/</loc>
<lastmod>2020-02-09</lastmod>
<lastmod>2020-02-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/examples/PREREQUISITES/</loc>
<lastmod>2020-02-09</lastmod>
<lastmod>2020-02-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/examples/affinity/cookie/</loc>
<lastmod>2020-02-09</lastmod>
<lastmod>2020-02-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/examples/auth/basic/</loc>
<lastmod>2020-02-09</lastmod>
<lastmod>2020-02-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/examples/auth/client-certs/</loc>
<lastmod>2020-02-09</lastmod>
<lastmod>2020-02-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/examples/auth/external-auth/</loc>
<lastmod>2020-02-09</lastmod>
<lastmod>2020-02-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/examples/auth/oauth-external-auth/</loc>
<lastmod>2020-02-09</lastmod>
<lastmod>2020-02-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/examples/customization/configuration-snippets/</loc>
<lastmod>2020-02-09</lastmod>
<lastmod>2020-02-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/examples/customization/custom-configuration/</loc>
<lastmod>2020-02-09</lastmod>
<lastmod>2020-02-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/examples/customization/custom-errors/</loc>
<lastmod>2020-02-09</lastmod>
<lastmod>2020-02-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/examples/customization/custom-headers/</loc>
<lastmod>2020-02-09</lastmod>
<lastmod>2020-02-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/examples/customization/external-auth-headers/</loc>
<lastmod>2020-02-09</lastmod>
<lastmod>2020-02-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/examples/customization/ssl-dh-param/</loc>
<lastmod>2020-02-09</lastmod>
<lastmod>2020-02-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/examples/customization/sysctl/</loc>
<lastmod>2020-02-09</lastmod>
<lastmod>2020-02-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/examples/docker-registry/</loc>
<lastmod>2020-02-09</lastmod>
<lastmod>2020-02-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/examples/grpc/</loc>
<lastmod>2020-02-09</lastmod>
<lastmod>2020-02-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/examples/multi-tls/</loc>
<lastmod>2020-02-09</lastmod>
<lastmod>2020-02-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/examples/rewrite/</loc>
<lastmod>2020-02-09</lastmod>
<lastmod>2020-02-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/examples/static-ip/</loc>
<lastmod>2020-02-09</lastmod>
<lastmod>2020-02-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/examples/tls-termination/</loc>
<lastmod>2020-02-09</lastmod>
<lastmod>2020-02-13</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/examples/psp/</loc>
<lastmod>2020-02-09</lastmod>
<lastmod>2020-02-13</lastmod>
<changefreq>daily</changefreq>
</url>
</urlset>

Binary file not shown.

View file

@ -1312,6 +1312,10 @@
<td>Update the load-balancer status of Ingress objects when the controller shuts down. Requires the update-status parameter. (default true)</td>
</tr>
<tr>
<td><code class="codehilite"><span class="err">--status-update-interval</span></code></td>
<td>Time interval in seconds in which the status should check if an update is required. (default 60 seconds)</td>
</tr>
<tr>
<td><code class="codehilite"><span class="err">-v</span></code>, <code class="codehilite"><span class="err">--v Level</span></code></td>
<td>log level for V logs</td>
</tr>

View file

@ -2448,7 +2448,7 @@ The only affinity type available for NGINX is <code class="codehilite"><span cla
<h4 id="cookie-affinity">Cookie affinity<a class="headerlink" href="#cookie-affinity" title="Permanent link"></a></h4>
<p>If you use the <code class="codehilite"><span class="err">cookie</span></code> affinity type you can also specify the name of the cookie that will be used to route the requests with the annotation <code class="codehilite"><span class="err">nginx.ingress.kubernetes.io/session-cookie-name</span></code>. The default is to create a cookie named 'INGRESSCOOKIE'.</p>
<p>The NGINX annotation <code class="codehilite"><span class="err">nginx.ingress.kubernetes.io/session-cookie-path</span></code> defines the path that will be set on the cookie. This is optional unless the annotation <code class="codehilite"><span class="err">nginx.ingress.kubernetes.io/use-regex</span></code> is set to true; Session cookie paths do not support regex.</p>
<p>Use <code class="codehilite"><span class="err">nginx.ingress.kubernetes.io/session-cookie-samesite</span></code> to apply a <code class="codehilite"><span class="err">SameSite</span></code> attribute to the sticky cookie. Browser accepted values are <code class="codehilite"><span class="err">None</span></code>, <code class="codehilite"><span class="err">Lax</span></code>, and <code class="codehilite"><span class="err">Strict</span></code>. Some older browsers reject cookies with the more-recently-defined <code class="codehilite"><span class="err">SameSite=None</span></code>. To omit <code class="codehilite"><span class="err">SameSite=None</span></code> from these older browsers, add the annotation <code class="codehilite"><span class="err">nginx.ingress.kubernetes.io/session-cookie-conditional-samesite-none: &quot;true&quot;</span></code>.</p>
<p>Use <code class="codehilite"><span class="err">nginx.ingress.kubernetes.io/session-cookie-samesite</span></code> to apply a <code class="codehilite"><span class="err">SameSite</span></code> attribute to the sticky cookie. Browser accepted values are <code class="codehilite"><span class="err">None</span></code>, <code class="codehilite"><span class="err">Lax</span></code>, and <code class="codehilite"><span class="err">Strict</span></code>. Some browsers reject cookies with <code class="codehilite"><span class="err">SameSite=None</span></code>, including those created before the <code class="codehilite"><span class="err">SameSite=None</span></code> specification (e.g. Chrome 5X). Other browsers mistakenly treat <code class="codehilite"><span class="err">SameSite=None</span></code> cookies as <code class="codehilite"><span class="err">SameSite=Strict</span></code> (e.g. Safari running on OSX 14). To omit <code class="codehilite"><span class="err">SameSite=None</span></code> from browsers with these incompatibilities, add the annotation <code class="codehilite"><span class="err">nginx.ingress.kubernetes.io/session-cookie-conditional-samesite-none: &quot;true&quot;</span></code>.</p>
<h3 id="authentication">Authentication<a class="headerlink" href="#authentication" title="Permanent link"></a></h3>
<p>Is possible to add authentication adding additional annotations in the Ingress rule. The source of the authentication is a secret that contains usernames and passwords.</p>
<p>The annotations are:

View file

@ -1335,8 +1335,7 @@ have been tested.</p>
</code></pre></div></p>
<p>All these options (including host) allow environment variables, such as <code class="codehilite"><span class="err">$HOSTNAME</span></code> or <code class="codehilite"><span class="err">$HOST_IP</span></code>. In the case of Jaeger, if you have a Jaeger agent running on each machine in your cluster, you can use something like <code class="codehilite"><span class="err">$HOST_IP</span></code> (which can be 'mounted' with the <code class="codehilite"><span class="err">status.hostIP</span></code> fieldpath, as described <a href="https://kubernetes.io/docs/tasks/inject-data-application/downward-api-volume-expose-pod-information/#capabilities-of-the-downward-api">here</a>) to make sure traces will be sent to the local agent.</p>
<h2 id="examples">Examples<a class="headerlink" href="#examples" title="Permanent link"></a></h2>
<p>The following examples show how to deploy and test different distributed tracing systems. These example can be performed
using Minikube.</p>
<p>The following examples show how to deploy and test different distributed tracing systems. These example can be performed using Minikube.</p>
<h3 id="zipkin">Zipkin<a class="headerlink" href="#zipkin" title="Permanent link"></a></h3>
<p>In the <a href="https://github.com/rnburn/zipkin-date-server">rnburn/zipkin-date-server</a>
GitHub repository is an example of a dockerized date service. To install the example and Zipkin collector run:</p>