Container Lifecycle
Kubernetes supports the postStart and preStop lifecycle events. Kubernetes sends the postStart event immediately after a Container is started, and it sends the preStop event immediately before the Container is terminated.
-
After logging into OmniDeq, click on the Project where you want to manage the container lifecycle and click on
Cruize.
-
Click on blueprint version count on blueprint card. After clicking to count, blueprint versions page will be displayed which contains list of blueprint versions.

-
Click on View configurations kebab menu option or click on blueprint version name then of blueprint version to view blueprint configurations. Go to Deployments tab and click on
Edit deployment definitionfrom Action column of any deployment. -
Then deployment definition page will be opened, now go to
Containerstab. Select container and then go toLifecycletab as shown in the below image.
Adding a new Lifecycle
-
Click on
Add New Lifecyclebutton and after clicking following form will be displayed.
-
Add Lifecycle by entering the below details:
PreStop Exec command Enter comma separated pre stop commands PostStart Exec command Enter comma separated post start commands
-
Provide all commands and click on
Savebutton
Edit Lifecycle
-
Click on
Edit iconto edit lifecycle commands as shown in below image.
Delete Lifecycle
-
Click on
Delete iconto delete lifecycle as shown in below image.