通过执行arc-cs cluster list命令查看您在容器服务中创建的所有集群。

背景信息

关于该命令的详细参数说明,请参见API文档查询所有集群列表

CLI示例

请求示例:

arc-cs cluster list

返回结果示例:

{
    "clusters":[
        {
            "clusterId":"c79583114a89745e3978349e3fda5****",
            "clusterType":"Kubernetes",
            "created":"2020-12-30T19:02:12+08:00",
            "initVersion":"1.16.6-aliyun.1",
            "currentVersion":"1.16.6-aliyun.1",
            "nextVersion":"1.16.9-aliyun.1",
            "deletionProtection":false,
            "dockerVersion":"19.03.5",
            "externalLoadbalancerId":"lb-gw87xdtbuu9c7hw3f****",
            "name":"K8S-738686fa-4a8e-11eb-b743-0242c0a8****",
            "networkMode":"vpc",
            "privateZone":false,
            "profile":"",
            "regionId":"eu-central-1",
            "resourceGroupId":"rg-acfmoiyerhu****",
            "securityGroupId":"sg-gw82uvas7slk54ry****",
            "size":5,
            "state":"delete_failed",
            "subnetCidr":"172.16.0.0/16",
            "tags":[
                {
                    "key":"ack.aliyun.com",
                    "value":"c79583114a89745e3978349e3fda5****"
                }
            ],
            "updated":"2021-01-05T14:25:07+08:00",
            "vpcId":"vpc-gw8er5r9mhz6h6a38****",
            "vswitchId":"vsw-gw8tk6gecif0eu9ky****",
            "workerRamRoleName":"",
            "zoneId":"eu-central-1b",
            "clusterSpec":"",
            "maintenanceWindow":{
                "enable":false,
                "maintenanceTime":"",
                "duration":"",
                "weeklyPeriod":""
            }
        }
    ],
    "pageInfo":{
        "pageNumber":1,
        "pageSize":50,
        "totalCount":1
    }
}