From tugboat apiserver logs, counts of reads and writes by control-plane-operator for one cluster over about 2 minutes:
kubectl logs control-plane-operator-68d6d7d445-g4czf -n master-c6adpbk20mj47823vl7g --tail=50
2021-11-23T13:23:49.077Z INFO control-plane-operator.OpenShiftAPIServerClient Updating OpenShift APIServer configmap
2021-11-23T13:23:49.116Z INFO control-plane-operator.OpenShiftControllerManagerClient Updating OpenShift Controller Manager deployment
2021-11-23T13:23:49.258Z INFO control-plane-operator.OpenShiftAPIServerClient Updating OpenShift APIServer deployment
I1123 13:23:49.489453 1 recorder_logging.go:37] &Event{ObjectMeta:{dummy.16ba2fabd0aa669c dummy 0 0001-01-01 00:00:00 +0000 UTC <nil> <nil> map[] map[] [] [] []},InvolvedObject:ObjectReference{Kind:Pod,Namespace:dummy,Name:dummy,UID:,APIVersion:v1,ResourceVersion:,FieldPath:,},Reason:ObservedConfigChanged,Message:Writing updated observed config: map[string]interface{}{
"build": map[string]interface{}{"buildDefaults": map[string]interface{}{"resources": map[string]interface{}{}}, "imageTemplateFormat": map[string]interface{}{"format": string("quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:d83f2ed0b41ad5f5b08d775a61f78c2459b4938e7cc53d3fb75ec68f672e8e48")}},
"deployer": map[string]interface{}{"imageTemplateFormat": map[string]interface{}{"format": string("quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:56a377e0f3e48105f5dc0d3d70e1d821fcb5f282023f0a5410b7df9d5b617a65")}},
- "dockerPullSecret": map[string]interface{}{
- "internalRegistryHostname": string("image-registry.openshift-image-registry.svc:5000"),
- },
}
,Source:EventSource{Component:,Host:,},FirstTimestamp:2021-11-23 13:23:49.489338012 +0000 UTC m=+527581.065721643,LastTimestamp:2021-11-23 13:23:49.489338012 +0000 UTC m=+527581.065721643,Count:1,Type:Normal,EventTime:0001-01-01 00:00:00 +0000 UTC,Series:nil,Action:,Related:nil,ReportingController:,ReportingInstance:,}
2021-11-23T13:23:49.545Z INFO control-plane-operator.OpenShiftControllerManagerClient Updating OpenShift Controller Manager configmap
2021-11-23T13:23:49.682Z INFO control-plane-operator.OpenShiftControllerManagerClient Updating OpenShift Controller Manager deployment
I1123 13:23:49.911168 1 recorder_logging.go:37] &Event{ObjectMeta:{dummy.16ba2fabe9cd1eea dummy 0 0001-01-01 00:00:00 +0000 UTC <nil> <nil> map[] map[] [] [] []},InvolvedObject:ObjectReference{Kind:Pod,Namespace:dummy,Name:dummy,UID:,APIVersion:v1,ResourceVersion:,FieldPath:,},Reason:ObservedConfigChanged,Message:Writing updated observed config: map[string]interface{}{
- "imagePolicyConfig": map[string]interface{}{
- "internalRegistryHostname": string("image-registry.openshift-image-registry.svc:5000"),
- },
"projectConfig": map[string]interface{}{"projectRequestMessage": string("")},
}
,Source:EventSource{Component:,Host:,},FirstTimestamp:2021-11-23 13:23:49.911043818 +0000 UTC m=+527581.487427205,LastTimestamp:2021-11-23 13:23:49.911043818 +0000 UTC m=+527581.487427205,Count:1,Type:Normal,EventTime:0001-01-01 00:00:00 +0000 UTC,Series:nil,Action:,Related:nil,ReportingController:,ReportingInstance:,}
2021-11-23T13:23:49.959Z INFO control-plane-operator.OpenShiftAPIServerClient Updating OpenShift APIServer configmap
2021-11-23T13:23:50.028Z INFO control-plane-operator.OpenShiftAPIServerClient Updating OpenShift APIServer deployment
I1123 13:23:50.490253 1 recorder_logging.go:37] &Event{ObjectMeta:{dummy.16ba2fac0c513aee dummy 0 0001-01-01 00:00:00 +0000 UTC <nil> <nil> map[] map[] [] [] []},InvolvedObject:ObjectReference{Kind:Pod,Namespace:dummy,Name:dummy,UID:,APIVersion:v1,ResourceVersion:,FieldPath:,},Reason:ObservedConfigChanged,Message:Writing updated observed config: map[string]interface{}{
"build": map[string]interface{}{"buildDefaults": map[string]interface{}{"resources": map[string]interface{}{}}, "imageTemplateFormat": map[string]interface{}{"format": string("quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:d83f2ed0b41ad5f5b08d775a61f78c2459b4938e7cc53d3fb75ec68f672e8e48")}},
"deployer": map[string]interface{}{"imageTemplateFormat": map[string]interface{}{"format": string("quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:56a377e0f3e48105f5dc0d3d70e1d821fcb5f282023f0a5410b7df9d5b617a65")}},
- "dockerPullSecret": map[string]interface{}{
- "internalRegistryHostname": string("image-registry.openshift-image-registry.svc:5000"),
- },
}
,Source:EventSource{Component:,Host:,},FirstTimestamp:2021-11-23 13:23:50.490127086 +0000 UTC m=+527582.066510970,LastTimestamp:2021-11-23 13:23:50.490127086 +0000 UTC m=+527582.066510970,Count:1,Type:Normal,EventTime:0001-01-01 00:00:00 +0000 UTC,Series:nil,Action:,Related:nil,ReportingController:,ReportingInstance:,}
2021-11-23T13:23:50.525Z INFO control-plane-operator.OpenShiftControllerManagerClient Updating OpenShift Controller Manager configmap
2021-11-23T13:23:50.645Z INFO control-plane-operator.OpenShiftControllerManagerClient Updating OpenShift Controller Manager deployment
I1123 13:23:50.911327 1 recorder_logging.go:37] &Event{ObjectMeta:{dummy.16ba2fac256a3e8a dummy 0 0001-01-01 00:00:00 +0000 UTC <nil> <nil> map[] map[] [] [] []},InvolvedObject:ObjectReference{Kind:Pod,Namespace:dummy,Name:dummy,UID:,APIVersion:v1,ResourceVersion:,FieldPath:,},Reason:ObservedConfigChanged,Message:Writing updated observed config: map[string]interface{}{
- "imagePolicyConfig": map[string]interface{}{
- "internalRegistryHostname": string("image-registry.openshift-image-registry.svc:5000"),
- },
"projectConfig": map[string]interface{}{"projectRequestMessage": string("")},
}
,Source:EventSource{Component:,Host:,},FirstTimestamp:2021-11-23 13:23:50.91119681 +0000 UTC m=+527582.487580430,LastTimestamp:2021-11-23 13:23:50.91119681 +0000 UTC m=+527582.487580430,Count:1,Type:Normal,EventTime:0001-01-01 00:00:00 +0000 UTC,Series:nil,Action:,Related:nil,ReportingController:,ReportingInstance:,}
I1123 13:23:51.490272 1 recorder_logging.go:37] &Event{ObjectMeta:{dummy.16ba2fac47ec105e dummy 0 0001-01-01 00:00:00 +0000 UTC <nil> <nil> map[] map[] [] [] []},InvolvedObject:ObjectReference{Kind:Pod,Namespace:dummy,Name:dummy,UID:,APIVersion:v1,ResourceVersion:,FieldPath:,},Reason:ObservedConfigChanged,Message:Writing updated observed config: map[string]interface{}{
"build": map[string]interface{}{"buildDefaults": map[string]interface{}{"resources": map[string]interface{}{}}, "imageTemplateFormat": map[string]interface{}{"format": string("quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:d83f2ed0b41ad5f5b08d775a61f78c2459b4938e7cc53d3fb75ec68f672e8e48")}},
"deployer": map[string]interface{}{"imageTemplateFormat": map[string]interface{}{"format": string("quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:56a377e0f3e48105f5dc0d3d70e1d821fcb5f282023f0a5410b7df9d5b617a65")}},
- "dockerPullSecret": map[string]interface{}{
- "internalRegistryHostname": string("image-registry.openshift-image-registry.svc:5000"),
- },
}
,Source:EventSource{Component:,Host:,},FirstTimestamp:2021-11-23 13:23:51.490130014 +0000 UTC m=+527583.066514718,LastTimestamp:2021-11-23 13:23:51.490130014 +0000 UTC m=+527583.066514718,Count:1,Type:Normal,EventTime:0001-01-01 00:00:00 +0000 UTC,Series:nil,Action:,Related:nil,ReportingController:,ReportingInstance:,}
2021-11-23T13:23:51.795Z INFO control-plane-operator.OpenShiftAPIServerClient Updating OpenShift APIServer configmap
2021-11-23T13:23:51.796Z INFO control-plane-operator.OpenShiftControllerManagerClient Updating OpenShift Controller Manager configmap
2021-11-23T13:23:52.087Z INFO control-plane-operator.OpenShiftAPIServerClient Updating OpenShift APIServer deployment
I don't see the configmaps or deployments actually changing over time. The event output suggests that the objects seen by the sync code are always missing those fields - yet I see them in the configmaps.
It seems like that logic is either not seeing the current configmaps or not comparing actual / expected properly.
Final note: In my test deployment this behavior stops after 20 minutes or so. The performance team sees that continuously for all clusters, possibly because they deploy clusters without workers?