hss__ListWorkLoads
Lists workloads of a specified type (Deployments, StatefulSets, or DaemonSets) in a namespace within a Huawei Cloud HSS cluster, so you can inspect and manage cluster resources.
Instructions
[HSS] 查询集群下某一命名空间下的工作负载
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"cluster_id": "<cluster_id>",
"namespace": "<namespace>",
"project_id": "<project_id>",
"workload_type": "<workload_type>"
},
"name": "hss__ListWorkLoads"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| namespace | Yes | 命名空间 | |
| cluster_id | Yes | 集群id | |
| project_id | Yes | **参数解释**: | |
| workload_type | Yes | 工作负载类型,包含如下: | |
| enterprise_project_id | No | **参数解释**: | 0 |