diff --git a/docs/pages/includes/helm-reference/zz_generated.teleport-kube-agent.mdx b/docs/pages/includes/helm-reference/zz_generated.teleport-kube-agent.mdx index 1ebd25154c1f9..c7fb92710685e 100644 --- a/docs/pages/includes/helm-reference/zz_generated.teleport-kube-agent.mdx +++ b/docs/pages/includes/helm-reference/zz_generated.teleport-kube-agent.mdx @@ -631,6 +631,21 @@ teleportConfig: "*":"*" ``` +## `terminationGracePeriodSeconds` + +| Type | Default | +|------|---------| +| `integer` | `30` | + +`terminationGracePeriodSeconds` is the time the pod has to do a graceful shutdown. +If teleport has not existed after this delay, the process gets killed. +Teleport will wait until every connection backed by the agent is over before exiting. +If you want to reduce the disruption of rolling out agents at the price of a slower rollout, you can increase this +value to an hour. + +See the [Kubernetes Pod Lifecycle docs](https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#pod-termination) +for more details. + ## `tls` `tls` contains settings for mounting your own TLS material in the agent pod.