Merge pull request #10256 from rook/mergify/bp/release-1.8/pr-10250

osd: Allow the osd to take a long time to start (backport #10250)
This commit is contained in:
Travis Nielsen authored and GitHub committed 2022-05-12 11:48:27 -06:00
commit 5d08516979
1 file changed
+8 -3
+8 -3
View File
@@ -48,14 +48,19 @@ const (
volumeMountSubPath = "data"
crashVolumeName = "rook-ceph-crash"
daemonSocketDir = "/run/ceph"
livenessProbeInitialDelaySeconds int32 = 10
startupProbeFailuresDaemonDefault int32 = 6 // multiply by 10 = effective startup timeout
startupProbeFailuresDaemonOSD int32 = 9 // multiply by 10 = effective startup timeout
logCollector = "log-collector"
DaemonIDLabel = "ceph_daemon_id"
daemonTypeLabel = "ceph_daemon_type"
ExternalMgrAppName = "rook-ceph-mgr-external"
ServiceExternalMetricName = "http-external-metrics"
livenessProbeInitialDelaySeconds int32 = 10
startupProbeFailuresDaemonDefault int32 = 6 // multiply by 10 = effective startup timeout
// The OSD requires a long timeout in case the OSD is taking extra time to
// scrub data during startup. We don't want the probe to disrupt the OSD update
// and restart the OSD prematurely. So we set a really long timeout to avoid
// disabling the startup and liveness probes completely.
// The default is two hours after multiplying by the 10s retry interval.
startupProbeFailuresDaemonOSD int32 = 12 * 60
)
type daemonConfig struct {