Add generated code for kubelet flags

This commit is contained in:
derekwaynecarr 2016-09-29 17:53:21 -04:00
parent 36eb79b42b
commit 0071cca51e
6 changed files with 2814 additions and 2747 deletions

View File

@ -56,6 +56,7 @@ cadvisor-port
cert-dir
certificate-authority
cgroup-root
cgroup-driver
cgroups-per-qos
chaos-chance
clean-start

File diff suppressed because it is too large Load Diff

View File

@ -248,6 +248,7 @@ func autoConvert_v1alpha1_KubeletConfiguration_To_componentconfig_KubeletConfigu
if err := api.Convert_Pointer_bool_To_bool(&in.CgroupsPerQOS, &out.CgroupsPerQOS, s); err != nil {
return err
}
out.CgroupDriver = in.CgroupDriver
out.ContainerRuntime = in.ContainerRuntime
out.RemoteRuntimeEndpoint = in.RemoteRuntimeEndpoint
out.RemoteImageEndpoint = in.RemoteImageEndpoint
@ -425,6 +426,7 @@ func autoConvert_componentconfig_KubeletConfiguration_To_v1alpha1_KubeletConfigu
if err := api.Convert_bool_To_Pointer_bool(&in.CgroupsPerQOS, &out.CgroupsPerQOS, s); err != nil {
return err
}
out.CgroupDriver = in.CgroupDriver
out.RuntimeCgroups = in.RuntimeCgroups
out.SystemCgroups = in.SystemCgroups
out.CgroupRoot = in.CgroupRoot

View File

@ -257,6 +257,7 @@ func DeepCopy_v1alpha1_KubeletConfiguration(in interface{}, out interface{}, c *
} else {
out.CgroupsPerQOS = nil
}
out.CgroupDriver = in.CgroupDriver
out.ContainerRuntime = in.ContainerRuntime
out.RemoteRuntimeEndpoint = in.RemoteRuntimeEndpoint
out.RemoteImageEndpoint = in.RemoteImageEndpoint

View File

@ -268,6 +268,7 @@ func DeepCopy_componentconfig_KubeletConfiguration(in interface{}, out interface
out.CloudConfigFile = in.CloudConfigFile
out.KubeletCgroups = in.KubeletCgroups
out.CgroupsPerQOS = in.CgroupsPerQOS
out.CgroupDriver = in.CgroupDriver
out.RuntimeCgroups = in.RuntimeCgroups
out.SystemCgroups = in.SystemCgroups
out.CgroupRoot = in.CgroupRoot

View File

@ -2499,13 +2499,20 @@ var OpenAPIDefinitions *common.OpenAPIDefinitions = &common.OpenAPIDefinitions{
Format: "",
},
},
"CgroupsPerQOS": {
"cgroupsPerQOS": {
SchemaProps: spec.SchemaProps{
Description: "Enable QoS based Cgroup hierarchy: top level cgroups for QoS Classes And all Burstable and BestEffort pods are brought up under their specific top level QoS cgroup.",
Type: []string{"boolean"},
Format: "",
},
},
"cgroupDriver": {
SchemaProps: spec.SchemaProps{
Description: "driver that the kubelet uses to manipulate cgroups on the host (cgroupfs or systemd)",
Type: []string{"string"},
Format: "",
},
},
"runtimeCgroups": {
SchemaProps: spec.SchemaProps{
Description: "Cgroups that container runtime is expected to be isolated in.",
@ -13963,13 +13970,20 @@ var OpenAPIDefinitions *common.OpenAPIDefinitions = &common.OpenAPIDefinitions{
Format: "",
},
},
"CgroupsPerQOS": {
"cgroupsPerQOS": {
SchemaProps: spec.SchemaProps{
Description: "Enable QoS based Cgroup hierarchy: top level cgroups for QoS Classes And all Burstable and BestEffort pods are brought up under their specific top level QoS cgroup.",
Type: []string{"boolean"},
Format: "",
},
},
"cgroupDriver": {
SchemaProps: spec.SchemaProps{
Description: "driver that the kubelet uses to manipulate cgroups on the host (cgroupfs or systemd)",
Type: []string{"string"},
Format: "",
},
},
"containerRuntime": {
SchemaProps: spec.SchemaProps{
Description: "containerRuntime is the container runtime to use.",