tencent cloud

Feedback

Serverless Pod Fault Experiment Case

Last updated: 2024-09-26 15:47:38

    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.
    Enter Agent Management page and install the agents.

    Step 2: Create an Experiment

    1. Log in Tencent Smart Advisor > Chaotic Fault Generator, go to Experiment Management page, and click Create a New 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.
    
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support