docs migration: Container Lifecycle Hooks into Concepts (#2564)
* initial commit for structure * migrate Container Lifecycle Hooks and related files to Concepts * update Concepts ToC * fix formatting * Formatting tweaks * comment out What's next * remove What's next * Begin rewrite of container-lifecycle-hooks.md * incremental update to edit * Split Container Lifecycle Hooks into container-lifecycle-hooks.md and container-environment.md; change all referring links. * Add concept template to volumes.md and images.md * Apply changes for steveperry-53 feedback. * fix format issue * tweak formatting * fix Concepts ToC * update links * add back changes to Concepts ToC * fix a link * update links
This commit is contained in:
+4099
File diff suppressed because it is too large
Load Diff
Executable
+4033
File diff suppressed because it is too large
Load Diff
@@ -3561,14 +3561,14 @@ Populated by the system when a graceful deletion is requested. Read-only. More i
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="tableblock halign-left valign-top"><p class="tableblock">postStart</p></td>
|
||||
<td class="tableblock halign-left valign-top"><p class="tableblock">PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: <a href="http://kubernetes.io/docs/user-guide/container-environment#hook-details">http://kubernetes.io/docs/user-guide/container-environment#hook-details</a></p></td>
|
||||
<td class="tableblock halign-left valign-top"><p class="tableblock">PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: <a href="http://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks#hook-details">http://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks#hook-details</a></p></td>
|
||||
<td class="tableblock halign-left valign-top"><p class="tableblock">false</p></td>
|
||||
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="#_v1_handler">v1.Handler</a></p></td>
|
||||
<td class="tableblock halign-left valign-top"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tableblock halign-left valign-top"><p class="tableblock">preStop</p></td>
|
||||
<td class="tableblock halign-left valign-top"><p class="tableblock">PreStop is called immediately before a container is terminated. The container is terminated after the handler completes. The reason for termination is passed to the handler. Regardless of the outcome of the handler, the container is eventually terminated. Other management of the container blocks until the hook completes. More info: <a href="http://kubernetes.io/docs/user-guide/container-environment#hook-details">http://kubernetes.io/docs/user-guide/container-environment#hook-details</a></p></td>
|
||||
<td class="tableblock halign-left valign-top"><p class="tableblock">PreStop is called immediately before a container is terminated. The container is terminated after the handler completes. The reason for termination is passed to the handler. Regardless of the outcome of the handler, the container is eventually terminated. Other management of the container blocks until the hook completes. More info: <a href="http://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks#hook-details">http://kubernetes.io//docs/concepts/containers/container-lifecycle-hooks#hook-details</a></p></td>
|
||||
<td class="tableblock halign-left valign-top"><p class="tableblock">false</p></td>
|
||||
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="#_v1_handler">v1.Handler</a></p></td>
|
||||
<td class="tableblock halign-left valign-top"></td>
|
||||
|
||||
@@ -233,7 +233,7 @@ Appears In <a href="#podstatus-v1-core">PodStatus</a> </aside>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>containerID <br /> <em>string</em></td>
|
||||
<td>Container's ID in the format 'docker://<container_id>'. More info: <a href="http://kubernetes.io/docs/user-guide/container-environment#container-information">http://kubernetes.io/docs/user-guide/container-environment#container-information</a></td>
|
||||
<td>Container's ID in the format 'docker://<container_id>'. More info: <a href="http://kubernetes.io/docs/concepts/containers/container-environment-variables/#container-information">http://kubernetes.io/docs/concepts/containers/container-environment-variables/#container-information</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>image <br /> <em>string</em></td>
|
||||
@@ -51409,11 +51409,11 @@ Appears In <a href="#container-v1-core">Container</a> </aside>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>postStart <br /> <em><a href="#handler-v1-core">Handler</a></em></td>
|
||||
<td>PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: <a href="http://kubernetes.io/docs/user-guide/container-environment#hook-details">http://kubernetes.io/docs/user-guide/container-environment#hook-details</a></td>
|
||||
<td>PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: <a href="http://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#hook-details">http://kubernetes.io/concepts/containers/container-lifecycle-hooks/#hook-details</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>preStop <br /> <em><a href="#handler-v1-core">Handler</a></em></td>
|
||||
<td>PreStop is called immediately before a container is terminated. The container is terminated after the handler completes. The reason for termination is passed to the handler. Regardless of the outcome of the handler, the container is eventually terminated. Other management of the container blocks until the hook completes. More info: <a href="http://kubernetes.io/docs/user-guide/container-environment#hook-details">http://kubernetes.io/docs/user-guide/container-environment#hook-details</a></td>
|
||||
<td>PreStop is called immediately before a container is terminated. The container is terminated after the handler completes. The reason for termination is passed to the handler. Regardless of the outcome of the handler, the container is eventually terminated. Other management of the container blocks until the hook completes. More info: <a href="http://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#hook-details">http://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#hook-details</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user