Frequently asked questions about bring your own AKS (preview)

Important

Hosted agent on your own AKS cluster is currently in PREVIEW. See the Supplemental Terms of Use for Microsoft Azure Previews for legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.

Answers apply to the Microsoft Foundry bring your own Azure Kubernetes Service (AKS) preview unless stated otherwise.

Product and scope

What is bring your own AKS?

Bring your own AKS runs Foundry hosted-agent sessions on a customer-owned AKS cluster and dedicated node pool. Foundry continues to provide the agent platform and control plane.

How does it differ from fully managed hosting?

Agent execution moves to customer-owned AKS. You operate AKS and its supporting infrastructure; Microsoft operates Foundry and the Foundry-managed components installed in the cluster.

What work does Foundry continue to manage?

Foundry manages agent resources, sessions, sandbox scheduling, agent identity, governance, semantic observability, and platform components. You do not need to assemble the complete agent platform yourself.

Who should use bring your own AKS?

It is intended for customers who require agent execution inside their AKS governance boundary while retaining a Foundry-managed agent platform.

Is this a self-hosted Foundry deployment?

No. The Foundry control plane and agent platform remain required.

Do governance approvals for Foundry automatically apply?

No. Review the BYO-AKS deployment, isolation, and shared-responsibility model against your own governance requirements.

Do agent APIs or the programming model change?

The agent contract and APIs remain the same. The hosting target changes. For this preview, deploy a supported container image through the hosted-agent flow.

Setup and cluster compatibility

What must we prepare?

Prepare a supported AKS cluster, a dedicated Kata-enabled agent node pool, storage, Azure Container Registry, a delegated subnet, monitoring, and separate hosting and workload managed identities.

Can we use an existing AKS cluster?

Yes, if it meets the documented requirements. You are responsible for making any required cluster or governance changes.

Can agents share a node pool with other workloads?

Use a dedicated, labeled, Kata-enabled node pool for agent sessions.

What does Foundry install?

Foundry installs and operates the components required to manage agent workloads, private ingress, and platform integration.

Can installation permissions be revoked later?

No. The documented hosting permissions are required for ongoing operation and maintenance.

Does Foundry bypass our AKS policies?

No. Customer security, admission, and network policies remain execution constraints. You must explicitly allow required platform traffic.

Can Azure Policy restrict BYO-AKS usage?

Yes. You can use Azure Policy to audit or block Foundry account configurations based on your governance rules.

Is a service mesh, such as Istio, compatible with BYO-AKS?

It depends on how Istio is used. Running the Istio control plane at cluster level should be fine if Foundry namespaces aren’t enrolled in the mesh. Conflicts may arise when Istio’s data plane—sidecars, CNI, mTLS, ingress, or egress—is applied to Foundry workloads. For example, both Foundry and Istio may intercept HTTPS traffic on port 443, potentially causing double proxying, policy bypass, loops, or failures.

Can we use self-hosted and private image registries?

Yes. However third-party registries, such as JFrog Artifactory, and self-hosted registries, such as Harbor, require a native Kubernetes kubelet credential provider installed and configured on every eligible sandbox node before the cluster is onboarded to Foundry.

Can we deploy directly from source code?

No for this preview documentation path. Build or supply a supported container image. You can use Azure Container Registry remote build or a local build process.

How many clusters can one Foundry account use?

The preview binds one Foundry account to one supported AKS cluster. After you set the hosting configuration, you can't change its cluster, identities, or storage account, or remove it.

Who pulls the agent image?

The customer AKS kubelet identity pulls the image.

Do existing image scanning and provenance controls apply?

Yes. Apply the same customer container scanning, signing, and provenance controls used for other AKS workloads.

Are Terraform, GitOps, or Helm supported?

Terraform and GitOps are supported for customer-managed infrastructure workflows. Helm is not the Foundry deployment interface for managed platform components.

Is AKS Node Auto-Provisioning supported?

Yes. The agent node pool must still meet the pod-sandboxing requirements.

Are AKS Flex Nodes supported?

No. Pod Sandboxing requires Azure Linux, while Flex Nodes do not provide the required configuration.

What is stored in customer storage?

In the preview, customer storage contains session snapshots and platform telemetry.

Security, identity, and data

How are sessions isolated?

Each session runs in a Kata microVM on the dedicated agent node pool. Agent code runs without elevated privileges.

Can agent code access AKS or Foundry management credentials?

No. The sandbox does not contain AKS-management or Foundry-platform credentials. Agent identities have no infrastructure-management permissions by default.

How do agents access customer tools and data?

Foundry creates a dedicated identity for each agent. You grant that identity access to approved resources. Platform, snapshot, ingress, and agent identities remain separate.

How is image content fixed for an agent version?

Image tags are resolved to immutable digests so sessions for an agent version use the same image content.

What data can leave the customer network?

Traffic can include model requests and prompts, agent egress, Foundry platform telemetry, customer telemetry, and Microsoft Entra token requests when agent identity is used.

Where is session state stored?

When a session stops, Foundry snapshots the session home directory to customer-owned storage and restores it when the session resumes. This does not restore process memory or all application state.

How is telemetry separated between projects?

Each project maps to a separate Kubernetes namespace and configured Application Insights destination. An invalid destination stops export instead of falling back to another project.

What telemetry can Microsoft access?

Microsoft can access Foundry component logs in the foundry-system namespace for maintenance and support.

Networking

Can BYO-AKS use private networking?

Yes. Enable Foundry BYO-VNet for private Foundry-to-AKS traffic and configure private ingress and egress for the Foundry account as required.

Is Foundry BYO-VNet still required?

Enable it when you require private Foundry-to-AKS traffic. Without it, Foundry-to-cluster traffic uses the public network with Foundry authentication.

Are private AKS clusters supported?

Yes.

Can traffic use customer firewalls and user-defined routes?

Yes. Configure them to allow the required platform traffic.

Which destination is required for platform telemetry?

Allow the required Azure Blob Storage endpoints, including *.blob.core.windows.net, according to the documented network requirements.

Is arbitrary TCP egress supported?

No. Use the supported HTTP and HTTPS outbound model.

Operations, performance, and cost

Who operates each layer?

Microsoft installs, patches, upgrades, and operates Foundry-managed components. You operate AKS, node pools, security, upgrades, capacity, networking, storage, infrastructure monitoring, and remediation in those layers.

Can we modify Foundry-managed resources?

No. Do not modify or remove Foundry-managed resources.

Can we control platform-component maintenance windows?

Microsoft performs platform-component upgrades automatically. Customer approval, deferral, validation, and rollback controls are not defined for the preview.

How does billing work during public preview?

Running hosted agents on your own Azure Kubernetes Service (AKS) cluster involves two separate charges:

  • Azure Kubernetes Service (AKS): The compute, storage and networking for your cluster are billed to your Azure subscription at standard Azure rates from the day you deploy.
  • Hosted agents in Foundry Agent Service: At the start of the public preview, this charge is not billed. Billing will begin during the public preview, not at general availability. We'll announce pricing and notify customers at least 30 days before Foundry charges begin, through email to subscription owners.

Preview scope and exit

Can we use the preview for production?

In general we recommend you to use preview products for nonproduction environments.

What can we validate?

Validate cluster compatibility, policy, identity, networking, storage, agent deployment, operations, and shared troubleshooting workflows.

What is outside the preview scope?

Production readiness, high concurrency, arbitrary cluster compatibility, full monitoring parity, portal provisioning, and channel publishing.

Does it support OpenShift, on-premises Kubernetes, or other clouds?

No. The current preview supports qualified AKS configurations only.

What happens when we disconnect a cluster?

You can't remove the AKS hosting configuration from a Foundry account. To disconnect the cluster, delete the Foundry account. Deleting the account removes the Foundry components installed in the cluster. Keep the AKS cluster running and the hosting identity and its role assignments in place until the deletion finishes. Otherwise, Foundry components can remain in the cluster. After the deletion finishes, review and remove remaining customer-managed permissions, data, storage, and supporting resources separately.