You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--log.sampling If true, operator will try to minimize duplication of logging events (default true)
173
173
--memory-limit uint Define memory limit for hard shutdown and the dump of goroutines. Used for testing
174
174
--metrics.excluded-prefixes stringArray List of the excluded metrics prefixes
@@ -196,6 +196,7 @@ Flags:
196
196
--timeout.arangod-check duration The version check request timeout to the ArangoDB (default 2s)
197
197
--timeout.backup-arangod duration The request timeout to the ArangoDB during backup calls (default 30s)
198
198
--timeout.backup-upload duration The request timeout to the ArangoDB during uploading files (default 5m0s)
199
+
--timeout.force-delete-pod-grace-period duration Default period when ArangoDB Pod should be forcefully removed after all containers were stopped - set to 0 to disable forceful removals (default 15m0s)
199
200
--timeout.k8s duration The request timeout to the kubernetes (default 2s)
200
201
--timeout.reconciliation duration The reconciliation timeout to the ArangoDB CR (default 1m0s)
201
202
--timeout.shard-rebuild duration Timeout after which particular out-synced shard is considered as failed and rebuild is triggered (default 1h0m0s)
Copy file name to clipboardExpand all lines: cmd/cmd.go
+12-9
Original file line number
Diff line number
Diff line change
@@ -147,15 +147,16 @@ var (
147
147
concurrentUploadsint
148
148
}
149
149
operatorTimeoutsstruct {
150
-
k8s time.Duration
151
-
arangoD time.Duration
152
-
arangoDCheck time.Duration
153
-
reconciliation time.Duration
154
-
agency time.Duration
155
-
shardRebuild time.Duration
156
-
shardRebuildRetry time.Duration
157
-
backupArangoD time.Duration
158
-
backupUploadArangoD time.Duration
150
+
k8s time.Duration
151
+
arangoD time.Duration
152
+
arangoDCheck time.Duration
153
+
reconciliation time.Duration
154
+
agency time.Duration
155
+
shardRebuild time.Duration
156
+
shardRebuildRetry time.Duration
157
+
backupArangoD time.Duration
158
+
backupUploadArangoD time.Duration
159
+
forcePodDeletionGracePeriod time.Duration
159
160
}
160
161
operatorImageDiscoverystruct {
161
162
timeout time.Duration
@@ -224,6 +225,7 @@ func init() {
224
225
f.DurationVar(&operatorTimeouts.shardRebuildRetry, "timeout.shard-rebuild-retry", globals.DefaultOutSyncedShardRebuildRetryTimeout, "Timeout after which rebuild shards retry flow is triggered")
225
226
f.DurationVar(&operatorTimeouts.backupArangoD, "timeout.backup-arangod", globals.BackupDefaultArangoClientTimeout, "The request timeout to the ArangoDB during backup calls")
226
227
f.DurationVar(&operatorTimeouts.backupUploadArangoD, "timeout.backup-upload", globals.BackupUploadArangoClientTimeout, "The request timeout to the ArangoDB during uploading files")
228
+
f.DurationVar(&operatorTimeouts.forcePodDeletionGracePeriod, "timeout.force-delete-pod-grace-period", globals.DefaultForcePodDeletionGracePeriodTimeout, "Default period when ArangoDB Pod should be forcefully removed after all containers were stopped - set to 0 to disable forceful removals")
227
229
f.DurationVar(&shutdownOptions.delay, "shutdown.delay", defaultShutdownDelay, "The delay before running shutdown handlers")
228
230
f.DurationVar(&shutdownOptions.timeout, "shutdown.timeout", defaultShutdownTimeout, "Timeout for shutdown handlers")
229
231
f.DurationVar(&operatorReconciliationRetry.delay, "operator.reconciliation.retry.delay", globals.DefaultOperatorUpdateRetryDelay, "Delay between Object Update operations in the Reconciliation loop")
0 commit comments