From 07f1fbedc28fa15e85a26571f3943a871e320dce Mon Sep 17 00:00:00 2001 From: Ben Perry Date: Wed, 22 Apr 2026 17:03:37 -0500 Subject: [PATCH] NodeUID in status to detect replaced node with same name --- openapi/generated_openapi/zz_generated.openapi.go | 7 +++++++ openapi/openapi.json | 4 ++++ operator/v1/types.go | 7 +++++++ .../0000_12_etcd_01_etcds-CustomNoUpgrade.crd.yaml | 6 ++++++ .../0000_12_etcd_01_etcds-Default.crd.yaml | 6 ++++++ .../0000_12_etcd_01_etcds-DevPreviewNoUpgrade.crd.yaml | 6 ++++++ .../0000_12_etcd_01_etcds-OKD.crd.yaml | 6 ++++++ .../0000_12_etcd_01_etcds-TechPreviewNoUpgrade.crd.yaml | 6 ++++++ .../0000_20_kube-apiserver_01_kubeapiservers.crd.yaml | 6 ++++++ ...e-controller-manager_01_kubecontrollermanagers.crd.yaml | 6 ++++++ .../0000_25_kube-scheduler_01_kubeschedulers.crd.yaml | 6 ++++++ .../etcds.operator.openshift.io/AAA_ungated.yaml | 6 ++++++ .../etcds.operator.openshift.io/EtcdBackendQuota.yaml | 6 ++++++ .../kubeapiservers.operator.openshift.io/AAA_ungated.yaml | 6 ++++++ .../kubeapiservers.operator.openshift.io/EventTTL.yaml | 6 ++++++ .../AAA_ungated.yaml | 6 ++++++ .../kubeschedulers.operator.openshift.io/AAA_ungated.yaml | 6 ++++++ operator/v1/zz_generated.swagger_doc_generated.go | 1 + .../crds/0000_12_etcd_01_etcds-CustomNoUpgrade.crd.yaml | 6 ++++++ .../crds/0000_12_etcd_01_etcds-Default.crd.yaml | 6 ++++++ .../0000_12_etcd_01_etcds-DevPreviewNoUpgrade.crd.yaml | 6 ++++++ payload-manifests/crds/0000_12_etcd_01_etcds-OKD.crd.yaml | 6 ++++++ .../0000_12_etcd_01_etcds-TechPreviewNoUpgrade.crd.yaml | 6 ++++++ .../crds/0000_20_kube-apiserver_01_kubeapiservers.crd.yaml | 6 ++++++ ...e-controller-manager_01_kubecontrollermanagers.crd.yaml | 6 ++++++ .../crds/0000_25_kube-scheduler_01_kubeschedulers.crd.yaml | 6 ++++++ 26 files changed, 151 insertions(+) diff --git a/openapi/generated_openapi/zz_generated.openapi.go b/openapi/generated_openapi/zz_generated.openapi.go index cfb28e09d25..9ca60688763 100644 --- a/openapi/generated_openapi/zz_generated.openapi.go +++ b/openapi/generated_openapi/zz_generated.openapi.go @@ -60485,6 +60485,13 @@ func schema_openshift_api_operator_v1_NodeStatus(ref common.ReferenceCallback) c Format: "", }, }, + "nodeUID": { + SchemaProps: spec.SchemaProps{ + Description: "nodeUID is the UID of the node. This field is used to detect that a node has been deleted and recreated with the same name. When the UID changes, it indicates the node is a new instance and the status should be reset.", + Type: []string{"string"}, + Format: "", + }, + }, "currentRevision": { SchemaProps: spec.SchemaProps{ Description: "currentRevision is the generation of the most recently successful deployment. Can not be set on creation of a nodeStatus. Updates must only increase the value.", diff --git a/openapi/openapi.json b/openapi/openapi.json index 5311926e17c..a9dbb245681 100644 --- a/openapi/openapi.json +++ b/openapi/openapi.json @@ -46737,6 +46737,10 @@ "type": "string", "default": "" }, + "nodeUID": { + "description": "nodeUID is the UID of the node. This field is used to detect that a node has been deleted and recreated with the same name. When the UID changes, it indicates the node is a new instance and the status should be reset.", + "type": "string" + }, "targetRevision": { "description": "targetRevision is the generation of the deployment we're trying to apply. Can not be set on creation of a nodeStatus.", "type": "integer", diff --git a/operator/v1/types.go b/operator/v1/types.go index 3a2141abb98..5e4e49dafc2 100644 --- a/operator/v1/types.go +++ b/operator/v1/types.go @@ -3,6 +3,7 @@ package v1 import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/types" ) // MyOperatorResource is an example operator configuration type @@ -266,6 +267,12 @@ type NodeStatus struct { // +required NodeName string `json:"nodeName"` + // nodeUID is the UID of the node. + // This field is used to detect that a node has been deleted and recreated with the same name. + // When the UID changes, it indicates the node is a new instance and the status should be reset. + // +optional + NodeUID types.UID `json:"nodeUID,omitempty"` + // currentRevision is the generation of the most recently successful deployment. // Can not be set on creation of a nodeStatus. Updates must only increase the value. // +kubebuilder:validation:XValidation:rule="self >= oldSelf",message="must only increase" diff --git a/operator/v1/zz_generated.crd-manifests/0000_12_etcd_01_etcds-CustomNoUpgrade.crd.yaml b/operator/v1/zz_generated.crd-manifests/0000_12_etcd_01_etcds-CustomNoUpgrade.crd.yaml index 1f58ced4e0f..379079d89d2 100644 --- a/operator/v1/zz_generated.crd-manifests/0000_12_etcd_01_etcds-CustomNoUpgrade.crd.yaml +++ b/operator/v1/zz_generated.crd-manifests/0000_12_etcd_01_etcds-CustomNoUpgrade.crd.yaml @@ -292,6 +292,12 @@ spec: nodeName: description: nodeName is the name of the node type: string + nodeUID: + description: |- + nodeUID is the UID of the node. + This field is used to detect that a node has been deleted and recreated with the same name. + When the UID changes, it indicates the node is a new instance and the status should be reset. + type: string targetRevision: description: |- targetRevision is the generation of the deployment we're trying to apply. diff --git a/operator/v1/zz_generated.crd-manifests/0000_12_etcd_01_etcds-Default.crd.yaml b/operator/v1/zz_generated.crd-manifests/0000_12_etcd_01_etcds-Default.crd.yaml index 23e6bdc63f2..33de983372e 100644 --- a/operator/v1/zz_generated.crd-manifests/0000_12_etcd_01_etcds-Default.crd.yaml +++ b/operator/v1/zz_generated.crd-manifests/0000_12_etcd_01_etcds-Default.crd.yaml @@ -279,6 +279,12 @@ spec: nodeName: description: nodeName is the name of the node type: string + nodeUID: + description: |- + nodeUID is the UID of the node. + This field is used to detect that a node has been deleted and recreated with the same name. + When the UID changes, it indicates the node is a new instance and the status should be reset. + type: string targetRevision: description: |- targetRevision is the generation of the deployment we're trying to apply. diff --git a/operator/v1/zz_generated.crd-manifests/0000_12_etcd_01_etcds-DevPreviewNoUpgrade.crd.yaml b/operator/v1/zz_generated.crd-manifests/0000_12_etcd_01_etcds-DevPreviewNoUpgrade.crd.yaml index 76d63711f7f..a58e0f13e87 100644 --- a/operator/v1/zz_generated.crd-manifests/0000_12_etcd_01_etcds-DevPreviewNoUpgrade.crd.yaml +++ b/operator/v1/zz_generated.crd-manifests/0000_12_etcd_01_etcds-DevPreviewNoUpgrade.crd.yaml @@ -292,6 +292,12 @@ spec: nodeName: description: nodeName is the name of the node type: string + nodeUID: + description: |- + nodeUID is the UID of the node. + This field is used to detect that a node has been deleted and recreated with the same name. + When the UID changes, it indicates the node is a new instance and the status should be reset. + type: string targetRevision: description: |- targetRevision is the generation of the deployment we're trying to apply. diff --git a/operator/v1/zz_generated.crd-manifests/0000_12_etcd_01_etcds-OKD.crd.yaml b/operator/v1/zz_generated.crd-manifests/0000_12_etcd_01_etcds-OKD.crd.yaml index b1ad9fc093b..ec199c6f5ad 100644 --- a/operator/v1/zz_generated.crd-manifests/0000_12_etcd_01_etcds-OKD.crd.yaml +++ b/operator/v1/zz_generated.crd-manifests/0000_12_etcd_01_etcds-OKD.crd.yaml @@ -279,6 +279,12 @@ spec: nodeName: description: nodeName is the name of the node type: string + nodeUID: + description: |- + nodeUID is the UID of the node. + This field is used to detect that a node has been deleted and recreated with the same name. + When the UID changes, it indicates the node is a new instance and the status should be reset. + type: string targetRevision: description: |- targetRevision is the generation of the deployment we're trying to apply. diff --git a/operator/v1/zz_generated.crd-manifests/0000_12_etcd_01_etcds-TechPreviewNoUpgrade.crd.yaml b/operator/v1/zz_generated.crd-manifests/0000_12_etcd_01_etcds-TechPreviewNoUpgrade.crd.yaml index 7433b66d363..51f22266389 100644 --- a/operator/v1/zz_generated.crd-manifests/0000_12_etcd_01_etcds-TechPreviewNoUpgrade.crd.yaml +++ b/operator/v1/zz_generated.crd-manifests/0000_12_etcd_01_etcds-TechPreviewNoUpgrade.crd.yaml @@ -292,6 +292,12 @@ spec: nodeName: description: nodeName is the name of the node type: string + nodeUID: + description: |- + nodeUID is the UID of the node. + This field is used to detect that a node has been deleted and recreated with the same name. + When the UID changes, it indicates the node is a new instance and the status should be reset. + type: string targetRevision: description: |- targetRevision is the generation of the deployment we're trying to apply. diff --git a/operator/v1/zz_generated.crd-manifests/0000_20_kube-apiserver_01_kubeapiservers.crd.yaml b/operator/v1/zz_generated.crd-manifests/0000_20_kube-apiserver_01_kubeapiservers.crd.yaml index 6d2d44026a4..73bc8626803 100644 --- a/operator/v1/zz_generated.crd-manifests/0000_20_kube-apiserver_01_kubeapiservers.crd.yaml +++ b/operator/v1/zz_generated.crd-manifests/0000_20_kube-apiserver_01_kubeapiservers.crd.yaml @@ -275,6 +275,12 @@ spec: nodeName: description: nodeName is the name of the node type: string + nodeUID: + description: |- + nodeUID is the UID of the node. + This field is used to detect that a node has been deleted and recreated with the same name. + When the UID changes, it indicates the node is a new instance and the status should be reset. + type: string targetRevision: description: |- targetRevision is the generation of the deployment we're trying to apply. diff --git a/operator/v1/zz_generated.crd-manifests/0000_25_kube-controller-manager_01_kubecontrollermanagers.crd.yaml b/operator/v1/zz_generated.crd-manifests/0000_25_kube-controller-manager_01_kubecontrollermanagers.crd.yaml index 72bb37b7629..34a2e39bf59 100644 --- a/operator/v1/zz_generated.crd-manifests/0000_25_kube-controller-manager_01_kubecontrollermanagers.crd.yaml +++ b/operator/v1/zz_generated.crd-manifests/0000_25_kube-controller-manager_01_kubecontrollermanagers.crd.yaml @@ -270,6 +270,12 @@ spec: nodeName: description: nodeName is the name of the node type: string + nodeUID: + description: |- + nodeUID is the UID of the node. + This field is used to detect that a node has been deleted and recreated with the same name. + When the UID changes, it indicates the node is a new instance and the status should be reset. + type: string targetRevision: description: |- targetRevision is the generation of the deployment we're trying to apply. diff --git a/operator/v1/zz_generated.crd-manifests/0000_25_kube-scheduler_01_kubeschedulers.crd.yaml b/operator/v1/zz_generated.crd-manifests/0000_25_kube-scheduler_01_kubeschedulers.crd.yaml index e59fedb33eb..a41701a8c22 100644 --- a/operator/v1/zz_generated.crd-manifests/0000_25_kube-scheduler_01_kubeschedulers.crd.yaml +++ b/operator/v1/zz_generated.crd-manifests/0000_25_kube-scheduler_01_kubeschedulers.crd.yaml @@ -261,6 +261,12 @@ spec: nodeName: description: nodeName is the name of the node type: string + nodeUID: + description: |- + nodeUID is the UID of the node. + This field is used to detect that a node has been deleted and recreated with the same name. + When the UID changes, it indicates the node is a new instance and the status should be reset. + type: string targetRevision: description: |- targetRevision is the generation of the deployment we're trying to apply. diff --git a/operator/v1/zz_generated.featuregated-crd-manifests/etcds.operator.openshift.io/AAA_ungated.yaml b/operator/v1/zz_generated.featuregated-crd-manifests/etcds.operator.openshift.io/AAA_ungated.yaml index e05ab22872e..15b5f8f267b 100644 --- a/operator/v1/zz_generated.featuregated-crd-manifests/etcds.operator.openshift.io/AAA_ungated.yaml +++ b/operator/v1/zz_generated.featuregated-crd-manifests/etcds.operator.openshift.io/AAA_ungated.yaml @@ -279,6 +279,12 @@ spec: nodeName: description: nodeName is the name of the node type: string + nodeUID: + description: |- + nodeUID is the UID of the node. + This field is used to detect that a node has been deleted and recreated with the same name. + When the UID changes, it indicates the node is a new instance and the status should be reset. + type: string targetRevision: description: |- targetRevision is the generation of the deployment we're trying to apply. diff --git a/operator/v1/zz_generated.featuregated-crd-manifests/etcds.operator.openshift.io/EtcdBackendQuota.yaml b/operator/v1/zz_generated.featuregated-crd-manifests/etcds.operator.openshift.io/EtcdBackendQuota.yaml index 1b4e03d39f6..c744d6c778d 100644 --- a/operator/v1/zz_generated.featuregated-crd-manifests/etcds.operator.openshift.io/EtcdBackendQuota.yaml +++ b/operator/v1/zz_generated.featuregated-crd-manifests/etcds.operator.openshift.io/EtcdBackendQuota.yaml @@ -292,6 +292,12 @@ spec: nodeName: description: nodeName is the name of the node type: string + nodeUID: + description: |- + nodeUID is the UID of the node. + This field is used to detect that a node has been deleted and recreated with the same name. + When the UID changes, it indicates the node is a new instance and the status should be reset. + type: string targetRevision: description: |- targetRevision is the generation of the deployment we're trying to apply. diff --git a/operator/v1/zz_generated.featuregated-crd-manifests/kubeapiservers.operator.openshift.io/AAA_ungated.yaml b/operator/v1/zz_generated.featuregated-crd-manifests/kubeapiservers.operator.openshift.io/AAA_ungated.yaml index b4be3ef9ebd..f15cff624b3 100644 --- a/operator/v1/zz_generated.featuregated-crd-manifests/kubeapiservers.operator.openshift.io/AAA_ungated.yaml +++ b/operator/v1/zz_generated.featuregated-crd-manifests/kubeapiservers.operator.openshift.io/AAA_ungated.yaml @@ -262,6 +262,12 @@ spec: nodeName: description: nodeName is the name of the node type: string + nodeUID: + description: |- + nodeUID is the UID of the node. + This field is used to detect that a node has been deleted and recreated with the same name. + When the UID changes, it indicates the node is a new instance and the status should be reset. + type: string targetRevision: description: |- targetRevision is the generation of the deployment we're trying to apply. diff --git a/operator/v1/zz_generated.featuregated-crd-manifests/kubeapiservers.operator.openshift.io/EventTTL.yaml b/operator/v1/zz_generated.featuregated-crd-manifests/kubeapiservers.operator.openshift.io/EventTTL.yaml index 959f93828ba..a3fba3bc60a 100644 --- a/operator/v1/zz_generated.featuregated-crd-manifests/kubeapiservers.operator.openshift.io/EventTTL.yaml +++ b/operator/v1/zz_generated.featuregated-crd-manifests/kubeapiservers.operator.openshift.io/EventTTL.yaml @@ -276,6 +276,12 @@ spec: nodeName: description: nodeName is the name of the node type: string + nodeUID: + description: |- + nodeUID is the UID of the node. + This field is used to detect that a node has been deleted and recreated with the same name. + When the UID changes, it indicates the node is a new instance and the status should be reset. + type: string targetRevision: description: |- targetRevision is the generation of the deployment we're trying to apply. diff --git a/operator/v1/zz_generated.featuregated-crd-manifests/kubecontrollermanagers.operator.openshift.io/AAA_ungated.yaml b/operator/v1/zz_generated.featuregated-crd-manifests/kubecontrollermanagers.operator.openshift.io/AAA_ungated.yaml index 5ed649c8710..3cf1bad2ea4 100644 --- a/operator/v1/zz_generated.featuregated-crd-manifests/kubecontrollermanagers.operator.openshift.io/AAA_ungated.yaml +++ b/operator/v1/zz_generated.featuregated-crd-manifests/kubecontrollermanagers.operator.openshift.io/AAA_ungated.yaml @@ -271,6 +271,12 @@ spec: nodeName: description: nodeName is the name of the node type: string + nodeUID: + description: |- + nodeUID is the UID of the node. + This field is used to detect that a node has been deleted and recreated with the same name. + When the UID changes, it indicates the node is a new instance and the status should be reset. + type: string targetRevision: description: |- targetRevision is the generation of the deployment we're trying to apply. diff --git a/operator/v1/zz_generated.featuregated-crd-manifests/kubeschedulers.operator.openshift.io/AAA_ungated.yaml b/operator/v1/zz_generated.featuregated-crd-manifests/kubeschedulers.operator.openshift.io/AAA_ungated.yaml index dfa1b2c021f..493902647d4 100644 --- a/operator/v1/zz_generated.featuregated-crd-manifests/kubeschedulers.operator.openshift.io/AAA_ungated.yaml +++ b/operator/v1/zz_generated.featuregated-crd-manifests/kubeschedulers.operator.openshift.io/AAA_ungated.yaml @@ -262,6 +262,12 @@ spec: nodeName: description: nodeName is the name of the node type: string + nodeUID: + description: |- + nodeUID is the UID of the node. + This field is used to detect that a node has been deleted and recreated with the same name. + When the UID changes, it indicates the node is a new instance and the status should be reset. + type: string targetRevision: description: |- targetRevision is the generation of the deployment we're trying to apply. diff --git a/operator/v1/zz_generated.swagger_doc_generated.go b/operator/v1/zz_generated.swagger_doc_generated.go index c3ed726028d..262d2dd8818 100644 --- a/operator/v1/zz_generated.swagger_doc_generated.go +++ b/operator/v1/zz_generated.swagger_doc_generated.go @@ -37,6 +37,7 @@ func (MyOperatorResource) SwaggerDoc() map[string]string { var map_NodeStatus = map[string]string{ "": "NodeStatus provides information about the current state of a particular node managed by this operator.", "nodeName": "nodeName is the name of the node", + "nodeUID": "nodeUID is the UID of the node. This field is used to detect that a node has been deleted and recreated with the same name. When the UID changes, it indicates the node is a new instance and the status should be reset.", "currentRevision": "currentRevision is the generation of the most recently successful deployment. Can not be set on creation of a nodeStatus. Updates must only increase the value.", "targetRevision": "targetRevision is the generation of the deployment we're trying to apply. Can not be set on creation of a nodeStatus.", "lastFailedRevision": "lastFailedRevision is the generation of the deployment we tried and failed to deploy.", diff --git a/payload-manifests/crds/0000_12_etcd_01_etcds-CustomNoUpgrade.crd.yaml b/payload-manifests/crds/0000_12_etcd_01_etcds-CustomNoUpgrade.crd.yaml index 1f58ced4e0f..379079d89d2 100644 --- a/payload-manifests/crds/0000_12_etcd_01_etcds-CustomNoUpgrade.crd.yaml +++ b/payload-manifests/crds/0000_12_etcd_01_etcds-CustomNoUpgrade.crd.yaml @@ -292,6 +292,12 @@ spec: nodeName: description: nodeName is the name of the node type: string + nodeUID: + description: |- + nodeUID is the UID of the node. + This field is used to detect that a node has been deleted and recreated with the same name. + When the UID changes, it indicates the node is a new instance and the status should be reset. + type: string targetRevision: description: |- targetRevision is the generation of the deployment we're trying to apply. diff --git a/payload-manifests/crds/0000_12_etcd_01_etcds-Default.crd.yaml b/payload-manifests/crds/0000_12_etcd_01_etcds-Default.crd.yaml index 23e6bdc63f2..33de983372e 100644 --- a/payload-manifests/crds/0000_12_etcd_01_etcds-Default.crd.yaml +++ b/payload-manifests/crds/0000_12_etcd_01_etcds-Default.crd.yaml @@ -279,6 +279,12 @@ spec: nodeName: description: nodeName is the name of the node type: string + nodeUID: + description: |- + nodeUID is the UID of the node. + This field is used to detect that a node has been deleted and recreated with the same name. + When the UID changes, it indicates the node is a new instance and the status should be reset. + type: string targetRevision: description: |- targetRevision is the generation of the deployment we're trying to apply. diff --git a/payload-manifests/crds/0000_12_etcd_01_etcds-DevPreviewNoUpgrade.crd.yaml b/payload-manifests/crds/0000_12_etcd_01_etcds-DevPreviewNoUpgrade.crd.yaml index 76d63711f7f..a58e0f13e87 100644 --- a/payload-manifests/crds/0000_12_etcd_01_etcds-DevPreviewNoUpgrade.crd.yaml +++ b/payload-manifests/crds/0000_12_etcd_01_etcds-DevPreviewNoUpgrade.crd.yaml @@ -292,6 +292,12 @@ spec: nodeName: description: nodeName is the name of the node type: string + nodeUID: + description: |- + nodeUID is the UID of the node. + This field is used to detect that a node has been deleted and recreated with the same name. + When the UID changes, it indicates the node is a new instance and the status should be reset. + type: string targetRevision: description: |- targetRevision is the generation of the deployment we're trying to apply. diff --git a/payload-manifests/crds/0000_12_etcd_01_etcds-OKD.crd.yaml b/payload-manifests/crds/0000_12_etcd_01_etcds-OKD.crd.yaml index b1ad9fc093b..ec199c6f5ad 100644 --- a/payload-manifests/crds/0000_12_etcd_01_etcds-OKD.crd.yaml +++ b/payload-manifests/crds/0000_12_etcd_01_etcds-OKD.crd.yaml @@ -279,6 +279,12 @@ spec: nodeName: description: nodeName is the name of the node type: string + nodeUID: + description: |- + nodeUID is the UID of the node. + This field is used to detect that a node has been deleted and recreated with the same name. + When the UID changes, it indicates the node is a new instance and the status should be reset. + type: string targetRevision: description: |- targetRevision is the generation of the deployment we're trying to apply. diff --git a/payload-manifests/crds/0000_12_etcd_01_etcds-TechPreviewNoUpgrade.crd.yaml b/payload-manifests/crds/0000_12_etcd_01_etcds-TechPreviewNoUpgrade.crd.yaml index 7433b66d363..51f22266389 100644 --- a/payload-manifests/crds/0000_12_etcd_01_etcds-TechPreviewNoUpgrade.crd.yaml +++ b/payload-manifests/crds/0000_12_etcd_01_etcds-TechPreviewNoUpgrade.crd.yaml @@ -292,6 +292,12 @@ spec: nodeName: description: nodeName is the name of the node type: string + nodeUID: + description: |- + nodeUID is the UID of the node. + This field is used to detect that a node has been deleted and recreated with the same name. + When the UID changes, it indicates the node is a new instance and the status should be reset. + type: string targetRevision: description: |- targetRevision is the generation of the deployment we're trying to apply. diff --git a/payload-manifests/crds/0000_20_kube-apiserver_01_kubeapiservers.crd.yaml b/payload-manifests/crds/0000_20_kube-apiserver_01_kubeapiservers.crd.yaml index 6d2d44026a4..73bc8626803 100644 --- a/payload-manifests/crds/0000_20_kube-apiserver_01_kubeapiservers.crd.yaml +++ b/payload-manifests/crds/0000_20_kube-apiserver_01_kubeapiservers.crd.yaml @@ -275,6 +275,12 @@ spec: nodeName: description: nodeName is the name of the node type: string + nodeUID: + description: |- + nodeUID is the UID of the node. + This field is used to detect that a node has been deleted and recreated with the same name. + When the UID changes, it indicates the node is a new instance and the status should be reset. + type: string targetRevision: description: |- targetRevision is the generation of the deployment we're trying to apply. diff --git a/payload-manifests/crds/0000_25_kube-controller-manager_01_kubecontrollermanagers.crd.yaml b/payload-manifests/crds/0000_25_kube-controller-manager_01_kubecontrollermanagers.crd.yaml index 72bb37b7629..34a2e39bf59 100644 --- a/payload-manifests/crds/0000_25_kube-controller-manager_01_kubecontrollermanagers.crd.yaml +++ b/payload-manifests/crds/0000_25_kube-controller-manager_01_kubecontrollermanagers.crd.yaml @@ -270,6 +270,12 @@ spec: nodeName: description: nodeName is the name of the node type: string + nodeUID: + description: |- + nodeUID is the UID of the node. + This field is used to detect that a node has been deleted and recreated with the same name. + When the UID changes, it indicates the node is a new instance and the status should be reset. + type: string targetRevision: description: |- targetRevision is the generation of the deployment we're trying to apply. diff --git a/payload-manifests/crds/0000_25_kube-scheduler_01_kubeschedulers.crd.yaml b/payload-manifests/crds/0000_25_kube-scheduler_01_kubeschedulers.crd.yaml index e59fedb33eb..a41701a8c22 100644 --- a/payload-manifests/crds/0000_25_kube-scheduler_01_kubeschedulers.crd.yaml +++ b/payload-manifests/crds/0000_25_kube-scheduler_01_kubeschedulers.crd.yaml @@ -261,6 +261,12 @@ spec: nodeName: description: nodeName is the name of the node type: string + nodeUID: + description: |- + nodeUID is the UID of the node. + This field is used to detect that a node has been deleted and recreated with the same name. + When the UID changes, it indicates the node is a new instance and the status should be reset. + type: string targetRevision: description: |- targetRevision is the generation of the deployment we're trying to apply.