{
    "time_schedule": {
        "total_time": "5m",
        "pre_validation_time": "1m",
        "fault_injection_time": "3m",
        "post_validation_time": "1m"
    },
    "pre_validation": {
        "order_description": "Pre-validation ensures that the system is in a steady state before any fault is injected. We will verify the pod count to ensure it is 1.",
        "unit_tests": [
            {
                "name": "Pod count",
                "start_time": "0s",
                "duration": "1m",
                "frequency": 1,
                "file_path": "sandbox/unit_test/unit_test_pod_count.py"
            }
        ]
    },
    "fault_injection": {
        "order_description": "During the fault injection phase, we will simulate a pod-kill event to test the system's resiliency. Concurrently, we will monitor the pod count to ensure it returns to 1.",
        "fault_injection": [
            {
                "name": "PodChaos",
                "start_time": "0s",
                "duration": "3m",
                "frequency": 1,
                "params": {
                    "action": "pod-kill",
                    "mode": "one",
                    "value": "1",
                    "selector": "app=example",
                    "containerNames": [],
                    "gracePeriod": 0
                }
            }
        ],
        "unit_tests": [
            {
                "name": "Pod count",
                "start_time": "0s",
                "duration": "3m",
                "frequency": 3,
                "file_path": "sandbox/unit_test/unit_test_pod_count.py"
            }
        ]
    },
    "post_validation": {
        "order_description": "Post-validation ensures that the system has returned to a steady state after the fault injection. We will verify the pod count to ensure it is 1.",
        "unit_tests": [
            {
                "name": "Pod count",
                "start_time": "0s",
                "duration": "1m",
                "frequency": 1,
                "file_path": "sandbox/unit_test/unit_test_pod_count.py"
            }
        ]
    },
    "summary": "This chaos engineering experiment aims to test the resiliency of the Nginx-based web service deployed on Kubernetes. The experiment will simulate a pod-kill event to verify that the system can maintain a steady state of 1 pod. The experiment is divided into three phases: pre-validation, fault injection, and post-validation, with a total duration of 5 minutes."
}