Deploy GitHub Pages
This commit is contained in:
parent
a03213218f
commit
6443a6e0fb
11 changed files with 105 additions and 77 deletions
|
@ -1439,7 +1439,7 @@ Then execute:</p>
|
|||
</div>
|
||||
<h3 id="verify-installation">Verify installation<a class="headerlink" href="#verify-installation" title="Permanent link">¶</a></h3>
|
||||
<p>To check if the ingress controller pods have started, run the following command:</p>
|
||||
<div class="codehilite"><pre><span></span><span class="go">kubectl get pods --all-namespaces -l app=ingress-nginx --watch</span>
|
||||
<div class="codehilite"><pre><span></span><span class="go">kubectl get pods --all-namespaces -l app.kubernetes.io/name=ingress-nginx --watch</span>
|
||||
</pre></div>
|
||||
|
||||
<p>Once the operator pods are running, you can cancel the above command by typing <code class="codehilite">Ctrl+C</code>.
|
||||
|
@ -1447,7 +1447,7 @@ Now, you are ready to create your first ingress.</p>
|
|||
<h3 id="detect-installed-version">Detect installed version<a class="headerlink" href="#detect-installed-version" title="Permanent link">¶</a></h3>
|
||||
<p>To detect which version of the ingress controller is running, exec into the pod and run <code class="codehilite">nginx-ingress-controller version</code> command.</p>
|
||||
<div class="codehilite"><pre><span></span><span class="go">POD_NAMESPACE=ingress-nginx</span>
|
||||
<span class="go">POD_NAME=$(kubectl get pods -n $POD_NAMESPACE -l app=ingress-nginx -o jsonpath='{.items[0].metadata.name}')</span>
|
||||
<span class="go">POD_NAME=$(kubectl get pods -n $POD_NAMESPACE -l app.kubernetes.io/name=ingress-nginx -o jsonpath='{.items[0].metadata.name}')</span>
|
||||
<span class="go">kubectl exec -it $POD_NAME -n $POD_NAMESPACE -- /nginx-ingress-controller --version</span>
|
||||
</pre></div>
|
||||
|
||||
|
@ -1462,7 +1462,7 @@ To install the chart with the release name <code class="codehilite">my-nginx</co
|
|||
</pre></div>
|
||||
|
||||
<p>Detect installed version:</p>
|
||||
<div class="codehilite"><pre><span></span><span class="go">POD_NAME=$(kubectl get pods -l app=nginx-ingress -o jsonpath='{.items[0].metadata.name}')</span>
|
||||
<div class="codehilite"><pre><span></span><span class="go">POD_NAME=$(kubectl get pods -l app.kubernetes.io/name=ingress-nginx -o jsonpath='{.items[0].metadata.name}')</span>
|
||||
<span class="go">kubectl exec -it $POD_NAME -- /nginx-ingress-controller --version</span>
|
||||
</pre></div>
|
||||
|
||||
|
|
|
@ -4,7 +4,8 @@ metadata:
|
|||
name: nginx-configuration
|
||||
namespace: ingress-nginx
|
||||
labels:
|
||||
app: ingress-nginx
|
||||
app.kubernetes.io/name: ingress-nginx
|
||||
app.kubernetes.io/part-of: ingress-nginx
|
||||
data:
|
||||
proxy-connect-timeout: "10"
|
||||
proxy-read-timeout: "120"
|
||||
|
|
|
@ -4,10 +4,12 @@ kind: Service
|
|||
metadata:
|
||||
name: nginx-errors
|
||||
labels:
|
||||
app: nginx-errors
|
||||
app.kubernetes.io/name: nginx-errors
|
||||
app.kubernetes.io/part-of: ingress-nginx
|
||||
spec:
|
||||
selector:
|
||||
app: nginx-errors
|
||||
app.kubernetes.io/name: nginx-errors
|
||||
app.kubernetes.io/part-of: ingress-nginx
|
||||
ports:
|
||||
- port: 80
|
||||
targetPort: 8080
|
||||
|
@ -18,15 +20,20 @@ kind: Deployment
|
|||
apiVersion: apps/v1beta2
|
||||
metadata:
|
||||
name: nginx-errors
|
||||
labels:
|
||||
app.kubernetes.io/name: nginx-errors
|
||||
app.kubernetes.io/part-of: ingress-nginx
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: nginx-errors
|
||||
app.kubernetes.io/name: nginx-errors
|
||||
app.kubernetes.io/part-of: ingress-nginx
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: nginx-errors
|
||||
app.kubernetes.io/name: nginx-errors
|
||||
app.kubernetes.io/part-of: ingress-nginx
|
||||
spec:
|
||||
containers:
|
||||
- name: nginx-error-server
|
||||
|
|
|
@ -6,4 +6,5 @@ metadata:
|
|||
name: nginx-configuration
|
||||
namespace: ingress-nginx
|
||||
labels:
|
||||
app: ingress-nginx
|
||||
app.kubernetes.io/name: ingress-nginx
|
||||
app.kubernetes.io/part-of: ingress-nginx
|
||||
|
|
|
@ -1148,7 +1148,8 @@ use a ConfigMap to configure custom Diffie-Hellman parameters file to help with
|
|||
<span class="go"> name: nginx-configuration</span>
|
||||
<span class="go"> namespace: ingress-nginx</span>
|
||||
<span class="go"> labels:</span>
|
||||
<span class="go"> app: ingress-nginx</span>
|
||||
<span class="go"> app.kubernetes.io/name: ingress-nginx</span>
|
||||
<span class="go"> app.kubernetes.io/part-of: ingress-nginx</span>
|
||||
</pre></div>
|
||||
|
||||
<div class="codehilite"><pre><span></span><span class="gp">$</span> kubectl create -f configmap.yaml
|
||||
|
@ -1168,7 +1169,8 @@ use a ConfigMap to configure custom Diffie-Hellman parameters file to help with
|
|||
<span class="go"> name: nginx-configuration</span>
|
||||
<span class="go"> namespace: ingress-nginx</span>
|
||||
<span class="go"> labels:</span>
|
||||
<span class="go"> app: ingress-nginx</span>
|
||||
<span class="go"> app.kubernetes.io/name: ingress-nginx</span>
|
||||
<span class="go"> app.kubernetes.io/part-of: ingress-nginx</span>
|
||||
</pre></div>
|
||||
|
||||
<div class="codehilite"><pre><span></span><span class="gp">$</span> kubectl create -f ssl-dh-param.yaml
|
||||
|
|
|
@ -6,4 +6,5 @@ metadata:
|
|||
name: nginx-configuration
|
||||
namespace: ingress-nginx
|
||||
labels:
|
||||
app: ingress-nginx
|
||||
app.kubernetes.io/name: ingress-nginx
|
||||
app.kubernetes.io/part-of: ingress-nginx
|
||||
|
|
|
@ -3,7 +3,8 @@ kind: Service
|
|||
metadata:
|
||||
name: nginx
|
||||
labels:
|
||||
app: nginx
|
||||
app.kubernetes.io/name: ingress-nginx
|
||||
app.kubernetes.io/part-of: ingress-nginx
|
||||
spec:
|
||||
ports:
|
||||
- port: 80
|
||||
|
@ -11,18 +12,23 @@ spec:
|
|||
protocol: TCP
|
||||
name: http
|
||||
selector:
|
||||
app: nginx
|
||||
app.kubernetes.io/name: ingress-nginx
|
||||
app.kubernetes.io/part-of: ingress-nginx
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ReplicationController
|
||||
metadata:
|
||||
name: nginx
|
||||
labels:
|
||||
app.kubernetes.io/name: ingress-nginx
|
||||
app.kubernetes.io/part-of: ingress-nginx
|
||||
spec:
|
||||
replicas: 1
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: nginx
|
||||
app.kubernetes.io/name: ingress-nginx
|
||||
app.kubernetes.io/part-of: ingress-nginx
|
||||
spec:
|
||||
containers:
|
||||
- name: nginx
|
||||
|
@ -35,7 +41,8 @@ kind: Service
|
|||
metadata:
|
||||
name: http-svc
|
||||
labels:
|
||||
app: http-svc
|
||||
app.kubernetes.io/name: http-svc
|
||||
app.kubernetes.io/part-of: ingress-nginx
|
||||
spec:
|
||||
ports:
|
||||
- port: 80
|
||||
|
@ -43,18 +50,23 @@ spec:
|
|||
protocol: TCP
|
||||
name: http
|
||||
selector:
|
||||
app: http-svc
|
||||
app.kubernetes.io/name: http-svc
|
||||
app.kubernetes.io/part-of: ingress-nginx
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ReplicationController
|
||||
metadata:
|
||||
name: http-svc
|
||||
labels:
|
||||
app.kubernetes.io/name: http-svc
|
||||
app.kubernetes.io/part-of: ingress-nginx
|
||||
spec:
|
||||
replicas: 1
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: http-svc
|
||||
app.kubernetes.io/name: http-svc
|
||||
app.kubernetes.io/part-of: ingress-nginx
|
||||
spec:
|
||||
containers:
|
||||
- name: http-svc
|
||||
|
@ -113,4 +125,4 @@ spec:
|
|||
- backend:
|
||||
serviceName: nginx
|
||||
servicePort: 80
|
||||
path: /
|
||||
path: /
|
||||
|
|
|
@ -3,16 +3,19 @@ kind: Deployment
|
|||
metadata:
|
||||
name: nginx-ingress-controller
|
||||
labels:
|
||||
k8s-app: nginx-ingress-controller
|
||||
app.kubernetes.io/name: ingress-nginx
|
||||
app.kubernetes.io/part-of: ingress-nginx
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
k8s-app: nginx-ingress-controller
|
||||
app.kubernetes.io/name: ingress-nginx
|
||||
app.kubernetes.io/part-of: ingress-nginx
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
k8s-app: nginx-ingress-controller
|
||||
app.kubernetes.io/name: ingress-nginx
|
||||
app.kubernetes.io/part-of: ingress-nginx
|
||||
spec:
|
||||
# hostNetwork makes it possible to use ipv6 and to preserve the source IP correctly regardless of docker configuration
|
||||
# however, it is not a hard dependency of the nginx-ingress-controller itself and it may cause issues if port 10254 already is taken on the host
|
||||
|
|
|
@ -4,7 +4,8 @@ kind: Service
|
|||
metadata:
|
||||
name: nginx-ingress-lb
|
||||
labels:
|
||||
app: nginx-ingress-lb
|
||||
app.kubernetes.io/name: ingress-nginx
|
||||
app.kubernetes.io/part-of: ingress-nginx
|
||||
spec:
|
||||
externalTrafficPolicy: Local
|
||||
type: LoadBalancer
|
||||
|
@ -18,5 +19,5 @@ spec:
|
|||
targetPort: 443
|
||||
selector:
|
||||
# Selects nginx-ingress-controller pods
|
||||
k8s-app: nginx-ingress-controller
|
||||
|
||||
app.kubernetes.io/name: ingress-nginx
|
||||
app.kubernetes.io/part-of: ingress-nginx
|
||||
|
|
File diff suppressed because one or more lines are too long
90
sitemap.xml
90
sitemap.xml
|
@ -2,227 +2,227 @@
|
|||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
<url>
|
||||
<loc>/</loc>
|
||||
<lastmod>2018-09-04</lastmod>
|
||||
<lastmod>2018-09-05</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>/deploy/</loc>
|
||||
<lastmod>2018-09-04</lastmod>
|
||||
<lastmod>2018-09-05</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>/deploy/baremetal/</loc>
|
||||
<lastmod>2018-09-04</lastmod>
|
||||
<lastmod>2018-09-05</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>/deploy/rbac/</loc>
|
||||
<lastmod>2018-09-04</lastmod>
|
||||
<lastmod>2018-09-05</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>/deploy/upgrade/</loc>
|
||||
<lastmod>2018-09-04</lastmod>
|
||||
<lastmod>2018-09-05</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>/user-guide/nginx-configuration/</loc>
|
||||
<lastmod>2018-09-04</lastmod>
|
||||
<lastmod>2018-09-05</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>/user-guide/nginx-configuration/annotations/</loc>
|
||||
<lastmod>2018-09-04</lastmod>
|
||||
<lastmod>2018-09-05</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>/user-guide/nginx-configuration/configmap/</loc>
|
||||
<lastmod>2018-09-04</lastmod>
|
||||
<lastmod>2018-09-05</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>/user-guide/nginx-configuration/custom-template/</loc>
|
||||
<lastmod>2018-09-04</lastmod>
|
||||
<lastmod>2018-09-05</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>/user-guide/nginx-configuration/log-format/</loc>
|
||||
<lastmod>2018-09-04</lastmod>
|
||||
<lastmod>2018-09-05</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>/user-guide/cli-arguments/</loc>
|
||||
<lastmod>2018-09-04</lastmod>
|
||||
<lastmod>2018-09-05</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>/user-guide/custom-errors/</loc>
|
||||
<lastmod>2018-09-04</lastmod>
|
||||
<lastmod>2018-09-05</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>/user-guide/default-backend/</loc>
|
||||
<lastmod>2018-09-04</lastmod>
|
||||
<lastmod>2018-09-05</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>/user-guide/exposing-tcp-udp-services/</loc>
|
||||
<lastmod>2018-09-04</lastmod>
|
||||
<lastmod>2018-09-05</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>/user-guide/external-articles/</loc>
|
||||
<lastmod>2018-09-04</lastmod>
|
||||
<lastmod>2018-09-05</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>/user-guide/miscellaneous/</loc>
|
||||
<lastmod>2018-09-04</lastmod>
|
||||
<lastmod>2018-09-05</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>/user-guide/monitoring/</loc>
|
||||
<lastmod>2018-09-04</lastmod>
|
||||
<lastmod>2018-09-05</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>/user-guide/multiple-ingress/</loc>
|
||||
<lastmod>2018-09-04</lastmod>
|
||||
<lastmod>2018-09-05</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>/user-guide/tls/</loc>
|
||||
<lastmod>2018-09-04</lastmod>
|
||||
<lastmod>2018-09-05</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>/user-guide/third-party-addons/modsecurity/</loc>
|
||||
<lastmod>2018-09-04</lastmod>
|
||||
<lastmod>2018-09-05</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>/user-guide/third-party-addons/opentracing/</loc>
|
||||
<lastmod>2018-09-04</lastmod>
|
||||
<lastmod>2018-09-05</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>/examples/</loc>
|
||||
<lastmod>2018-09-04</lastmod>
|
||||
<lastmod>2018-09-05</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>/examples/PREREQUISITES/</loc>
|
||||
<lastmod>2018-09-04</lastmod>
|
||||
<lastmod>2018-09-05</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>/examples/affinity/cookie/README/</loc>
|
||||
<lastmod>2018-09-04</lastmod>
|
||||
<lastmod>2018-09-05</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>/examples/auth/basic/README/</loc>
|
||||
<lastmod>2018-09-04</lastmod>
|
||||
<lastmod>2018-09-05</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>/examples/auth/client-certs/README/</loc>
|
||||
<lastmod>2018-09-04</lastmod>
|
||||
<lastmod>2018-09-05</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>/examples/auth/external-auth/README/</loc>
|
||||
<lastmod>2018-09-04</lastmod>
|
||||
<lastmod>2018-09-05</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>/examples/auth/oauth-external-auth/README/</loc>
|
||||
<lastmod>2018-09-04</lastmod>
|
||||
<lastmod>2018-09-05</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>/examples/customization/configuration-snippets/README/</loc>
|
||||
<lastmod>2018-09-04</lastmod>
|
||||
<lastmod>2018-09-05</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>/examples/customization/custom-configuration/README/</loc>
|
||||
<lastmod>2018-09-04</lastmod>
|
||||
<lastmod>2018-09-05</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>/examples/customization/custom-errors/README/</loc>
|
||||
<lastmod>2018-09-04</lastmod>
|
||||
<lastmod>2018-09-05</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>/examples/customization/custom-headers/README/</loc>
|
||||
<lastmod>2018-09-04</lastmod>
|
||||
<lastmod>2018-09-05</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>/examples/customization/custom-upstream-check/README/</loc>
|
||||
<lastmod>2018-09-04</lastmod>
|
||||
<lastmod>2018-09-05</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>/examples/customization/external-auth-headers/README/</loc>
|
||||
<lastmod>2018-09-04</lastmod>
|
||||
<lastmod>2018-09-05</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>/examples/customization/ssl-dh-param/README/</loc>
|
||||
<lastmod>2018-09-04</lastmod>
|
||||
<lastmod>2018-09-05</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>/examples/customization/sysctl/README/</loc>
|
||||
<lastmod>2018-09-04</lastmod>
|
||||
<lastmod>2018-09-05</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>/examples/docker-registry/README/</loc>
|
||||
<lastmod>2018-09-04</lastmod>
|
||||
<lastmod>2018-09-05</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>/examples/grpc/README/</loc>
|
||||
<lastmod>2018-09-04</lastmod>
|
||||
<lastmod>2018-09-05</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>/examples/multi-tls/README/</loc>
|
||||
<lastmod>2018-09-04</lastmod>
|
||||
<lastmod>2018-09-05</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>/examples/rewrite/README/</loc>
|
||||
<lastmod>2018-09-04</lastmod>
|
||||
<lastmod>2018-09-05</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>/examples/static-ip/README/</loc>
|
||||
<lastmod>2018-09-04</lastmod>
|
||||
<lastmod>2018-09-05</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>/examples/tls-termination/README/</loc>
|
||||
<lastmod>2018-09-04</lastmod>
|
||||
<lastmod>2018-09-05</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>/development/</loc>
|
||||
<lastmod>2018-09-04</lastmod>
|
||||
<lastmod>2018-09-05</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>/how-it-works/</loc>
|
||||
<lastmod>2018-09-04</lastmod>
|
||||
<lastmod>2018-09-05</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>/troubleshooting/</loc>
|
||||
<lastmod>2018-09-04</lastmod>
|
||||
<lastmod>2018-09-05</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
</urlset>
|
Loading…
Reference in a new issue