Official Alibaba Cloud SDK for managing Container Service (CS) clusters, including Kubernetes (ACK) and Swarm. Current version 4.8.1, actively maintained with monthly releases.
pip install aliyun-python-sdk-csNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
List all CS clusters using DescribeClustersRequest.
Use aliyunsdkcore.client.AcsClient. Also update all request imports to use versioned paths (e.g., v20151215).
Always specify a valid region ID (e.g., 'cn-hangzhou') when creating AcsClient.
Decode with .decode('utf-8') or use json.loads() directly on the bytes.Change to: from aliyunsdkcore.client import AcsClient
Provide a valid region ID, e.g., 'cn-hangzhou'. Region IDs are case-sensitive.
Call response = client.do_action_with_exception(request) which returns bytes, then json.loads(response).