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:
Andrew Chen
2017-04-25 10:36:59 -07:00
committed by GitHub
parent b38c79dde8
commit 2f51937983
16 changed files with 8305 additions and 78 deletions
@@ -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>