Skip to content

Commit c37da33

Browse files
committed
install/0000_00_cluster-version-operator_03_deployment: Disable 1.35 client-go features
[1] lists InOrderInformersBatchProcess, InformerResourceVersion, and WatchListClient as new features in 1.35, and mentions environment variables as a way to turn them off. [2] gives a demonstration, with: $ KUBE_FEATURE_WatchListClient=true go test -v . -run ^TestBasic$ ... $ KUBE_FEATURE_WatchListClient=false go test -v ./pkg/webhooks/validation/controller -run ^TestBasic$ ... Try turning all three off, to see if that recovers the CVO's ability to quickly notice version-... Pod completion [3]. [1]: https://github.com/kubernetes/kubernetes/blob//v1.35.3/staging/src/k8s.io/client-go/features/known_features.go#L79-L105 [2]: kubernetes/kubernetes#135895 (comment) [3]: https://redhat.atlassian.net/browse/OCPBUGS-78997
1 parent 4895c6d commit c37da33

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

install/0000_00_cluster-version-operator_03_deployment.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,12 @@ spec:
7676
fieldPath: spec.nodeName
7777
- name: CLUSTER_PROFILE
7878
value: '{{ .ClusterProfile }}'
79+
- name: KUBE_FEATURE_InOrderInformersBatchProcess
80+
value: false
81+
- name: KUBE_FEATURE_InformerResourceVersion
82+
value: false
83+
- name: KUBE_FEATURE_WatchListClient
84+
value: false
7985
# this pod is hostNetwork and uses the internal LB DNS name when possible, which the kubelet also uses.
8086
# this dnsPolicy allows us to use the same dnsConfig as the kubelet, without access to read it ourselves.
8187
dnsPolicy: Default

0 commit comments

Comments
 (0)