Merge pull request #40917 from tengqm/tune-kubelet-config

Manually tune kubelet configuration reference
This commit is contained in:
Kubernetes Prow Robot 2023-05-07 17:23:17 -07:00 committed by GitHub
commit c7369d7de9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 22 additions and 21 deletions

View File

@ -81,9 +81,9 @@ to provide credentials. Images are expected to contain the registry domain
and URL path.</p> and URL path.</p>
<p>Each entry in matchImages is a pattern which can optionally contain a port and a path. <p>Each entry in matchImages is a pattern which can optionally contain a port and a path.
Globs can be used in the domain, but not in the port or the path. Globs are supported Globs can be used in the domain, but not in the port or the path. Globs are supported
as subdomains like '<em>.k8s.io' or 'k8s.</em>.io', and top-level-domains such as 'k8s.<em>'. as subdomains like '&#42;.k8s.io' or 'k8s.&#42;.io', and top-level-domains such as 'k8s.&#42;'.
Matching partial subdomains like 'app</em>.k8s.io' is also supported. Each glob can only match Matching partial subdomains like 'app&#42;.k8s.io' is also supported. Each glob can only match
a single subdomain segment, so *.io does not match *.k8s.io.</p> a single subdomain segment, so &#42;.io does not match &#42;.k8s.io.</p>
<p>A match exists between an image and a matchImage when all of the below are true:</p> <p>A match exists between an image and a matchImage when all of the below are true:</p>
<ul> <ul>
<li>Both contain the same number of domain parts and each part matches.</li> <li>Both contain the same number of domain parts and each part matches.</li>
@ -93,9 +93,9 @@ a single subdomain segment, so *.io does not match *.k8s.io.</p>
<p>Example values of matchImages:</p> <p>Example values of matchImages:</p>
<ul> <ul>
<li>123456789.dkr.ecr.us-east-1.amazonaws.com</li> <li>123456789.dkr.ecr.us-east-1.amazonaws.com</li>
<li>*.azurecr.io</li> <li>&#42;.azurecr.io</li>
<li>gcr.io</li> <li>gcr.io</li>
<li><em>.</em>.registry.io</li> <li>&#42;.registry.io</li>
<li>registry.io:8080/path</li> <li>registry.io:8080/path</li>
</ul> </ul>
</td> </td>
@ -169,4 +169,4 @@ credential plugin.</p>
</tr> </tr>
</tbody> </tbody>
</table> </table>

View File

@ -214,13 +214,15 @@ Default: false</p>
<a href="#kubelet-config-k8s-io-v1beta1-KubeletAuthentication"><code>KubeletAuthentication</code></a> <a href="#kubelet-config-k8s-io-v1beta1-KubeletAuthentication"><code>KubeletAuthentication</code></a>
</td> </td>
<td> <td>
<p>authentication specifies how requests to the Kubelet's server are authenticated. <p>authentication specifies how requests to the Kubelet's server are authenticated.</p>
Defaults: <p>Defaults:</p>
<p><code><pre>
anonymous: anonymous:
enabled: false enabled: false
webhook: webhook:
enabled: true enabled: true
cacheTTL: &quot;2m&quot;</p> cacheTTL: &quot;2m&quot;
</pre></code></p>
</td> </td>
</tr> </tr>
<tr><td><code>authorization</code><br/> <tr><td><code>authorization</code><br/>
@ -483,7 +485,7 @@ Default: &quot;cgroupfs&quot;</p>
<td> <td>
<p>cpuManagerPolicy is the name of the policy to use. <p>cpuManagerPolicy is the name of the policy to use.
Requires the CPUManager feature gate to be enabled. Requires the CPUManager feature gate to be enabled.
Default: &quot;None&quot;</p> Default: &quot;none&quot;</p>
</td> </td>
</tr> </tr>
<tr><td><code>cpuManagerPolicyOptions</code><br/> <tr><td><code>cpuManagerPolicyOptions</code><br/>
@ -501,7 +503,6 @@ Default: nil</p>
</td> </td>
<td> <td>
<p>cpuManagerReconcilePeriod is the reconciliation period for the CPU Manager. <p>cpuManagerReconcilePeriod is the reconciliation period for the CPU Manager.
Requires the CPUManager feature gate to be enabled.
Default: &quot;10s&quot;</p> Default: &quot;10s&quot;</p>
</td> </td>
</tr> </tr>
@ -997,9 +998,9 @@ Default: [&quot;pods&quot;]</p>
<code>[]string</code> <code>[]string</code>
</td> </td>
<td> <td>
<p>A comma separated whitelist of unsafe sysctls or sysctl patterns (ending in <code>*</code>). <p>A comma separated whitelist of unsafe sysctls or sysctl patterns (ending in <code>&#42;</code>).
Unsafe sysctl groups are <code>kernel.shm*</code>, <code>kernel.msg*</code>, <code>kernel.sem</code>, <code>fs.mqueue.*</code>, Unsafe sysctl groups are <code>kernel.shm&#42;</code>, <code>kernel.msg&#42;</code>, <code>kernel.sem</code>, <code>fs.mqueue.&#42;</code>,
and <code>net.*</code>. For example: &quot;<code>kernel.msg*,net.ipv4.route.min_pmtu</code>&quot; and <code>net.&#42;</code>. For example: &quot;<code>kernel.msg&#42;,net.ipv4.route.min_pmtu</code>&quot;
Default: []</p> Default: []</p>
</td> </td>
</tr> </tr>
@ -1302,9 +1303,9 @@ to provide credentials. Images are expected to contain the registry domain
and URL path.</p> and URL path.</p>
<p>Each entry in matchImages is a pattern which can optionally contain a port and a path. <p>Each entry in matchImages is a pattern which can optionally contain a port and a path.
Globs can be used in the domain, but not in the port or the path. Globs are supported Globs can be used in the domain, but not in the port or the path. Globs are supported
as subdomains like '<em>.k8s.io' or 'k8s.</em>.io', and top-level-domains such as 'k8s.<em>'. as subdomains like '&#42;.k8s.io' or 'k8s.&#42;.io', and top-level-domains such as 'k8s.&#42;'.
Matching partial subdomains like 'app</em>.k8s.io' is also supported. Each glob can only match Matching partial subdomains like 'app&#42;.k8s.io' is also supported. Each glob can only match
a single subdomain segment, so *.io does not match *.k8s.io.</p> a single subdomain segment, so &#42;.io does not match &#42;.k8s.io.</p>
<p>A match exists between an image and a matchImage when all of the below are true:</p> <p>A match exists between an image and a matchImage when all of the below are true:</p>
<ul> <ul>
<li>Both contain the same number of domain parts and each part matches.</li> <li>Both contain the same number of domain parts and each part matches.</li>
@ -1314,9 +1315,9 @@ a single subdomain segment, so *.io does not match *.k8s.io.</p>
<p>Example values of matchImages:</p> <p>Example values of matchImages:</p>
<ul> <ul>
<li>123456789.dkr.ecr.us-east-1.amazonaws.com</li> <li>123456789.dkr.ecr.us-east-1.amazonaws.com</li>
<li>*.azurecr.io</li> <li>&#42;.azurecr.io</li>
<li>gcr.io</li> <li>gcr.io</li>
<li><em>.</em>.registry.io</li> <li>&#42;.registry.io</li>
<li>registry.io:8080/path</li> <li>registry.io:8080/path</li>
</ul> </ul>
</td> </td>