From 779fd83d23ff94cf01a6fe17721295489afb9253 Mon Sep 17 00:00:00 2001 From: Tom Wieczorek Date: Wed, 11 Sep 2024 10:28:00 +0200 Subject: [PATCH] Remove minReadySeconds from kube-router DaemonSet The minReadySeconds are a thing for StatefulSets. For DaemonSets there's no such field at all. Simply remove it as it has no effect, despite producing logs like 'unknown field "spec.template.spec.minReadySeconds"'. Fixes: 65fcf39aa ("Add readinessProbe/minReadySeconds to kube-router") Signed-off-by: Tom Wieczorek (cherry picked from commit c00fd0d8d6ad5e8321edd0bbf689ab4d544dcb8b) --- pkg/component/controller/kuberouter.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/component/controller/kuberouter.go b/pkg/component/controller/kuberouter.go index a75f65a31b71..bfff6c18efb5 100644 --- a/pkg/component/controller/kuberouter.go +++ b/pkg/component/controller/kuberouter.go @@ -243,7 +243,6 @@ spec: spec: priorityClassName: system-node-critical serviceAccountName: kube-router - minReadySeconds: 5 initContainers: - name: install-cni-bins image: {{ .CNIInstallerImage }}