Run a cluster with no internet access

DevOps, Hands On20 minutesLook onlySteps checked 19 November 2026By Cloud Hands On

In this task you'll plan a cluster that must never reach the internet.

An air-gapped (or network-isolated) cluster has no route to the internet: common in defence, health and finance. Everything it needs must come from inside: container images from a private registry, Helm charts from a private repository, and operating system and node image updates from approved sources.

The usual pattern is a controlled import step: scan and approve images outside, copy them into a private registry (for example az acr import into ACR), pin them by digest, and deploy only from there. AKS supports private clusters (no public API server) and network-isolated clusters that pull what they need from a private ACR.

Example. Quayhurst Health's patient records cluster can't reach the internet. A pipeline in a separate subscription scans each approved image, imports it into a private ACR, and the cluster's admission policy rejects any image from another registry.

Before you start

You need: Nothing. Time: 20 minutes.

Where to look

  1. AKS cluster
  2. Networking
  3. Container registries

Steps

  1. List every outside dependency: images, charts, packages, time and DNS servers, and monitoring endpoints.
  2. Set up a private registry and an import pipeline that scans and approves before copying.
  3. Refer to images by digest, and add a policy that only allows your registry.
  4. Test by blocking outbound traffic and deploying from scratch.

Commands

# Copy an approved image into your private registry
az acr import -n <registry> --source docker.io/library/nginx:1.27 --image approved/nginx:1.27
az acr repository show -n <registry> --image approved/nginx:1.27 --query digest

Watch out for

Cost
Private endpoints, a Premium ACR and import pipelines add cost.
Security
The import step is now the trust boundary: protect and audit it.
Common mistakes
Forgetting dependencies such as Helm hooks, init containers or sidecars that pull from public registries.

Clean up

Nothing to clean up.

Words to know

Air-gapped cluster
A cluster with no network path to the internet.
Private registry
A container registry only your networks can reach, such as ACR with a private endpoint.
Image digest
An image's fixed content hash (sha256:...), which never changes, unlike a tag.
Private cluster
An AKS cluster whose API server has no public address.

Tick off each step and track your progress in the guide.

Open this task in DevOps, Hands On

Keep going