Deploying ADK Agents on Azure Kubernates Service (AKS) — Gemini Blog | Neura Market
    Neura MarketNeura Market/Gemini
    ChatGPTChatGPTClaudeClaudeGeminiGeminiCursorCursorGrokGrokPerplexityPerplexityDeepSeekDeepSeek
    CoPilotCoPilotStable DiffusionStable DiffusionMidjourneyMidjourney
    View All Directories
    OverviewRulesPromptsMCPsAgentsBlogVideosGuidesCoursesCommunityGemsExtensionsTrendingGenerate
    GeminiBlogDeploying ADK Agents on Azure Kubernates Service (AKS)
    Back to Blog
    Deploying ADK Agents on Azure Kubernates Service (AKS)
    azure

    Deploying ADK Agents on Azure Kubernates Service (AKS)

    xbill April 4, 2026
    0 views

    Leveraging the Google Agent Development Kit (ADK) and the underlying Gemini LLM to build Agents in...

    --- title: Deploying ADK Agents on Azure Kubernates Service (AKS) published: true series: Azure date: 2026-04-04 22:47:18 UTC tags: azure,python,googleadk,geminicli canonical_url: https://xbill999.medium.com/deploying-adk-agents-on-azure-kubernates-service-aks-9e721b2321bc --- Leveraging the Google Agent Development Kit (ADK) and the underlying Gemini LLM to build Agents in the Python programming language deployed on the Azure Cloud platform. ![](https://cdn-images-1.medium.com/max/1024/1*VgWzbPpFIJ9j6kow7aDTfA.png) #### What is Gemini CLI? The Gemini CLI is an open-source, terminal-based AI agent from Google that allows developers to interact directly with Gemini models, such as Gemini 2.5 Pro, for coding, content creation, and workflow automation. It supports file operations, shell commands, and connects to external tools via the Model Context Protocol (MCP). The full details on Gemini CLI are available here: [Build, debug & deploy with AI](https://geminicli.com/) #### Azure Kubernates Service Azure Kubernetes Service (AKS) is a fully managed, serverless Kubernetes service on Microsoft Azure that simplifies deploying, scaling, and managing containerized applications. It handles critical tasks like health monitoring, maintenance, and automated upgrades, reducing operational complexity. AKS is used for microservices, DevOps, and cloud-native app development. More details are available here: [https://azure.microsoft.com/en-us/products/kubernetes-service](https://azure.microsoft.com/en-us/products/kubernetes-service) ![](https://cdn-images-1.medium.com/max/1024/1*eMMwY4QLVSziZjlb_OWyCg.png) #### Isn’t that Overkill? A whole Cluster Just for some Agents?! An entire cluster is a large deployment for just a basic ADK server. The goal was to validate that ADK servers can be deployed — and that opens the door for more complex deployments that can take advantage of the full services in the cluster. #### Why would I want Gemini CLI with Azure? Isn’t that a Google Thing? Yes- Gemini CLI leverages the Google Cloud console and Gemini models but it is also open source and platform agnostic. Many applications are already cross-cloud so this enables familiar tools to be run natively on Microsoft Azure. #### Python Version Management One of the downsides of the wide deployment of Python has been managing the language versions across platforms and maintaining a supported version. The **pyenv** tool enables deploying consistent versions of Python: [GitHub - pyenv/pyenv: Simple Python version management](https://github.com/pyenv/pyenv) As of writing — the mainstream python version is 3.13. To validate your current Python: ```console xbill@penguin:~/gemini-cli-azure/adkui-aks$ python --version Python 3.13.12 ``` #### Gemini CLI If not pre-installed you can download the Gemini CLI to interact with the source files and provide real-time assistance: ```console npm install -g @google/gemini-cli ``` #### Testing the Gemini CLI Environment Once you have all the tools and the correct Node.js version in place- you can test the startup of Gemini CLI. You will need to authenticate with a Key or your Google Account: ```console gemini ▝▜▄ Gemini CLI v0.33.1 ▝▜▄ ▗▟▀ Logged in with Google /auth ▝▀ Gemini Code Assist Standard /upgrade ``` #### Node Version Management Gemini CLI needs a consistent, up to date version of Node. The **nvm** command can be used to get a standard Node environment: [GitHub - nvm-sh/nvm: Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions](https://github.com/nvm-sh/nvm) To verify the Node version: ```console xbill@penguin:~/gemini-cli-azure$ nvm --version 0.40.3 xbill@penguin:~/gemini-cli-azure$ node --version v25.9.0 xbill@penguin:~/gemini-cli-azure$ npm --version 11.12.1 ``` #### Agent Development Kit The [Google Agent Development Kit](https://www.google.com/search?q=Google+Agent+Development+Kit&rlz=1CAIWTJ_enUS1114&oq=what+is+the+adk+google&gs_lcrp=EgZjaHJvbWUyBggAEEUYOTIICAEQABgWGB4yCAgCEAAYFhgeMggIAxAAGBYYHjIICAQQABgWGB4yCAgFEAAYFhgeMggIBhAAGBYYHjIKCAcQABgKGBYYHjINCAgQABiGAxiABBiKBTIKCAkQABiABBiiBNIBCDMxODlqMGo3qAIAsAIA&sourceid=chrome&ie=UTF-8&mstk=AUtExfB5Oo7ZHHcDEHu7aqZiPBA2l1c-QGh5dB7xkkDPIiYcn8O1Imt2IHNR7bzA6JnyDCSDCUGpGWTeBW14namlN_QqzJLLI5-px1BE9jfSxwli6njPDPERjm5pRqNP3uC6HhUKiRcTJ1T8x5LHQrCkVxylw7QWg0N8B4dQDIcWpnVX9Gc&csui=3&ved=2ahUKEwjYu-G8p-uSAxXrv4kEHUbpLo0QgK4QegQIARAB) (ADK) is an open-source, Python-based framework designed to streamline the creation, deployment, and orchestration of sophisticated, multi-agent AI systems. It treats agent development like software engineering, offering modularity, state management, and built-in tools (like Google Search) to build autonomous agents. The ADK can be installed from here: [Agent Development Kit (ADK)](https://google.github.io/adk-docs/) #### Where do I start? The strategy for starting Agent development is a incremental step by step approach. The agents in the demo are based on the original code lab: [Create and deploy low code ADK (Agent Deployment Kit) agents using ADK Visual Builder | Google Codelabs](https://codelabs.developers.google.com/codelabs/create-low-code-agent-with-ADK-visual-builder#0) First, the basic development environment is setup with the required system variables, and a working Gemini CLI configuration. Then, a minimal ADK Agent is built with the visual builder. Next — the entire solution is deployed to Google Cloud Run. #### Setup the Basic Environment At this point you should have a working Python environment and a working Gemini CLI installation. The next step is to clone the GitHub samples repository with support scripts: ```console cd ~ git clone https://github.com/xbill9/gemini-cli-azure ``` Then run **init.sh** from the cloned directory. The script will attempt to determine your shell environment and set the correct variables: ```console source init.sh ``` If your session times out or you need to re-authenticate- you can run the **set\_env.sh** script to reset your environment variables: ```console source set_env.sh ``` Variables like PROJECT\_ID need to be setup for use in the various build scripts- so the **set\_env** script can be used to reset the environment if you time-out. #### Azure Login All of the deployment is done with the az CLI tool- but it also needs an active login on the Azure environment. To check the version: ```console xbill@penguin:~/gemini-cli-azure$ az --version azure-cli 2.84.0 core 2.84.0 telemetry 1.1.0 Dependencies: msal 1.35.0b1 azure-mgmt-resource 24.0.0 Python location '/opt/az/bin/python3' Config directory '/home/xbill/.azure' Extensions directory '/home/xbill/.azure/cliextensions' Python (Linux) 3.13.11 (main, Feb 25 2026, 02:29:30) [GCC 12.2.0] Legal docs and information: aka.ms/AzureCliLegal Unable to check if your CLI is up-to-date. Check your internet connection. ``` To login to Azure: ```console az login ``` Then you will see a message after successful authentication: ```plaintext You have logged into Microsoft Azure! You can close this window, or we will redirect you to the Azure CLI documentation in 1 minute. ``` #### Verify The ADK Installation To verify the setup, run the ADK CLI with Agent3: ```console xbill@penguin:~/gemini-cli-azure/adkui-aks$ adk run Agent3 Log setup complete: /tmp/agents_log/agent.20260402_173311.log To access latest log: tail -F /tmp/agents_log/agent.latest.log /home/xbill/.local/lib/python3.13/site-packages/google/adk/cli/utils/agent_loader.py:277: UserWarning: [EXPERIMENTAL] _load_from_yaml_config: This feature is experimental and may change or be removed in future versions without notice. It may introduce breaking changes at any time. if root_agent := self._load_from_yaml_config(actual_agent_name, agents_dir): /home/xbill/.local/lib/python3.13/site-packages/google/adk/features/_feature_decorator.py:81: UserWarning: [EXPERIMENTAL] feature FeatureName.AGENT_CONFIG is enabled. check_feature_enabled() /home/xbill/.local/lib/python3.13/site-packages/google/adk/cli/cli.py:204: UserWarning: [EXPERIMENTAL] InMemoryCredentialService: This feature is experimental and may change or be removed in future versions without notice. It may introduce breaking changes at any time. credential_service = InMemoryCredentialService() /home/xbill/.local/lib/python3.13/site-packages/google/adk/auth/credential_service/in_memory_credential_service.py:33: UserWarning: [EXPERIMENTAL] BaseCredentialService: This feature is experimental and may change or be removed in future versions without notice. It may introduce breaking changes at any time. super(). __init__ () Running agent studio_director, type exit to exit. [user]: ``` #### Running the ADK Web Interface First- start the ADK interface: ```console xbill@penguin:~/gemini-cli-azure/adkui-aks$ adk web --host 0.0.0.0 2026-04-02 17:33:54,016 - INFO - service_factory.py:266 - Using in-memory memory service 2026-04-02 17:33:54,016 - INFO - local_storage.py:84 - Using per-agent session storage rooted at /home/xbill/gemini-cli-azure/adkui-aks 2026-04-02 17:33:54,016 - INFO - local_storage.py:110 - Using file artifact service at /home/xbill/gemini-cli-azure/adkui-aks/.adk/artifacts /home/xbill/.local/lib/python3.13/site-packages/google/adk/cli/fast_api.py:192: UserWarning: [EXPERIMENTAL] InMemoryCredentialService: This feature is experimental and may change or be removed in future versions without notice. It may introduce breaking changes at any time. credential_service = InMemoryCredentialService() /home/xbill/.local/lib/python3.13/site-packages/google/adk/auth/credential_service/in_memory_credential_service.py:33: UserWarning: [EXPERIMENTAL] BaseCredentialService: This feature is experimental and may change or be removed in future versions without notice. It may introduce breaking changes at any time. super(). __init__ () INFO: Started server process [23049] INFO: Waiting for application startup. +-----------------------------------------------------------------------------+ | ADK Web Server started | | | | For local testing, access at http://0.0.0.0:8000. | +-----------------------------------------------------------------------------+ INFO: Application startup complete. ``` #### Connecting to the ADK The ADK web interface is started with the place holder 0.0.0.0 address — which tells the service to listen on all interfaces. Depending on your local environment setup- you may need to use the actual local interface. There are 2 potential options: ```console http://0.0.0.0:8000 http://127.0.0.1:8000 ``` This will bring up the ADK UI: ![](https://cdn-images-1.medium.com/max/1024/1*xWaxWVv0UHhEsilLMVNjcQ.png) #### Run a Sub Agent Connect to the ADK and select “Agent3”: ![](https://cdn-images-1.medium.com/max/1024/1*1XT0KPIeQ-R7c-KQNmKMRA.png) The first interaction just verifies the connection to the agent: ```plaintext what do you do? I manage a linear pipeline of four ADK Sequential Agents to transform a user's seed idea into a fully rendered, responsive HTML5 comic book. If your request starts with "Create me a comic of...", I'll delegate the task to my sub-agent to begin the comic creation pipeline. Otherwise, I'll answer your question directly. ``` Give the Agent this prompt: ```plaintext Create a comic of Bob and Clippy in a Battle Royal with Tux. ``` The sub agent will then generate the comic book images: ![](https://cdn-images-1.medium.com/max/1024/1*BwPAfBtAkWJZyq5Mv60AEQ.png) #### Visual Build an Agent To use the ADK visual builder- select the pencil Icon next to Agent 2. You can drill down into the Agent design: ![](https://cdn-images-1.medium.com/max/1024/1*NonOfuTReIDEBmQ54scjoQ.png) #### What did I just do? The initial steps validate that the Python code and the ADK environment is functional and that the Agent code will run correctly. The next step is to deploy this environment to the Azure Kubernates Service. #### Deploying to Azure Kubernates Service To start the deployment: ```plaintext ✦ I will now run the deploy-aks.sh script ``` You can validate the final result by checking the messages: ```plaintext ✦ The ADK application has been successfully deployed to AKS. Deployment Summary: - Deployment Status: adk-app is Ready (1/1). - Pod Status: adk-app-dcf865487-nbfrj is Running. - Service Endpoint: http://4.155.123.101 (http://4.155.123.101) The application is now accessible at the public IP listed above. Let me know if you need anything else! ``` You can then get the endpoint: ```plaintext ✦ The public endpoint for the ADK application is: 4.155.123.101 ``` The service will be visible in the Azure console: ![](https://cdn-images-1.medium.com/max/1024/1*cjDyovtrajVO8-JA9LuKTg.png) #### Running the ADK Web Interface Start a connection to the Azure Deployed ADK. This will bring up the ADK UI: ![](https://cdn-images-1.medium.com/max/1024/1*yA3LjTUq8_Pl7s4z3NODWg.png) Select the sub-agent “Agent3” and ask the Agent to create a comic about Bit: ```plaintext Bit the Raccoon is a popular, unofficial community mascot for Microsoft Azure, specifically representing the Cloud Advocate team and open-source initiatives. Created by Ashley McNamara, Bit is often depicted in tech-related, helpful scenarios to make complex cloud concepts more accessible and approachable to developers. X X +2 Role: Known as the "Developer Advocate Mascot," Bit is often used in presentations and content to represent the "open" aspect of Azure. Context: While Azure has an official anime-style mascot in Japan (Claudia Madobe), Bit is beloved within the broader developer community as a fun, tech-savvy character. Appearance: Bit is usually styled as an adorable, helpful raccoon, sometimes accompanied by other community mascots like "Brady the Ninja Sloth." GitHub GitHub Bit is a favorite for stickers and frequently appears on social media to highlight new Azure features. Create a story about bit ``` The Agent will get to work: ![](https://cdn-images-1.medium.com/max/1024/1*IlScIg9GAgBWUZbel9rwOg.png) #### Run the Viewer Agent Connect to the ADK and select “Agent4”: ```plaintext I've exported the comic as ADK artifacts for you! You can now view the comic directly within the ADK environment. Please check the 'Artifacts' pane or tab in your ADK Visual Builder / Studio UI. You'll find the following: view_full_comic.html: This is a complete, self-contained HTML file with embedded images for the full comic experience. comic_preview.md: A markdown summary of the comic. Individual panel images (e.g., panel_panel_1.png). If you are working in a local terminal, you can still view the original local files by opening output/comic.html in your browser or by running ./comic.sh. However, the ADK artifacts are the best way to view it while hosted! ``` The Agent will generate the artifacts: ![](https://cdn-images-1.medium.com/max/1024/1*GS_hBQoqdg0qNm4hyh-oSg.png) The Comic can then be viewed: ![](https://cdn-images-1.medium.com/max/1024/1*1cQXm_lrfQWa5diZjP3-YQ.png) #### Summary The Agent Development Kit was used to visually define a basic agent and added a tool that calls the Image Gemini Model. This Agent was tested locally with the CLI and then with the ADK web tool. Then, the Agent was packaged and deployed to the Azure Kubernates Service. Several sample ADK agents were run directly from the deployment in Azure. This approach validates that cross cloud tools can be used — even with more complex agents.

    Tags

    azurepythongoogleadkgemini

    Comments

    More Blog

    View all
    How to prompt Gemini 3.1's new text to speech modelai

    How to prompt Gemini 3.1's new text to speech model

    Gemini 3.1 Flash text to speech (TTS) is a new model that you can direct to get the precise audio...

    F
    fofr
    Building Multimodal Real Time Agent with ADK, Azure AKS, Gemini CLI, and Gemini Flash Live 3.1googleadk

    Building Multimodal Real Time Agent with ADK, Azure AKS, Gemini CLI, and Gemini Flash Live 3.1

    Leveraging the Google Agent Development Kit (ADK) and the underlying Gemini LLM to build cross cloud...

    X
    xbill
    Building a Multimodal Agent with the ADK, Amazon ECS Express, and Gemini Flash Live 3.1googleadk

    Building a Multimodal Agent with the ADK, Amazon ECS Express, and Gemini Flash Live 3.1

    Leveraging the Google Agent Development Kit (ADK) and the underlying Gemini LLM to build Agentic apps...

    X
    xbill
    Building a Multimodal Agent with the ADK, Amazon Lightsail, and Gemini Flash Live 3.1python

    Building a Multimodal Agent with the ADK, Amazon Lightsail, and Gemini Flash Live 3.1

    Leveraging the Google Agent Development Kit (ADK) and the underlying Gemini LLM to build Agentic apps...

    X
    xbill
    Building a Multimodal Cross Cloud Live Agent with ADK, Amazon EKS, and Gemini CLIpython

    Building a Multimodal Cross Cloud Live Agent with ADK, Amazon EKS, and Gemini CLI

    Leveraging the Google Agent Development Kit (ADK) and the underlying Gemini LLM to build cross cloud...

    X
    xbill
    Building a Multimodal Agent with the ADK, Azure ACA, and Gemini Flash Live 3.1googleadk

    Building a Multimodal Agent with the ADK, Azure ACA, and Gemini Flash Live 3.1

    Leveraging the Google Agent Development Kit (ADK) and the underlying Gemini LLM to build Agentic apps...

    X
    xbill

    Stay up to date

    Get the latest Gemini prompts, rules, and resources delivered to your inbox weekly.

    Neura Market LogoNeura Market

    Discover the best AI prompts, plugins, and resources for Gemini and more.

    Content Types

    • Rules
    • Prompts
    • MCPs
    • Agents
    • Guides

    Platforms

    • ChatGPT Directory
    • Claude Directory
    • Gemini Directory
    • Cursor Directory
    • Grok Directory
    • Perplexity Directory
    • DeepSeek Directory
    • CoPilot Directory
    • Stable Diffusion Directory
    • Midjourney Directory
    • All Directories

    Resources

    • Blog
    • Documentation
    • Help Center
    • Marketplace

    Legal

    • Privacy Policy
    • Terms of Service

    © 2026 Neura Market. All rights reserved.

    |

    Not affiliated with any AI platform vendors.