Deploy GitHub Pages
This commit is contained in:
parent
b8ad15b88c
commit
c0adf7a850
28 changed files with 103 additions and 101 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
38
index.html
38
index.html
File diff suppressed because one or more lines are too long
|
@ -152,11 +152,11 @@ Do not move it without providing redirects.
|
||||||
</code></pre></div> <h3 id=info>info<a class=headerlink href=#info title="Permanent link"> ¶</a></h3> <p>Shows the internal and external IP/CNAMES for an <code>ingress-nginx</code> service.</p> <div class=highlight><pre><span></span><code><span class=gp>$</span> kubectl ingress-nginx info -n ingress-nginx
|
</code></pre></div> <h3 id=info>info<a class=headerlink href=#info title="Permanent link"> ¶</a></h3> <p>Shows the internal and external IP/CNAMES for an <code>ingress-nginx</code> service.</p> <div class=highlight><pre><span></span><code><span class=gp>$</span> kubectl ingress-nginx info -n ingress-nginx
|
||||||
<span class=go>Service cluster IP address: 10.187.253.31</span>
|
<span class=go>Service cluster IP address: 10.187.253.31</span>
|
||||||
<span class=go>LoadBalancer IP|CNAME: 35.123.123.123</span>
|
<span class=go>LoadBalancer IP|CNAME: 35.123.123.123</span>
|
||||||
</code></pre></div> <p>Use the <code>--service <service></code> flag if your <code>ingress-nginx</code> <code>LoadBalancer</code> service is not named <code>ingress-nginx</code>.</p> <h3 id=ingresses>ingresses<a class=headerlink href=#ingresses title="Permanent link"> ¶</a></h3> <p><code>kubectl ingress-nginx ingresses</code>, alternately <code>kubectl ingress-nginx ing</code>, shows a more detailed view of the ingress definitions in a namespace. Compare:</p> <div class=highlight><pre><span></span><code><span class=gp>$</span> kubectl get ingresses --all-namespaces
|
</code></pre></div> <p>Use the <code>--service <service></code> flag if your <code>ingress-nginx</code> <code>LoadBalancer</code> service is not named <code>ingress-nginx</code>.</p> <h3 id=ingresses>ingresses<a class=headerlink href=#ingresses title="Permanent link"> ¶</a></h3> <p><code>kubectl ingress-nginx ingresses</code>, alternately <code>kubectl ingress-nginx ing</code>, shows a more detailed view of the ingress definitions in a namespace.</p> <p>Compare:</p> <div class=highlight><pre><span></span><code><span class=gp>$</span> kubectl get ingresses --all-namespaces
|
||||||
<span class=go>NAMESPACE NAME HOSTS ADDRESS PORTS AGE</span>
|
<span class=go>NAMESPACE NAME HOSTS ADDRESS PORTS AGE</span>
|
||||||
<span class=go>default example-ingress1 testaddr.local,testaddr2.local localhost 80 5d</span>
|
<span class=go>default example-ingress1 testaddr.local,testaddr2.local localhost 80 5d</span>
|
||||||
<span class=go>default test-ingress-2 * localhost 80 5d</span>
|
<span class=go>default test-ingress-2 * localhost 80 5d</span>
|
||||||
</code></pre></div> <p>vs</p> <div class=highlight><pre><span></span><code><span class=gp>$</span> kubectl ingress-nginx ingresses --all-namespaces
|
</code></pre></div> <p>vs.</p> <div class=highlight><pre><span></span><code><span class=gp>$</span> kubectl ingress-nginx ingresses --all-namespaces
|
||||||
<span class=go>NAMESPACE INGRESS NAME HOST+PATH ADDRESSES TLS SERVICE SERVICE PORT ENDPOINTS</span>
|
<span class=go>NAMESPACE INGRESS NAME HOST+PATH ADDRESSES TLS SERVICE SERVICE PORT ENDPOINTS</span>
|
||||||
<span class=go>default example-ingress1 testaddr.local/etameta localhost NO pear-service 5678 5</span>
|
<span class=go>default example-ingress1 testaddr.local/etameta localhost NO pear-service 5678 5</span>
|
||||||
<span class=go>default example-ingress1 testaddr2.local/otherpath localhost NO apple-service 5678 1</span>
|
<span class=go>default example-ingress1 testaddr2.local/otherpath localhost NO apple-service 5678 1</span>
|
||||||
|
@ -181,7 +181,7 @@ Do not move it without providing redirects.
|
||||||
<span class=go> - Uses removed config flag --enable-dynamic-certificates</span>
|
<span class=go> - Uses removed config flag --enable-dynamic-certificates</span>
|
||||||
<span class=go> Lint added for version 0.24.0</span>
|
<span class=go> Lint added for version 0.24.0</span>
|
||||||
<span class=go> https://github.com/kubernetes/ingress-nginx/issues/3808</span>
|
<span class=go> https://github.com/kubernetes/ingress-nginx/issues/3808</span>
|
||||||
</code></pre></div> <p>to show the lints added <strong>only</strong> for a particular <code>ingress-nginx</code> release, use the <code>--from-version</code> and <code>--to-version</code> flags:</p> <div class=highlight><pre><span></span><code><span class=gp>$</span> kubectl ingress-nginx lint --all-namespaces --verbose --from-version <span class=m>0</span>.24.0 --to-version <span class=m>0</span>.24.0
|
</code></pre></div> <p>To show the lints added <strong>only</strong> for a particular <code>ingress-nginx</code> release, use the <code>--from-version</code> and <code>--to-version</code> flags:</p> <div class=highlight><pre><span></span><code><span class=gp>$</span> kubectl ingress-nginx lint --all-namespaces --verbose --from-version <span class=m>0</span>.24.0 --to-version <span class=m>0</span>.24.0
|
||||||
<span class=go>Checking ingresses...</span>
|
<span class=go>Checking ingresses...</span>
|
||||||
<span class=go>✗ anamespace/this-nginx</span>
|
<span class=go>✗ anamespace/this-nginx</span>
|
||||||
<span class=go> - Contains the removed session-cookie-hash annotation.</span>
|
<span class=go> - Contains the removed session-cookie-hash annotation.</span>
|
||||||
|
|
File diff suppressed because one or more lines are too long
BIN
sitemap.xml.gz
BIN
sitemap.xml.gz
Binary file not shown.
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -3,8 +3,8 @@
|
||||||
--set controller.metrics.enabled=true \
|
--set controller.metrics.enabled=true \
|
||||||
--set-string controller.podAnnotations."prometheus\.io/scrape"="true" \
|
--set-string controller.podAnnotations."prometheus\.io/scrape"="true" \
|
||||||
--set-string controller.podAnnotations."prometheus\.io/port"="10254"
|
--set-string controller.podAnnotations."prometheus\.io/port"="10254"
|
||||||
</code></pre></div></p> </li> <li>You can validate that the controller is configured for metrics by looking at the values of the installed release, like this ; <div class=highlight><pre><span></span><code>helm get values ingress-controller --namespace ingress-nginx
|
</code></pre></div></p> </li> <li>You can validate that the controller is configured for metrics by looking at the values of the installed release, like this: <div class=highlight><pre><span></span><code>helm get values ingress-controller --namespace ingress-nginx
|
||||||
</code></pre></div></li> <li>You should be able to see the values shown below ; <div class=highlight><pre><span></span><code>..
|
</code></pre></div></li> <li>You should be able to see the values shown below: <div class=highlight><pre><span></span><code>..
|
||||||
controller:
|
controller:
|
||||||
metrics:
|
metrics:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
|
@ -34,11 +34,11 @@
|
||||||
<span class=nt>name</span><span class=p>:</span> <span class="l l-Scalar l-Scalar-Plain">foo</span>
|
<span class=nt>name</span><span class=p>:</span> <span class="l l-Scalar l-Scalar-Plain">foo</span>
|
||||||
<span class=nt>annotations</span><span class=p>:</span>
|
<span class=nt>annotations</span><span class=p>:</span>
|
||||||
<span class=nt>kubernetes.io/ingress.class</span><span class=p>:</span> <span class=s>"gce"</span>
|
<span class=nt>kubernetes.io/ingress.class</span><span class=p>:</span> <span class=s>"gce"</span>
|
||||||
</code></pre></div> <p>will target the GCE controller, forcing the nginx controller to ignore it, while an annotation like</p> <div class=highlight><pre><span></span><code><span class=nt>metadata</span><span class=p>:</span>
|
</code></pre></div> <p>will target the GCE controller, forcing the Ingress-NGINX controller to ignore it, while an annotation like:</p> <div class=highlight><pre><span></span><code><span class=nt>metadata</span><span class=p>:</span>
|
||||||
<span class=nt>name</span><span class=p>:</span> <span class="l l-Scalar l-Scalar-Plain">foo</span>
|
<span class=nt>name</span><span class=p>:</span> <span class="l l-Scalar l-Scalar-Plain">foo</span>
|
||||||
<span class=nt>annotations</span><span class=p>:</span>
|
<span class=nt>annotations</span><span class=p>:</span>
|
||||||
<span class=nt>kubernetes.io/ingress.class</span><span class=p>:</span> <span class=s>"nginx"</span>
|
<span class=nt>kubernetes.io/ingress.class</span><span class=p>:</span> <span class=s>"nginx"</span>
|
||||||
</code></pre></div> <p>will target the nginx controller, forcing the GCE controller to ignore it.</p> <p>You can change the value "nginx" to something else by setting the <code>--ingress-class</code> flag:</p> <div class=highlight><pre><span></span><code><span class=nt>spec</span><span class=p>:</span>
|
</code></pre></div> <p>will target the Ingress-NGINX controller, forcing the GCE controller to ignore it.</p> <p>You can change the value "nginx" to something else by setting the <code>--ingress-class</code> flag:</p> <div class=highlight><pre><span></span><code><span class=nt>spec</span><span class=p>:</span>
|
||||||
<span class=nt>template</span><span class=p>:</span>
|
<span class=nt>template</span><span class=p>:</span>
|
||||||
<span class=nt>spec</span><span class=p>:</span>
|
<span class=nt>spec</span><span class=p>:</span>
|
||||||
<span class=nt>containers</span><span class=p>:</span>
|
<span class=nt>containers</span><span class=p>:</span>
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -86,7 +86,7 @@ metadata:
|
||||||
nginx.ingress.kubernetes.io/opentracing-trust-incoming-span: "true"
|
nginx.ingress.kubernetes.io/opentracing-trust-incoming-span: "true"
|
||||||
</code></pre></div></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> <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> <div class=highlight><pre><span></span><code>kubectl create -f https://raw.githubusercontent.com/rnburn/zipkin-date-server/master/kubernetes/zipkin.yaml
|
</code></pre></div></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> <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> <div class=highlight><pre><span></span><code>kubectl create -f https://raw.githubusercontent.com/rnburn/zipkin-date-server/master/kubernetes/zipkin.yaml
|
||||||
kubectl create -f https://raw.githubusercontent.com/rnburn/zipkin-date-server/master/kubernetes/deployment.yaml
|
kubectl create -f https://raw.githubusercontent.com/rnburn/zipkin-date-server/master/kubernetes/deployment.yaml
|
||||||
</code></pre></div> <p>Also we need to configure the NGINX controller ConfigMap with the required values:</p> <div class=highlight><pre><span></span><code>$ echo '
|
</code></pre></div> <p>Also we need to configure the Ingress-NGINX controller ConfigMap with the required values:</p> <div class=highlight><pre><span></span><code>$ echo '
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
data:
|
data:
|
||||||
|
|
Loading…
Reference in a new issue