From 9cad52bcaa316ecbc8d2689293ded0cbd3d6ec6a Mon Sep 17 00:00:00 2001 From: Aayush Subramaniam Date: Fri, 17 May 2024 01:12:16 +0530 Subject: [PATCH] Documentation Updated Signed-off-by: Aayush Subramaniam --- docs/resources/stateful_set_v1.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/resources/stateful_set_v1.md b/docs/resources/stateful_set_v1.md index 802f62f549..e7850afc8f 100644 --- a/docs/resources/stateful_set_v1.md +++ b/docs/resources/stateful_set_v1.md @@ -33,6 +33,7 @@ resource "kubernetes_stateful_set_v1" "prometheus" { } spec { + min_ready_seconds = 10 pod_management_policy = "Parallel" replicas = 1 revision_history_limit = 5 @@ -260,6 +261,8 @@ The following arguments are supported: * `persistent_volume_claim_retention_policy` - (Optional) The object controls if and how PVCs are deleted during the lifecycle of a StatefulSet. +* `min_ready_seconds` - (Optional) - This is an optional field that specifies the minimum number of seconds for which a newly created Pod should be running and ready without any of its containers crashing, for it to be considered available. This field defaults to 0 (the Pod will be considered available as soon as it is ready). + ## Nested Blocks ### `spec.template`