mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-14 21:53:52 +00:00
Enable CPU CFS quota by default.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
This commit is contained in:
@@ -73,7 +73,7 @@ func NewKubeletServer() *KubeletServer {
|
|||||||
CgroupRoot: "",
|
CgroupRoot: "",
|
||||||
ConfigureCBR0: false,
|
ConfigureCBR0: false,
|
||||||
ContainerRuntime: "docker",
|
ContainerRuntime: "docker",
|
||||||
CPUCFSQuota: false,
|
CPUCFSQuota: true,
|
||||||
DockerExecHandlerName: "native",
|
DockerExecHandlerName: "native",
|
||||||
EventBurst: 10,
|
EventBurst: 10,
|
||||||
EventRecordQPS: 5.0,
|
EventRecordQPS: 5.0,
|
||||||
|
@@ -489,7 +489,7 @@ func SimpleKubelet(client *client.Client,
|
|||||||
ConfigFile: configFilePath,
|
ConfigFile: configFilePath,
|
||||||
ContainerManager: containerManager,
|
ContainerManager: containerManager,
|
||||||
ContainerRuntime: "docker",
|
ContainerRuntime: "docker",
|
||||||
CPUCFSQuota: false,
|
CPUCFSQuota: true,
|
||||||
DiskSpacePolicy: diskSpacePolicy,
|
DiskSpacePolicy: diskSpacePolicy,
|
||||||
DockerClient: dockerClient,
|
DockerClient: dockerClient,
|
||||||
DockerDaemonContainer: "/docker-daemon",
|
DockerDaemonContainer: "/docker-daemon",
|
||||||
|
@@ -79,7 +79,7 @@ kubelet
|
|||||||
--configure-cbr0[=false]: If true, kubelet will configure cbr0 based on Node.Spec.PodCIDR.
|
--configure-cbr0[=false]: If true, kubelet will configure cbr0 based on Node.Spec.PodCIDR.
|
||||||
--container-runtime="docker": The container runtime to use. Possible values: 'docker', 'rkt'. Default: 'docker'.
|
--container-runtime="docker": The container runtime to use. Possible values: 'docker', 'rkt'. Default: 'docker'.
|
||||||
--containerized[=false]: Experimental support for running kubelet in a container. Intended for testing. [default=false]
|
--containerized[=false]: Experimental support for running kubelet in a container. Intended for testing. [default=false]
|
||||||
--cpu-cfs-quota[=false]: Enable CPU CFS quota enforcement for containers that specify CPU limits
|
--cpu-cfs-quota[=true]: Enable CPU CFS quota enforcement for containers that specify CPU limits
|
||||||
--docker-endpoint="": If non-empty, use this for the docker endpoint to communicate with
|
--docker-endpoint="": If non-empty, use this for the docker endpoint to communicate with
|
||||||
--docker-exec-handler="native": Handler to use when executing a command in a container. Valid values are 'native' and 'nsenter'. Defaults to 'native'.
|
--docker-exec-handler="native": Handler to use when executing a command in a container. Valid values are 'native' and 'nsenter'. Defaults to 'native'.
|
||||||
--enable-debugging-handlers[=true]: Enables server endpoints for log collection and local running of containers and commands
|
--enable-debugging-handlers[=true]: Enables server endpoints for log collection and local running of containers and commands
|
||||||
@@ -145,7 +145,7 @@ kubelet
|
|||||||
--volume-plugin-dir="/usr/libexec/kubernetes/kubelet-plugins/volume/exec/": <Warning: Alpha feature> The full path of the directory in which to search for additional third party volume plugins
|
--volume-plugin-dir="/usr/libexec/kubernetes/kubelet-plugins/volume/exec/": <Warning: Alpha feature> The full path of the directory in which to search for additional third party volume plugins
|
||||||
```
|
```
|
||||||
|
|
||||||
###### Auto generated by spf13/cobra on 15-Jan-2016
|
###### Auto generated by spf13/cobra on 21-Jan-2016
|
||||||
|
|
||||||
|
|
||||||
<!-- BEGIN MUNGE: GENERATED_ANALYTICS -->
|
<!-- BEGIN MUNGE: GENERATED_ANALYTICS -->
|
||||||
|
Reference in New Issue
Block a user