Probe Status
It contains probe details provided at status.probeStatus
inside chaosresult. It contains following fields:
name
: Flag to show the name of probe used in the experiment
type
: Flag to show the type of probe used
status.continuous
: Flag to show the result of probe in continuous mode
status.prechaos
: Flag to show the result of probe in pre chaos
status.postchaos
: Flag to show the result of probe in post chaos
View the probe schema
Field |
.status.probestatus.name |
Description |
Flag to show the name of probe used in the experiment |
Range |
n/a n/a (type: string) |
Notes |
The .status.probestatus.name shows the name of the probe used in the experiment. |
Field |
.status.probestatus.type |
Description |
Flag to show the type of probe used |
Range |
HTTPProbe,K8sProbe,CmdProbe(type:string) |
Notes |
The .status.probestatus.type shows the type of probe used. |
Field |
.status.probestatus.status.continuous |
Description |
Flag to show the result of probe in continuous mode |
Range |
Awaited,Passed,Better Luck Next Time (type: string) |
Notes |
The .status.probestatus.status.continuous helps to get the result of the probe in the continuous mode. The httpProbe is better used in the Continuous mode. |
Field |
.status.probestatus.status.postchaos |
Description |
Flag to show the probe result post chaos |
Range |
Awaited,Passed,Better Luck Next Time (type:map[string]string) |
Notes |
The .status.probestatus.status.postchaos shows the result of probe setup in EOT mode executed at the End of Test as a post-chaos check. |
Field |
.status.probestatus.status.prechaos |
Description |
Flag to show the probe result pre chaos |
Range |
Awaited,Passed,Better Luck Next Time (type:string) |
Notes |
The .status.probestatus.status.prechaos shows the result of probe setup in SOT mode executed at the Start of Test as a pre-chaos check. |
view the sample example:
Name: engine-nginx-pod-delete
Namespace: default
Labels: app.kubernetes.io/component=experiment-job
app.kubernetes.io/part-of=litmus
app.kubernetes.io/version=1.13.8
chaosUID=aa0a0084-f20f-4294-a879-d6df9aba6f9b
controller-uid=6943c955-0154-4542-8745-de991eb47c61
job-name=pod-delete-w4p5op
name=engine-nginx-pod-delete
Annotations: <none>
API Version: litmuschaos.io/v1alpha1
Kind: ChaosResult
Metadata:
Creation Timestamp: 2021-09-29T13:28:59Z
Generation: 6
Resource Version: 66788
Self Link: /apis/litmuschaos.io/v1alpha1/namespaces/default/chaosresults/engine-nginx-pod-delete
UID: fe7f01c8-8118-4761-8ff9-0a87824d863f
Spec:
Engine: engine-nginx
Experiment: pod-delete
Status:
Experiment Status:
Fail Step: N/A
Phase: Completed
Probe Success Percentage: 100
Verdict: Pass
History:
Failed Runs: 1
Passed Runs: 1
Stopped Runs: 0
Targets:
Chaos Status: targeted
Kind: deployment
Name: hello
Probe Status:
# name of probe
Name: check-frontend-access-url
# status of probe
Status:
Continuous: Passed 👍 #Continuous
# type of probe
Type: HTTPProbe
# name of probe
Name: check-app-cluster-cr-status
# status of probe
Status:
Post Chaos: Passed 👍 #EoT
# type of probe
Type: K8sProbe
# name of probe
Name: check-database-integrity
# status of probe
Status:
Post Chaos: Passed 👍 #Edge
Pre Chaos: Passed 👍
# type of probe
Type: CmdProbe
Events: <none>