mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 23:47:50 +00:00
Make container runtime's cgroup configurable.
Use the real cgroups for metrics generation. Signed-off-by: Vishnu kannan <vishnuk@google.com>
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -304,6 +304,8 @@ type KubeletConfiguration struct {
|
||||
NonMasqueradeCIDR string `json:"nonMasqueradeCIDR"`
|
||||
// enable gathering custom metrics.
|
||||
EnableCustomMetrics bool `json:"enableCustomMetrics"`
|
||||
// The cgroup that container runtime is expected to be isolated in.
|
||||
RuntimeContainer string `json:"runtimeContainer,omitempty"`
|
||||
}
|
||||
|
||||
type KubeSchedulerConfiguration struct {
|
||||
|
||||
Reference in New Issue
Block a user