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
|
|
@ -3,8 +3,8 @@
|
|||
--set controller.metrics.enabled=true \
|
||||
--set-string controller.podAnnotations."prometheus\.io/scrape"="true" \
|
||||
--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></li> <li>You should be able to see the values shown below ; <div class=highlight><pre><span></span><code>..
|
||||
</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>..
|
||||
controller:
|
||||
metrics:
|
||||
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>annotations</span><span class=p>:</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>annotations</span><span class=p>:</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>spec</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"
|
||||
</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
|
||||
</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
|
||||
kind: ConfigMap
|
||||
data:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue