Background
Pods are the smallest deployable units in a Kubernetes cluster that run applications. In practical use cases, Pods may encounter issues such as container crashes, resource shortages, Pod termination, and Pod downtime, which can prevent applications from running properly.
To enhance the reliability and stability of container services, it is necessary to conduct Serverless Pod fault experiments. These experiments help verify whether the service can continue to provide service normally in the event of a Pod fault, and they allow for early identification of potential issues in such fault scenarios, ultimately improving business stability.
Experiment Execution
Step 1: Experiment Preparation
Purchase container instances and deploy test services. If there is already a container instance available for the experiment, proceed directly to create the experiment.
Step 2: Create an Experiment
2. Click Skip and create a blank experiment
3. Fill in basic information of the experiment.
4. Select Container as the resource type, select Serverless Cluster Pod as the resource object, and then Add Instance.
5. Click Add Now to add fault action. Select Pod Operation.
6. Select the fault action Pod Failure, then click Next.
7. Set action parameters and click Confirm.
8. After action parameter configuration, click Next. Configure Guardrail Policy and Monitoring Metrics considering actual situations, click Submit to complete experiment creation.
Step 3: Execute the Experiment
1. Go to experiment details, and click Go to the action group for execution.
2. Click Execute to start an experiment.
3. View the action execution results.
4. Click the action card and view the execution logs to confirm it has been executed successfully.
Was this page helpful?