--- id: azure-mgmt-containerservice version: "41.5.0" license: MIT license_treatment: permissive maintenance: active --- # azure-mgmt-containerservice — Microsoft Azure Containerservice Management Client Library for Python License: permissive · Maintenance: active · Downloads: 10.8M/mo ## What it is and what it does This is the official Microsoft Azure SDK for managing Azure Container Service (primarily Azure Kubernetes Service / AKS) resources from Python. It wraps the Azure Resource Manager API, allowing you to programmatically create, update, delete, and inspect AKS clusters, agent pools, and related networking and security configurations. The package depends on isodate for date handling, azure-mgmt-core for common Azure SDK patterns, and typing-extensions for type hints. You use it by instantiating a ContainerServiceClient with Azure credentials and then calling operation groups to manage cluster lifecycle, scaling, upgrades, and monitoring. It requires Python 3.10 or later and is actively maintained as part of the broader Azure SDK for Python ecosystem. Use it for: - Automate AKS cluster provisioning and teardown in CI/CD pipelines or infrastructure-as-code workflows. - Programmatically scale agent pools or update cluster configurations in response to application demand. - Integrate cluster management into custom Python tools or dashboards for multi-cluster operations. - Retrieve cluster status, upgrade profiles, and node metrics for monitoring or compliance auditing. - Manage identity bindings, maintenance windows, and security profiles across multiple AKS deployments. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides Python bindings to manage Azure Container Service resources (AKS clusters, agent pools, and related infrastructure) via the Azure Resource Manager API. Yes. This is the official, actively maintained Azure SDK for container service management in Python. Install it if you need to manage AKS clusters programmatically. The low install friction, permissive license, recent release cycle, and zero known vulnerabilities make it a reliable choice for Azure-native infrastructure automation. ## Install pip install azure-mgmt-containerservice uv add azure-mgmt-containerservice poetry add azure-mgmt-containerservice ## Installing azure-mgmt-containerservice Before you install: Low friction install with three lightweight runtime dependencies. Actively maintained with a release 21 days old; repository shows recent commits and substantial community engagement (5588 stars). License in practice: MIT license permits commercial use, modification, and distribution with minimal restrictions—suitable for most projects. Quickstart: pip install azure-mgmt-containerservice from azure.mgmt.containerservice import ContainerServiceClient from azure.identity import DefaultAzureCredential import os sub_id = os.getenv("AZURE_SUBSCRIPTION_ID") client = ContainerServiceClient(credential=DefaultAzureCredential(), subscription_id=sub_id) Requires Python 3.10 or later and Azure credentials configured via environment variables (AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, AZURE_SUBSCRIPTION_ID). Verify before relying: - Exact scope of container service operations available (e.g., cluster CRUD, node pool management, monitoring integration) beyond what the release notes enumerate. - Whether all operation groups mentioned in the 41.3.0b1 release (e.g., load_balancers, mesh_memberships, jwt_authenticators) are stable in 41.5.0 or still in beta. - Whether azure-identity is a required runtime dependency or only recommended for authentication. ## Package facts - License: MIT (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 10.8M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags azure kubernetes service management, aks cluster provisioning python, azure container service api, managed kubernetes on azure, azure resource management sdk, azure-sdk, kubernetes-management, infrastructure-as-code [View on SkillFed](https://skillfed.io/packages/azure-mgmt-containerservice) · [View on PyPI](https://pypi.org/project/azure-mgmt-containerservice/)