Skip to content

Commit a90de1c

Browse files
committed
doc: add support for container sleep lifecycle hook
1 parent 1b556b5 commit a90de1c

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

docs/data-sources/pod.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -453,6 +453,7 @@ Read-Only:
453453
- `exec` (List of Object) (see [below for nested schema](#nestedobjatt--spec--container--lifecycle--post_start--exec))
454454
- `http_get` (List of Object) (see [below for nested schema](#nestedobjatt--spec--container--lifecycle--post_start--http_get))
455455
- `tcp_socket` (List of Object) (see [below for nested schema](#nestedobjatt--spec--container--lifecycle--post_start--tcp_socket))
456+
- `sleep` (List of Object) (see [below for nested schema](#nestedobjatt--spec--container--lifecycle--post_start--sleep))
456457

457458
<a id="nestedobjatt--spec--container--lifecycle--post_start--exec"></a>
458459
### Nested Schema for `spec.container.lifecycle.post_start.exec`
@@ -490,6 +491,13 @@ Read-Only:
490491

491492
- `port` (String)
492493

494+
<a id="nestedobjatt--spec--container--lifecycle--post_start--sleep"></a>
495+
### Nested Schema for `spec.container.lifecycle.post_start.sleep`
496+
497+
Read-Only:
498+
499+
- `seconds` (Number)
500+
493501

494502

495503
<a id="nestedobjatt--spec--container--lifecycle--pre_stop"></a>
@@ -500,6 +508,7 @@ Read-Only:
500508
- `exec` (List of Object) (see [below for nested schema](#nestedobjatt--spec--container--lifecycle--pre_stop--exec))
501509
- `http_get` (List of Object) (see [below for nested schema](#nestedobjatt--spec--container--lifecycle--pre_stop--http_get))
502510
- `tcp_socket` (List of Object) (see [below for nested schema](#nestedobjatt--spec--container--lifecycle--pre_stop--tcp_socket))
511+
- `sleep` (List of Object) (see [below for nested schema](#nestedobjatt--spec--container--lifecycle--pre_stop--sleep))
503512

504513
<a id="nestedobjatt--spec--container--lifecycle--pre_stop--exec"></a>
505514
### Nested Schema for `spec.container.lifecycle.pre_stop.exec`
@@ -537,6 +546,13 @@ Read-Only:
537546

538547
- `port` (String)
539548

549+
<a id="nestedobjatt--spec--container--lifecycle--pre_stop--sleep"></a>
550+
### Nested Schema for `spec.container.lifecycle.pre_stop.sleep`
551+
552+
Read-Only:
553+
554+
- `seconds` (Number)
555+
540556

541557

542558

docs/data-sources/pod_v1.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -453,6 +453,7 @@ Read-Only:
453453
- `exec` (List of Object) (see [below for nested schema](#nestedobjatt--spec--container--lifecycle--post_start--exec))
454454
- `http_get` (List of Object) (see [below for nested schema](#nestedobjatt--spec--container--lifecycle--post_start--http_get))
455455
- `tcp_socket` (List of Object) (see [below for nested schema](#nestedobjatt--spec--container--lifecycle--post_start--tcp_socket))
456+
- `sleep` (List of Object) (see [below for nested schema](#nestedobjatt--spec--container--lifecycle--post_start--sleep))
456457

457458
<a id="nestedobjatt--spec--container--lifecycle--post_start--exec"></a>
458459
### Nested Schema for `spec.container.lifecycle.post_start.exec`
@@ -490,6 +491,13 @@ Read-Only:
490491

491492
- `port` (String)
492493

494+
<a id="nestedobjatt--spec--container--lifecycle--post_start--sleep"></a>
495+
### Nested Schema for `spec.container.lifecycle.post_start.sleep`
496+
497+
Read-Only:
498+
499+
- `seconds` (Number)
500+
493501

494502

495503
<a id="nestedobjatt--spec--container--lifecycle--pre_stop"></a>
@@ -500,6 +508,7 @@ Read-Only:
500508
- `exec` (List of Object) (see [below for nested schema](#nestedobjatt--spec--container--lifecycle--pre_stop--exec))
501509
- `http_get` (List of Object) (see [below for nested schema](#nestedobjatt--spec--container--lifecycle--pre_stop--http_get))
502510
- `tcp_socket` (List of Object) (see [below for nested schema](#nestedobjatt--spec--container--lifecycle--pre_stop--tcp_socket))
511+
- `sleep` (List of Object) (see [below for nested schema](#nestedobjatt--spec--container--lifecycle--pre_stop--sleep))
503512

504513
<a id="nestedobjatt--spec--container--lifecycle--pre_stop--exec"></a>
505514
### Nested Schema for `spec.container.lifecycle.pre_stop.exec`
@@ -537,6 +546,12 @@ Read-Only:
537546

538547
- `port` (String)
539548

549+
<a id="nestedobjatt--spec--container--lifecycle--pre_stop--sleep"></a>
550+
### Nested Schema for `spec.container.lifecycle.pre_stop.sleep`
551+
552+
Read-Only:
553+
554+
- `seconds` (Number)
540555

541556

542557

0 commit comments

Comments
 (0)