diff --git a/config/v1/0000_10_config-operator_01_node.crd.yaml b/config/v1/0000_10_config-operator_01_node.crd.yaml index a4ef368c2c2..a6268ee44b7 100644 --- a/config/v1/0000_10_config-operator_01_node.crd.yaml +++ b/config/v1/0000_10_config-operator_01_node.crd.yaml @@ -43,6 +43,9 @@ spec: - v1 - v2 - "" + eventedPleg: + description: EventedPleg enables event based PLEG between the kubelet and the CRI-O + type: boolean workerLatencyProfile: description: WorkerLatencyProfile determins the how fast the kubelet is updating the status and corresponding reaction of the cluster type: string diff --git a/config/v1/types_node.go b/config/v1/types_node.go index 233c89d9cc2..b618f74b323 100644 --- a/config/v1/types_node.go +++ b/config/v1/types_node.go @@ -42,6 +42,10 @@ type NodeSpec struct { // the status and corresponding reaction of the cluster // +optional WorkerLatencyProfile WorkerLatencyProfileType `json:"workerLatencyProfile,omitempty"` + + // EventedPleg enables event based PLEG between the kubelet and the CRI-O + // +optional + EventedPleg *bool `json:"eventedPleg,omitempty"` } type NodeStatus struct{} diff --git a/config/v1/zz_generated.swagger_doc_generated.go b/config/v1/zz_generated.swagger_doc_generated.go index 179d921e15d..6e7337c423b 100644 --- a/config/v1/zz_generated.swagger_doc_generated.go +++ b/config/v1/zz_generated.swagger_doc_generated.go @@ -1813,6 +1813,7 @@ func (NodeList) SwaggerDoc() map[string]string { var map_NodeSpec = map[string]string{ "cgroupMode": "CgroupMode determines the cgroups version on the node", "workerLatencyProfile": "WorkerLatencyProfile determins the how fast the kubelet is updating the status and corresponding reaction of the cluster", + "eventedPleg": "EventedPleg enables event based PLEG between the kubelet and the CRI-O", } func (NodeSpec) SwaggerDoc() map[string]string { diff --git a/openapi/generated_openapi/zz_generated.openapi.go b/openapi/generated_openapi/zz_generated.openapi.go index 93a38b93c66..fc342e8ae3a 100644 --- a/openapi/generated_openapi/zz_generated.openapi.go +++ b/openapi/generated_openapi/zz_generated.openapi.go @@ -14558,6 +14558,13 @@ func schema_openshift_api_config_v1_NodeSpec(ref common.ReferenceCallback) commo Format: "", }, }, + "eventedPleg": { + SchemaProps: spec.SchemaProps{ + Description: "EventedPleg enables event based PLEG between the kubelet and the CRI-O", + Type: []string{"boolean"}, + Format: "", + }, + }, }, }, }, diff --git a/openapi/openapi.json b/openapi/openapi.json index 92d64de3dbb..03902caccef 100644 --- a/openapi/openapi.json +++ b/openapi/openapi.json @@ -7849,6 +7849,10 @@ "description": "CgroupMode determines the cgroups version on the node", "type": "string" }, + "eventedPleg": { + "description": "EventedPleg enables event based PLEG between the kubelet and the CRI-O", + "type": "boolean" + }, "workerLatencyProfile": { "description": "WorkerLatencyProfile determins the how fast the kubelet is updating the status and corresponding reaction of the cluster", "type": "string"