tencent cloud

Tencent Cloud Smart Advisor

Release Notes
Product Introduction
Overview
Features
Product Strengths
Scenarios
Customer Cases
Purchase Guide
Getting Started
Using TSA to Perform a Cloud Risk Assessment
Using TSA to Execute a Chaos Experiment on CFG
Operation Guide
Operation Guide to TSA-Cloud Architecture
Operation Guide to TSA-Cloud Risk Assessment
Operation Guide to TSA-Chaotic Fault Generator
Operation Guide to TSA-Digital Assets
Permission Management
API Documentation
History
Introduction
API Category
Making API Requests
Other APIs
Task APIs
Cloud Architecture Console APIs
Data Types
Error Codes
FAQs
FAQs: TSA
FAQs: TSA-Cloud Risk Assessment
FAQs: TSA-Cloud Architecture
FAQs: TSA-Chaotic Fault Generator
Related Protocol
Tencent Cloud Smart Advisor Service Level Agreement
PRIVACY POLICY MODULE CHAOTIC FAULT GENERATOR
DATA PRIVACY AND SECURITY AGREEMENT MODULE CHAOTIC FAULT GENERATOR
Contact Us

Simulating Serverless Cluster Pod Network Faults

PDF
포커스 모드
폰트 크기
마지막 업데이트 시간: 2025-03-24 15:29:50

Background

The CFG offers simulations of five types of network faults for Serverless clusters: network disorder, network duplication, network package loss, network delay, and network DNS anomalies. In a Kubernetes cluster, the stability of network performance is crucial for service response speed and user experience, as Pod lifecycles are closely linked to requests. Simulating these network faults helps you better understand your service's performance under different network conditions, allowing you to optimize your application and enhance its fault tolerance.

Experiment Execution

Experiment Preparation

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

Experiment Steps

Step 1: Create an Experiment

1. Log in to Tencent Cloud 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

Adding Node Type Fault for Regular Node in Standard Cluster
1. In the experiment object configuration step, select Container — Serverless Cluster Pod.
2. Select Add Instance, and select the required Cluster ID and Namespace, which will automatically fetch all Pods in that namespace.
3. Add experiment actions. Select network fault actions under Network Resources.
Network disorder: Simulates scenarios where network data packages arrive at the destination in an order different from the sending order.
Network duplication: Simulates scenarios where network data packages are repeatedly sent during transmission.
Network packet loss: Simulates scenarios where network data packages are lost during transmission.
Network latency: Simulates scenarios where network data packages are delayed in reaching the destination.
DNS tampering: Simulates scenarios with DNS parsing anomalies.
4. Configuring Fault Action Parameters
Network Card: The network interface name must exist in the selected instances; otherwise, fault injection may fail. Use a semicolon (;) to separate multiple network interfaces.
Whitelist Port: Ports that are not affected. Use a semicolon (;) to separate multiple ports.
Local Port: Packages sent from the local machine on specified ports will be affected. Use a semicolon (;) to separate multiple ports.
Remote Port: Packages sent to specified ports will be affected. Use a semicolon (;) to separate multiple ports.
Remote IP: Packages sent to specified IPs will be affected. Use a semicolon (;) to separate multiple IPs.
5. After action parameter configuration, click Next. Configure guardrail policy and monitoring metrics considering actual situations, and click Submit to complete experiment creation.

Step 3: Execute the Experiment

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

도움말 및 지원

문제 해결에 도움이 되었나요?

피드백