Merge pull request #115424 from songxiao-wang87/runwxs-test11

Make docs more accurate for the contention-profiling flag
This commit is contained in:
Kubernetes Prow Robot 2023-02-01 07:25:20 -08:00 committed by GitHub
commit b1667918bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 8 additions and 8 deletions

View File

@ -53564,7 +53564,7 @@ func schema_k8sio_kube_scheduler_config_v1_KubeSchedulerConfiguration(ref common
}, },
"enableContentionProfiling": { "enableContentionProfiling": {
SchemaProps: spec.SchemaProps{ SchemaProps: spec.SchemaProps{
Description: "enableContentionProfiling enables lock contention profiling, if enableProfiling is true.", Description: "enableContentionProfiling enables block profiling, if enableProfiling is true.",
Type: []string{"boolean"}, Type: []string{"boolean"},
Format: "", Format: "",
}, },
@ -54691,7 +54691,7 @@ func schema_k8sio_kube_scheduler_config_v1beta2_KubeSchedulerConfiguration(ref c
}, },
"enableContentionProfiling": { "enableContentionProfiling": {
SchemaProps: spec.SchemaProps{ SchemaProps: spec.SchemaProps{
Description: "enableContentionProfiling enables lock contention profiling, if enableProfiling is true.", Description: "enableContentionProfiling enables block profiling, if enableProfiling is true.",
Type: []string{"boolean"}, Type: []string{"boolean"},
Format: "", Format: "",
}, },
@ -55797,7 +55797,7 @@ func schema_k8sio_kube_scheduler_config_v1beta3_KubeSchedulerConfiguration(ref c
}, },
"enableContentionProfiling": { "enableContentionProfiling": {
SchemaProps: spec.SchemaProps{ SchemaProps: spec.SchemaProps{
Description: "enableContentionProfiling enables lock contention profiling, if enableProfiling is true.", Description: "enableContentionProfiling enables block profiling, if enableProfiling is true.",
Type: []string{"boolean"}, Type: []string{"boolean"},
Format: "", Format: "",
}, },
@ -57308,7 +57308,7 @@ func schema_k8sio_kubelet_config_v1beta1_KubeletConfiguration(ref common.Referen
}, },
"enableContentionProfiling": { "enableContentionProfiling": {
SchemaProps: spec.SchemaProps{ SchemaProps: spec.SchemaProps{
Description: "enableContentionProfiling enables lock contention profiling, if enableDebuggingHandlers is true. Default: false", Description: "enableContentionProfiling enables block profiling, if enableDebuggingHandlers is true. Default: false",
Type: []string{"boolean"}, Type: []string{"boolean"},
Format: "", Format: "",
}, },

View File

@ -159,7 +159,7 @@ type KubeletConfiguration struct {
// enableDebuggingHandlers enables server endpoints for log collection // enableDebuggingHandlers enables server endpoints for log collection
// and local running of containers and commands // and local running of containers and commands
EnableDebuggingHandlers bool EnableDebuggingHandlers bool
// enableContentionProfiling enables lock contention profiling, if enableDebuggingHandlers is true. // enableContentionProfiling enables block profiling, if enableDebuggingHandlers is true.
EnableContentionProfiling bool EnableContentionProfiling bool
// healthzPort is the port of the localhost healthz endpoint (set to 0 to disable) // healthzPort is the port of the localhost healthz endpoint (set to 0 to disable)
HealthzPort int32 HealthzPort int32

View File

@ -74,7 +74,7 @@ type LeaderElectionConfiguration struct {
type DebuggingConfiguration struct { type DebuggingConfiguration struct {
// enableProfiling enables profiling via web interface host:port/debug/pprof/ // enableProfiling enables profiling via web interface host:port/debug/pprof/
EnableProfiling bool EnableProfiling bool
// enableContentionProfiling enables lock contention profiling, if // enableContentionProfiling enables block profiling, if
// enableProfiling is true. // enableProfiling is true.
EnableContentionProfiling bool EnableContentionProfiling bool
} }

View File

@ -60,7 +60,7 @@ type LeaderElectionConfiguration struct {
type DebuggingConfiguration struct { type DebuggingConfiguration struct {
// enableProfiling enables profiling via web interface host:port/debug/pprof/ // enableProfiling enables profiling via web interface host:port/debug/pprof/
EnableProfiling *bool `json:"enableProfiling,omitempty"` EnableProfiling *bool `json:"enableProfiling,omitempty"`
// enableContentionProfiling enables lock contention profiling, if // enableContentionProfiling enables block profiling, if
// enableProfiling is true. // enableProfiling is true.
EnableContentionProfiling *bool `json:"enableContentionProfiling,omitempty"` EnableContentionProfiling *bool `json:"enableContentionProfiling,omitempty"`
} }

View File

@ -221,7 +221,7 @@ type KubeletConfiguration struct {
// Default: true // Default: true
// +optional // +optional
EnableDebuggingHandlers *bool `json:"enableDebuggingHandlers,omitempty"` EnableDebuggingHandlers *bool `json:"enableDebuggingHandlers,omitempty"`
// enableContentionProfiling enables lock contention profiling, if enableDebuggingHandlers is true. // enableContentionProfiling enables block profiling, if enableDebuggingHandlers is true.
// Default: false // Default: false
// +optional // +optional
EnableContentionProfiling bool `json:"enableContentionProfiling,omitempty"` EnableContentionProfiling bool `json:"enableContentionProfiling,omitempty"`