tencent cloud

Tencent Smart Advisor-Chaotic Fault Generator

Product Introduction
Overview
Strengths
Scenarios
Purchase Guide
Purchase Instructions
Getting Started
Quick Start with the Console
Quick Start with API
Operation Guide
Template Library
Experiments
Fault Action
Guardrail Monitoring
Tag
Agent Management
Fault Action Library
Compute
Database
Network
Container
Big Data
Cloud Load Balancer
Message Queue
Direct Connect
Custom Actions
Cloud Streaming Services (CSS)
Permission Management Guide
Overview
Authorization Policy Syntax
Authorizable Resource Types
Service Authorization and Role Permissions
Sub-users and Authorization
API Documentation
History
Introduction
API Category
Making API Requests
Task APIs
Template Library APIs
Data Types
Error Codes
FAQs
Product Feature Issues
Action Execution Issues
Agent FAQ
Related Protocol
PRIVACY POLICY MODULE CHAOTIC FAULT GENERATOR
DATA PRIVACY AND SECURITY AGREEMENT MODULE CHAOTIC FAULT GENERATOR
Contact Us

Simulating Container Resource Network Faults

PDF
Focus Mode
Font Size
Last updated: 2024-09-26 15:47:38

Background

Network faults are among the most common issues in Kubernetes, and troubleshooting them can be challenging, often requiring intervention from specialized Ops personnel. To address this, the CFG provides five types of network fault actions: network disorder, network duplication, network package loss, network latency, and network DNS anomalies. These actions allow you to independently stabilize network performance in your business and ensure the normal operation of services.

Experiment Implementation

Experiment Preparation

Purchase container instances in a standard cluster and deploy test services.
Enter Agent Management page and install the agents.

Experiment Steps

Step 1: Create an Experiment

1. Log in to Tencent Smart Advisor > Chaotic Fault Generator, enter the Experiment Management page, click Create a New Experiment.
2. Click Skip and create a blank experiment, and fill in the experiment details.

Step 2: Add Experiment Instances and Actions

Node Type Network Faults

Note:
Applicable resource objects: Regular node in standard cluster.
1. During the experiment object configuration, select the container object type Standard Cluster Node.
2. Add a Regular Node in Standard Cluster node instance. Select the Cluster ID where the fault will be injected, and the node under that cluster will be automatically added.
3. Add experiment actions. Select Network latency fault action under network resources.
4. Configure the action parameters.

Pod Type Network Faults

Note:
Applicable resource objects: Standard cluster Pod and Serverless cluster Pod.
1. Select Standard Cluster Pod as the container object type.
2. Add a Pod instance, then sequentially select the required Cluster ID> Load Type (Workload) > Namespace> Load Name (Workload) to select a Pod instance that meets the criteria.
3. Select Network latency fault action under network resources.
4. Configure fault action parameters. On this page, you can configure whether to enable Container faults. If it is enabled, after you enter the container name, the fault can be injected into the specified container.

Step 3: Configure Monitoring (Optional)

In the Global Configuration stage, you can select monitoring metrics, check the necessary ones, and add them to the configuration.

Step 4: Execute the Experiment

Click Execute Experiment. Since network actions are high-risk, authentication must be completed before executing the action.



Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback