skillfed

azure-mgmt-containerservice

Microsoft Azure Containerservice Management Client Library for Python

azure-mgmt-containerservice v41.5.0 10.8M downloads/30d#1,436 on PyPI5,588
Permissive license MIT Active released

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 on this page — 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

azure-mgmt-containerservice on PyPI

pip

pip install azure-mgmt-containerservice

uv

uv add azure-mgmt-containerservice

poetry

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 the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 3 — isodate, azure-mgmt-core, typing-extensions
Maintenance actively maintained — 21 days since the last release
Last repo commit
First released
Downloads 10,762,051/month — #1,436 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: azure_mgmt_containerservice-41.5.0-py3-none-any.whl

Keywords: azure, azure sdk

Development Status :: 5 - Production/StableProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14

Tags

azure kubernetes service managementaks cluster provisioning pythonazure container service apimanaged kubernetes on azureazure resource management sdk
azure-sdkkubernetes-managementinfrastructure-as-code

More Distributed Computing packages

grpcio

gRPC Python is an HTTP/2-based RPC framework…

permissive · top 100 on PyPI

execnet

execnet lets you spawn and communicate with…

permissive · top 1,000 on PyPI

cloudpickle

Cloudpickle extends Python's standard pickle…

permissive · top 1,000 on PyPI

smart-open

Provides a unified, open()-compatible Python…

permissive · top 1,000 on PyPI

portalocker

Portalocker provides cross-platform file…

permissive · top 1,000 on PyPI

ray

Ray is a distributed computing framework that…

permissive · top 1,000 on PyPI

azure-mgmt-resource-deployments

Manages Azure resource deployments…

permissive · top 5,000 on PyPI

azure-mgmt-resource

Provides Python bindings to manage Azure…

permissive · top 1,000 on PyPI

azure-mgmt-managedservices

Provides Python client library for managing…

unclear · top 15,000 on PyPI

azure-mgmt-servicefabricmanagedclusters

Manages Azure Service Fabric Managed Clusters…

unclear · top 5,000 on PyPI

azure-mgmt-compute

Provides Python bindings to manage Azure…

permissive · top 5,000 on PyPI

azure-mgmt-apimanagement

Provides Python client library for managing…

permissive · top 5,000 on PyPI

azure-mgmt-managementpartner

Provides a Python client library for managing…

unclear · top 5,000 on PyPI

azure-mgmt-containerregistrytasks

Provides Python client library for managing…

unclear · top 5,000 on PyPI

azure-mgmt-storage

Manages Azure Storage accounts, containers,…

permissive · top 5,000 on PyPI

azure-mgmt-containerregistry

Manages Azure Container Registry…

unclear · top 5,000 on PyPI