Deploy GitHub Pages

This commit is contained in:
k8s-ci-robot 2023-01-08 22:28:21 +00:00
parent 96f4671ca4
commit e581f1ab1c
4 changed files with 53 additions and 53 deletions

File diff suppressed because one or more lines are too long

View file

@ -1,207 +1,207 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><url>
<loc>https://kubernetes.github.io/ingress-nginx/</loc>
<lastmod>2022-12-30</lastmod>
<lastmod>2023-01-08</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://kubernetes.github.io/ingress-nginx/how-it-works/</loc>
<lastmod>2022-12-30</lastmod>
<lastmod>2023-01-08</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://kubernetes.github.io/ingress-nginx/troubleshooting/</loc>
<lastmod>2022-12-30</lastmod>
<lastmod>2023-01-08</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://kubernetes.github.io/ingress-nginx/kubectl-plugin/</loc>
<lastmod>2022-12-30</lastmod>
<lastmod>2023-01-08</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://kubernetes.github.io/ingress-nginx/deploy/</loc>
<lastmod>2022-12-30</lastmod>
<lastmod>2023-01-08</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://kubernetes.github.io/ingress-nginx/deploy/baremetal/</loc>
<lastmod>2022-12-30</lastmod>
<lastmod>2023-01-08</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://kubernetes.github.io/ingress-nginx/deploy/rbac/</loc>
<lastmod>2022-12-30</lastmod>
<lastmod>2023-01-08</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://kubernetes.github.io/ingress-nginx/deploy/upgrade/</loc>
<lastmod>2022-12-30</lastmod>
<lastmod>2023-01-08</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://kubernetes.github.io/ingress-nginx/deploy/hardening-guide/</loc>
<lastmod>2022-12-30</lastmod>
<lastmod>2023-01-08</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/</loc>
<lastmod>2022-12-30</lastmod>
<lastmod>2023-01-08</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://kubernetes.github.io/ingress-nginx/user-guide/basic-usage/</loc>
<lastmod>2022-12-30</lastmod>
<lastmod>2023-01-08</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/annotations/</loc>
<lastmod>2022-12-30</lastmod>
<lastmod>2023-01-08</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/configmap/</loc>
<lastmod>2022-12-30</lastmod>
<lastmod>2023-01-08</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/custom-template/</loc>
<lastmod>2022-12-30</lastmod>
<lastmod>2023-01-08</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/log-format/</loc>
<lastmod>2022-12-30</lastmod>
<lastmod>2023-01-08</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://kubernetes.github.io/ingress-nginx/user-guide/cli-arguments/</loc>
<lastmod>2022-12-30</lastmod>
<lastmod>2023-01-08</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://kubernetes.github.io/ingress-nginx/user-guide/custom-errors/</loc>
<lastmod>2022-12-30</lastmod>
<lastmod>2023-01-08</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://kubernetes.github.io/ingress-nginx/user-guide/default-backend/</loc>
<lastmod>2022-12-30</lastmod>
<lastmod>2023-01-08</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://kubernetes.github.io/ingress-nginx/user-guide/exposing-tcp-udp-services/</loc>
<lastmod>2022-12-30</lastmod>
<lastmod>2023-01-08</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://kubernetes.github.io/ingress-nginx/user-guide/fcgi-services/</loc>
<lastmod>2022-12-30</lastmod>
<lastmod>2023-01-08</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://kubernetes.github.io/ingress-nginx/user-guide/ingress-path-matching/</loc>
<lastmod>2022-12-30</lastmod>
<lastmod>2023-01-08</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://kubernetes.github.io/ingress-nginx/user-guide/external-articles/</loc>
<lastmod>2022-12-30</lastmod>
<lastmod>2023-01-08</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://kubernetes.github.io/ingress-nginx/user-guide/miscellaneous/</loc>
<lastmod>2022-12-30</lastmod>
<lastmod>2023-01-08</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://kubernetes.github.io/ingress-nginx/user-guide/monitoring/</loc>
<lastmod>2022-12-30</lastmod>
<lastmod>2023-01-08</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://kubernetes.github.io/ingress-nginx/user-guide/multiple-ingress/</loc>
<lastmod>2022-12-30</lastmod>
<lastmod>2023-01-08</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://kubernetes.github.io/ingress-nginx/user-guide/tls/</loc>
<lastmod>2022-12-30</lastmod>
<lastmod>2023-01-08</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://kubernetes.github.io/ingress-nginx/user-guide/third-party-addons/modsecurity/</loc>
<lastmod>2022-12-30</lastmod>
<lastmod>2023-01-08</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://kubernetes.github.io/ingress-nginx/user-guide/third-party-addons/opentracing/</loc>
<lastmod>2022-12-30</lastmod>
<lastmod>2023-01-08</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://kubernetes.github.io/ingress-nginx/examples/</loc>
<lastmod>2022-12-30</lastmod>
<lastmod>2023-01-08</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://kubernetes.github.io/ingress-nginx/examples/PREREQUISITES/</loc>
<lastmod>2022-12-30</lastmod>
<lastmod>2023-01-08</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://kubernetes.github.io/ingress-nginx/examples/affinity/cookie/</loc>
<lastmod>2022-12-30</lastmod>
<lastmod>2023-01-08</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://kubernetes.github.io/ingress-nginx/examples/auth/basic/</loc>
<lastmod>2022-12-30</lastmod>
<lastmod>2023-01-08</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://kubernetes.github.io/ingress-nginx/examples/auth/client-certs/</loc>
<lastmod>2022-12-30</lastmod>
<lastmod>2023-01-08</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://kubernetes.github.io/ingress-nginx/examples/auth/external-auth/</loc>
<lastmod>2022-12-30</lastmod>
<lastmod>2023-01-08</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://kubernetes.github.io/ingress-nginx/examples/auth/oauth-external-auth/</loc>
<lastmod>2022-12-30</lastmod>
<lastmod>2023-01-08</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://kubernetes.github.io/ingress-nginx/examples/customization/configuration-snippets/</loc>
<lastmod>2022-12-30</lastmod>
<lastmod>2023-01-08</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://kubernetes.github.io/ingress-nginx/examples/customization/custom-configuration/</loc>
<lastmod>2022-12-30</lastmod>
<lastmod>2023-01-08</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://kubernetes.github.io/ingress-nginx/examples/customization/custom-errors/</loc>
<lastmod>2022-12-30</lastmod>
<lastmod>2023-01-08</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://kubernetes.github.io/ingress-nginx/examples/customization/custom-headers/</loc>
<lastmod>2022-12-30</lastmod>
<lastmod>2023-01-08</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://kubernetes.github.io/ingress-nginx/examples/customization/external-auth-headers/</loc>
<lastmod>2022-12-30</lastmod>
<lastmod>2023-01-08</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://kubernetes.github.io/ingress-nginx/examples/customization/ssl-dh-param/</loc>
<lastmod>2022-12-30</lastmod>
<lastmod>2023-01-08</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://kubernetes.github.io/ingress-nginx/examples/customization/sysctl/</loc>
<lastmod>2022-12-30</lastmod>
<lastmod>2023-01-08</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://kubernetes.github.io/ingress-nginx/examples/docker-registry/</loc>
<lastmod>2022-12-30</lastmod>
<lastmod>2023-01-08</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://kubernetes.github.io/ingress-nginx/examples/grpc/</loc>
<lastmod>2022-12-30</lastmod>
<lastmod>2023-01-08</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://kubernetes.github.io/ingress-nginx/examples/multi-tls/</loc>
<lastmod>2022-12-30</lastmod>
<lastmod>2023-01-08</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://kubernetes.github.io/ingress-nginx/examples/rewrite/</loc>
<lastmod>2022-12-30</lastmod>
<lastmod>2023-01-08</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://kubernetes.github.io/ingress-nginx/examples/static-ip/</loc>
<lastmod>2022-12-30</lastmod>
<lastmod>2023-01-08</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://kubernetes.github.io/ingress-nginx/examples/tls-termination/</loc>
<lastmod>2022-12-30</lastmod>
<lastmod>2023-01-08</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://kubernetes.github.io/ingress-nginx/examples/psp/</loc>
<lastmod>2022-12-30</lastmod>
<lastmod>2023-01-08</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://kubernetes.github.io/ingress-nginx/developer-guide/getting-started/</loc>
<lastmod>2022-12-30</lastmod>
<lastmod>2023-01-08</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://kubernetes.github.io/ingress-nginx/developer-guide/code-overview/</loc>
<lastmod>2022-12-30</lastmod>
<lastmod>2023-01-08</lastmod>
<changefreq>daily</changefreq>
</url>
</urlset>

Binary file not shown.

View file

@ -114,7 +114,7 @@ prometheus-prometheus-node-exporter ClusterIP 10.96.247.128 &lt;none&
</code></pre></div> prometheus-grafana is the service we want to port forward to. We can do so using the following command: <div class=highlight><pre><span></span><code>kubectl port-forward svc/prometheus-grafana 3000:80 -n prometheus
</code></pre></div> When you run the above command, you should see something like: <div class=highlight><pre><span></span><code>Forwarding from 127.0.0.1:3000 -&gt; 3000
Forwarding from [::1]:3000 -&gt; 3000
</code></pre></div> - Open your browser and visit the following URL http://localhost:{port-forwarded-port} according to the above example it would be, http://localhost:3000 The default username/ password is admin/prom-operator - After the login you can import the Grafana dashboard from <a href=https://github.com/kubernetes/ingress-nginx/tree/main/deploy/grafana/dashboards>official dashboards</a>, by following steps given below :</p> <ul> <li>Navigate to lefthand panel of grafana</li> <li>Hover on the gearwheel icon for Configuration and click "Data Sources"</li> <li>Click "Add data source"</li> <li>Select "Prometheus"</li> <li>Enter the details (note: I used http://10.102.72.134:9090 which is the CLUSTER-IP for Prometheus service)</li> <li>Left menu (hover over +) -&gt; Dashboard</li> <li>Click "Import"</li> <li>Enter the copy pasted json from https://raw.githubusercontent.com/kubernetes/ingress-nginx/main/deploy/grafana/dashboards/nginx.json</li> <li>Click Import JSON</li> <li>Select the Prometheus data source</li> <li>Click "Import"</li> </ul> <p><img alt="Grafana Dashboard" src=../../images/grafana-dashboard1.png></p> <h2 id=exposed-metrics>Exposed metrics<a class=headerlink href=#exposed-metrics title="Permanent link"></a></h2> <p>Prometheus metrics are exposed on port 10254.</p> <h3 id=request-metrics>Request metrics<a class=headerlink href=#request-metrics title="Permanent link"></a></h3> <ul> <li><code>nginx_ingress_controller_request_duration_seconds</code> Histogram</li> </ul> <p>The request processing time in milliseconds (affected by client speed)</p> <p>nginx var: <code>request_time</code></p> <ul> <li><code>nginx_ingress_controller_response_duration_seconds</code> Histogram</li> </ul> <p>The time spent on receiving the response from the upstream server (affected by client speed)</p> <p>nginx var: <code>upstream_response_time</code></p> <ul> <li><code>nginx_ingress_controller_header_duration_seconds</code> Histogram</li> </ul> <p>The time spent on receiving first header from the upstream server</p> <p>nginx var: <code>upstream_header_time</code></p> <ul> <li><code>nginx_ingress_controller_connect_duration_seconds</code> Histogram</li> </ul> <p>The time spent on establishing a connection with the upstream server</p> <p>nginx var: <code>upstream_connect_time</code></p> <ul> <li><code>nginx_ingress_controller_response_size</code> Histogram</li> </ul> <p>The response length (including request line, header, and request body)</p> <p>nginx var: <code>bytes_sent</code></p> <ul> <li><code>nginx_ingress_controller_request_size</code> Histogram</li> </ul> <p>The request length (including request line, header, and request body)</p> <p>nginx var: <code>request_length</code></p> <ul> <li><code>nginx_ingress_controller_requests</code> Counter</li> </ul> <p>The total number of client requests</p> <ul> <li><code>nginx_ingress_controller_bytes_sent</code> Histogram</li> </ul> <p>The number of bytes sent to a client. <strong>Deprecated</strong>, use <code>nginx_ingress_controller_response_size</code></p> <p>nginx var: <code>bytes_sent</code></p> <ul> <li><code>nginx_ingress_controller_ingress_upstream_latency_seconds</code> Summary</li> </ul> <p>Upstream service latency per Ingress. <strong>Deprecated</strong>, use <code>nginx_ingress_controller_connect_duration_seconds</code></p> <p>nginx var: <code>upstream_connect_time</code></p> <div class=highlight><pre><span></span><code># HELP nginx_ingress_controller_bytes_sent The number of bytes sent to a client. DEPRECATED! Use nginx_ingress_controller_response_size
</code></pre></div> - Open your browser and visit the following URL http://localhost:{port-forwarded-port} according to the above example it would be, http://localhost:3000 The default username/ password is admin/prom-operator - After the login you can import the Grafana dashboard from <a href=https://github.com/kubernetes/ingress-nginx/tree/main/deploy/grafana/dashboards>official dashboards</a>, by following steps given below :</p> <ul> <li>Navigate to lefthand panel of grafana</li> <li>Hover on the gearwheel icon for Configuration and click "Data Sources"</li> <li>Click "Add data source"</li> <li>Select "Prometheus"</li> <li>Enter the details (note: I used http://10.102.72.134:9090 which is the CLUSTER-IP for Prometheus service)</li> <li>Left menu (hover over +) -&gt; Dashboard</li> <li>Click "Import"</li> <li>Enter the copy pasted json from https://raw.githubusercontent.com/kubernetes/ingress-nginx/main/deploy/grafana/dashboards/nginx.json</li> <li>Click Import JSON</li> <li>Select the Prometheus data source</li> <li>Click "Import"</li> </ul> <p><img alt="Grafana Dashboard" src=../../images/grafana-dashboard1.png></p> <h2 id=exposed-metrics>Exposed metrics<a class=headerlink href=#exposed-metrics title="Permanent link"></a></h2> <p>Prometheus metrics are exposed on port 10254.</p> <h3 id=request-metrics>Request metrics<a class=headerlink href=#request-metrics title="Permanent link"></a></h3> <ul> <li><code>nginx_ingress_controller_request_duration_seconds</code> Histogram</li> </ul> <p>The request processing time in seconds (affected by client speed)</p> <p>nginx var: <code>request_time</code></p> <ul> <li><code>nginx_ingress_controller_response_duration_seconds</code> Histogram</li> </ul> <p>The time spent on receiving the response from the upstream server (affected by client speed)</p> <p>nginx var: <code>upstream_response_time</code></p> <ul> <li><code>nginx_ingress_controller_header_duration_seconds</code> Histogram</li> </ul> <p>The time spent on receiving first header from the upstream server</p> <p>nginx var: <code>upstream_header_time</code></p> <ul> <li><code>nginx_ingress_controller_connect_duration_seconds</code> Histogram</li> </ul> <p>The time spent on establishing a connection with the upstream server</p> <p>nginx var: <code>upstream_connect_time</code></p> <ul> <li><code>nginx_ingress_controller_response_size</code> Histogram</li> </ul> <p>The response length (including request line, header, and request body)</p> <p>nginx var: <code>bytes_sent</code></p> <ul> <li><code>nginx_ingress_controller_request_size</code> Histogram</li> </ul> <p>The request length (including request line, header, and request body)</p> <p>nginx var: <code>request_length</code></p> <ul> <li><code>nginx_ingress_controller_requests</code> Counter</li> </ul> <p>The total number of client requests</p> <ul> <li><code>nginx_ingress_controller_bytes_sent</code> Histogram</li> </ul> <p>The number of bytes sent to a client. <strong>Deprecated</strong>, use <code>nginx_ingress_controller_response_size</code></p> <p>nginx var: <code>bytes_sent</code></p> <ul> <li><code>nginx_ingress_controller_ingress_upstream_latency_seconds</code> Summary</li> </ul> <p>Upstream service latency per Ingress. <strong>Deprecated</strong>, use <code>nginx_ingress_controller_connect_duration_seconds</code></p> <p>nginx var: <code>upstream_connect_time</code></p> <div class=highlight><pre><span></span><code># HELP nginx_ingress_controller_bytes_sent The number of bytes sent to a client. DEPRECATED! Use nginx_ingress_controller_response_size
# TYPE nginx_ingress_controller_bytes_sent histogram
# HELP nginx_ingress_controller_connect_duration_seconds The time spent on establishing a connection with the upstream server
# TYPE nginx_ingress_controller_connect_duration_seconds nginx_ingress_controller_connect_duration_seconds