Container Liveness, Readiness and Startup Probes**
-
Liveness probe
is used to know when to restart a container. -
Readiness probe
is used to know when a container is ready to start accepting traffic. -
Startup probe
is used to know when a container application has started. -
After logging into OmniDeq, click on the Project where you want to manage the container probes 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 definition
from Action column of any deployment. -
Then deployment definition page will be opened, now go to
Containers
tab. Select container and then go to specific probe tab as shown in the below image.
Adding a new Probe
-
Click on
Add New Liveness Probe
button and after clicking following form will be displayed. -
Add Probe by entering the below details:
Period seconds Default value is '5', change as applicable Initial delay seconds Default value is '5', change as applicable Timeout seconds Default value is '1', change as applicable Success threshold Default value is '1', change as applicable Failure threshold Default value is '3', change as applicable Probe type There are 4 different types. Default type is 'httpGet', change as applicable. Enter data based on selected probe type. -
Probe Type :
-
httpGet
- For httpGet probe type enter below details
Scheme Select Scheme (HTTP / HTTPS) Host Type Host name here Port Type port here Path Port should be in the range 1 to 65535 HTTP Headers Click on Add Key Value Pair
button to add headers -
tcpSocket or grpc
- For tcpSocket or grpc probe type enter below details as shown in the image below.
Host Type Host name here Port Port should be in the range 1 to 65535 -
exec
- For exec probe type enter below details as shown in the image below.
Command Enter comma separated command
-
-
-
Provide all details and click on
Save
button
View Probe
-
Click on
View icon
to view probe details as shown in below image.
Edit Probe
-
Click on
Edit icon
to edit probe as shown in below image.
Delete Probe
-
Click on
Delete icon
to delete probe as shown in below image.
Note: Please follow similar steps to perform add, view, edit and delete action of Readiness and Startup Probes.