Deploy GitHub Pages
This commit is contained in:
parent
f714432ca3
commit
7848b04afc
6 changed files with 70 additions and 52 deletions
|
@ -1168,6 +1168,16 @@
|
|||
<td>Type of hash that will be used in cookie value</td>
|
||||
<td>sha1/md5/index</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>nginx.ingress.kubernetes.io/session-cookie-expires</td>
|
||||
<td>The value is a date as UNIX timestamp that the cookie will expire on, it corresponds to cookie Expires directive</td>
|
||||
<td>number of seconds</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>nginx.ingress.kubernetes.io/session-cookie-max-age</td>
|
||||
<td>Number of seconds until the cookie expires that will correspond to cookie <code class="codehilite">Max-Age</code> directive</td>
|
||||
<td>number of seconds</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p>You can create the ingress to test this</p>
|
||||
|
@ -1190,6 +1200,8 @@
|
|||
<span class="go"> affinity: cookie</span>
|
||||
<span class="go"> session-cookie-hash: sha1</span>
|
||||
<span class="go"> session-cookie-name: INGRESSCOOKIE</span>
|
||||
<span class="go"> session-cookie-expires: 172800</span>
|
||||
<span class="go"> session-cookie-max-age: 172800</span>
|
||||
<span class="go">Events:</span>
|
||||
<span class="go"> FirstSeen LastSeen Count From SubObjectPath Type Reason Message</span>
|
||||
<span class="go"> --------- -------- ----- ---- ------------- -------- ------ -------</span>
|
||||
|
@ -1203,13 +1215,13 @@
|
|||
<span class="go">Content-Type: text/html</span>
|
||||
<span class="go">Content-Length: 612</span>
|
||||
<span class="go">Connection: keep-alive</span>
|
||||
<span class="go">Set-Cookie: INGRESSCOOKIE=a9907b79b248140b56bb13723f72b67697baac3d; Path=/; HttpOnly</span>
|
||||
<span class="go">Set-Cookie: INGRESSCOOKIE=a9907b79b248140b56bb13723f72b67697baac3d; Expires=Sun, 12-Feb-17 14:11:12 GMT; Max-Age=172800; Path=/; HttpOnly</span>
|
||||
<span class="go">Last-Modified: Tue, 24 Jan 2017 14:02:19 GMT</span>
|
||||
<span class="go">ETag: "58875e6b-264"</span>
|
||||
<span class="go">Accept-Ranges: bytes</span>
|
||||
</pre></div>
|
||||
In the example above, you can see a line containing the 'Set-Cookie: INGRESSCOOKIE' setting the right defined stickiness cookie.
|
||||
This cookie is created by NGINX containing the hash of the used upstream in that request.
|
||||
This cookie is created by NGINX, it contains the hash of the used upstream in that request and has an expires.
|
||||
If the user changes this cookie, NGINX creates a new one and redirect the user to another upstream.</p>
|
||||
<p>If the backend pool grows up NGINX will keep sending the requests through the same server of the first request, even if it's overloaded.</p>
|
||||
<p>When the backend server is removed, the requests are then re-routed to another upstream server and NGINX creates a new cookie, as the previous hash became invalid.</p>
|
||||
|
|
|
@ -6,6 +6,8 @@ metadata:
|
|||
nginx.ingress.kubernetes.io/affinity: "cookie"
|
||||
nginx.ingress.kubernetes.io/session-cookie-name: "route"
|
||||
nginx.ingress.kubernetes.io/session-cookie-hash: "sha1"
|
||||
nginx.ingress.kubernetes.io/session-cookie-expires: "172800"
|
||||
nginx.ingress.kubernetes.io/session-cookie-max-age: "172800"
|
||||
|
||||
spec:
|
||||
rules:
|
||||
|
|
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>None</loc>
|
||||
<lastmod>2019-01-12</lastmod>
|
||||
<lastmod>2019-01-15</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2019-01-12</lastmod>
|
||||
<lastmod>2019-01-15</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2019-01-12</lastmod>
|
||||
<lastmod>2019-01-15</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2019-01-12</lastmod>
|
||||
<lastmod>2019-01-15</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2019-01-12</lastmod>
|
||||
<lastmod>2019-01-15</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2019-01-12</lastmod>
|
||||
<lastmod>2019-01-15</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2019-01-12</lastmod>
|
||||
<lastmod>2019-01-15</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2019-01-12</lastmod>
|
||||
<lastmod>2019-01-15</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2019-01-12</lastmod>
|
||||
<lastmod>2019-01-15</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2019-01-12</lastmod>
|
||||
<lastmod>2019-01-15</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2019-01-12</lastmod>
|
||||
<lastmod>2019-01-15</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2019-01-12</lastmod>
|
||||
<lastmod>2019-01-15</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2019-01-12</lastmod>
|
||||
<lastmod>2019-01-15</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2019-01-12</lastmod>
|
||||
<lastmod>2019-01-15</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2019-01-12</lastmod>
|
||||
<lastmod>2019-01-15</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2019-01-12</lastmod>
|
||||
<lastmod>2019-01-15</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2019-01-12</lastmod>
|
||||
<lastmod>2019-01-15</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2019-01-12</lastmod>
|
||||
<lastmod>2019-01-15</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2019-01-12</lastmod>
|
||||
<lastmod>2019-01-15</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2019-01-12</lastmod>
|
||||
<lastmod>2019-01-15</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2019-01-12</lastmod>
|
||||
<lastmod>2019-01-15</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2019-01-12</lastmod>
|
||||
<lastmod>2019-01-15</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2019-01-12</lastmod>
|
||||
<lastmod>2019-01-15</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2019-01-12</lastmod>
|
||||
<lastmod>2019-01-15</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2019-01-12</lastmod>
|
||||
<lastmod>2019-01-15</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2019-01-12</lastmod>
|
||||
<lastmod>2019-01-15</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2019-01-12</lastmod>
|
||||
<lastmod>2019-01-15</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2019-01-12</lastmod>
|
||||
<lastmod>2019-01-15</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2019-01-12</lastmod>
|
||||
<lastmod>2019-01-15</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2019-01-12</lastmod>
|
||||
<lastmod>2019-01-15</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2019-01-12</lastmod>
|
||||
<lastmod>2019-01-15</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2019-01-12</lastmod>
|
||||
<lastmod>2019-01-15</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2019-01-12</lastmod>
|
||||
<lastmod>2019-01-15</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2019-01-12</lastmod>
|
||||
<lastmod>2019-01-15</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2019-01-12</lastmod>
|
||||
<lastmod>2019-01-15</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2019-01-12</lastmod>
|
||||
<lastmod>2019-01-15</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2019-01-12</lastmod>
|
||||
<lastmod>2019-01-15</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2019-01-12</lastmod>
|
||||
<lastmod>2019-01-15</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2019-01-12</lastmod>
|
||||
<lastmod>2019-01-15</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2019-01-12</lastmod>
|
||||
<lastmod>2019-01-15</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2019-01-12</lastmod>
|
||||
<lastmod>2019-01-15</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2019-01-12</lastmod>
|
||||
<lastmod>2019-01-15</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2019-01-12</lastmod>
|
||||
<lastmod>2019-01-15</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2019-01-12</lastmod>
|
||||
<lastmod>2019-01-15</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2019-01-12</lastmod>
|
||||
<lastmod>2019-01-15</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
</urlset>
|
BIN
sitemap.xml.gz
BIN
sitemap.xml.gz
Binary file not shown.
|
@ -3047,7 +3047,7 @@ Same for numbers, like "100".</p>
|
|||
<tr>
|
||||
<td align="left"><a href="#max-worker-connections">max-worker-connections</a></td>
|
||||
<td align="left">int</td>
|
||||
<td align="left">0</td>
|
||||
<td align="left">16384</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left"><a href="#max-worker-open-files">max-worker-open-files</a></td>
|
||||
|
@ -3055,7 +3055,7 @@ Same for numbers, like "100".</p>
|
|||
<td align="left">0</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left"><a href="#max-worker-connections">map-hash-bucket-size</a></td>
|
||||
<td align="left"><a href="#max-hash-bucket-size">map-hash-bucket-size</a></td>
|
||||
<td align="left">int</td>
|
||||
<td align="left">64</td>
|
||||
</tr>
|
||||
|
@ -3620,8 +3620,12 @@ Example for json output:</p>
|
|||
<a href="http://nginx.org/en/docs/ngx_core_module.html#multi_accept">http://nginx.org/en/docs/ngx_core_module.html#multi_accept</a></p>
|
||||
<h2 id="max-worker-connections">max-worker-connections<a class="headerlink" href="#max-worker-connections" title="Permanent link">¶</a></h2>
|
||||
<p>Sets the <a href="http://nginx.org/en/docs/ngx_core_module.html#worker_connections">maximum number of simultaneous connections</a> that can be opened by each worker process.
|
||||
The default of 0 uses the value of <a href="#max-worker-open-files">max-worker-open-files</a>.
|
||||
<em><strong>default:</strong></em> 0</p>
|
||||
0 will use the value of <a href="#max-worker-open-files">max-worker-open-files</a>.
|
||||
<em><strong>default:</strong></em> 16384</p>
|
||||
<div class="admonition tip">
|
||||
<p class="admonition-title">Tip</p>
|
||||
<p>Using 0 in scenarios of high load improves performance at the cost of increasing RAM utilization (even on idle).</p>
|
||||
</div>
|
||||
<h2 id="max-worker-open-files">max-worker-open-files<a class="headerlink" href="#max-worker-open-files" title="Permanent link">¶</a></h2>
|
||||
<p>Sets the <a href="http://nginx.org/en/docs/ngx_core_module.html#worker_rlimit_nofile">maximum number of files</a> that can be opened by each worker process.
|
||||
The default of 0 means "max open files (system's limit) / <a href="#worker-processes">worker-processes</a> - 1024".
|
||||
|
|
Loading…
Reference in a new issue