> ## Documentation Index
> Fetch the complete documentation index at: https://docs.infercrane.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Run with no outside connection

> What InferCrane does with no outside connection today, what it needs from a mirror inside your network, and what is not supported or not yet tested.

# Run with no outside connection

InferCrane is built to run where your models run, including a network with no route to the internet.
This page says what is checked today, what you have to mirror, and what doesn't work yet.

> [!WARNING]
>
> A named offline mode, one setting that refuses every outside call and says which feature needs one,
> is planned and not built. An install with no outside connection has not been run end to end:
> control plane, agent, engine, and an optimization run together. Treat the parts below that are not
> marked as checked as untested.

## Checked with no outside connection

Every release runs an offline journey (`scripts/product-acceptance.sh offline`). It builds the CLI and,
with its control plane pointed at an address that cannot resolve (`https://control.invalid`), checks
that it:

* prints its version and help;
* writes shell completion for bash, zsh, fish, and PowerShell;
* stores a context and its credential without contacting the control plane, then lists and shows
  it;
* generates a signing key readable only by its owner.

```bash Set up the CLI with no connection theme={"theme":"css-variables"}
export INFERCRANE_API_KEY="$YOUR_CONTROL_PLANE_KEY"
infercrane init --context airgap --url https://infercrane.internal --skip-check
infercrane context show
infercrane passport keygen --file ./passport-signing-key
```

## Nothing calls home

The control plane, gateway, and agent contain no call to an InferCrane service: run the control
plane in your own cluster and nothing is sent to InferCrane. The CLI contacts
`console.infercrane.com` only when you sign in to the hosted service (`infercrane login`). See
[Install on your GPU cluster](https://docs.infercrane.com/integrations/kubernetes-install.md#control-plane-in-your-cluster).

## What to mirror

| What | Where it comes from | How to serve it inside your network |
| - | - | - |
| The control-plane and agent image | `ghcr.io/infercrane/infercrane` | Mirror it into your registry and set the Helm chart's `image.repository` |
| PostgreSQL | Yours | Any PostgreSQL the control plane can reach |
| Engine images (vLLM 0.34.0, SGLang 0.5.23) | Docker Hub, pinned by digest | Mirror by digest, pre-pull with a DaemonSet, and set `INFERCRANE_KUBERNETES_IMAGE_CACHE_POLICY=required` so a missing image fails at once. See [pre-pull the runtime image](https://docs.infercrane.com/integrations/kubernetes.md#pre-pull-the-immutable-runtime-image) |
| Model weights | Hugging Face | A read-many volume that holds the Hugging Face cache, with `INFERCRANE_KUBERNETES_ARTIFACT_CACHE_POLICY=required` (see [reuse an immutable model cache](https://docs.infercrane.com/integrations/kubernetes.md#reuse-an-immutable-model-cache)), or an S3-compatible store inside your network, such as MinIO, through `infercrane models import` (see [your own bucket](https://docs.infercrane.com/integrations/kubernetes.md#private-models-your-own-bucket-and-lora-adapters)) |
| The images that fetch from a bucket | AWS CLI and Google Cloud CLI images, pinned by digest | Mirror them and set `INFERCRANE_KUBERNETES_S3_FETCH_IMAGE` or `INFERCRANE_KUBERNETES_GCS_FETCH_IMAGE` |
| The model's tokenizer, for measurement | Hugging Face | AIPerf, which drives the load in a measurement, reads it. Serving it from a local copy is untested |

Two parts of this are untested with no outside connection:

* **The engine starting from the cache volume.** InferCrane points the engine's Hugging Face cache at
  the volume, but on Kubernetes it does not set `HF_HUB_OFFLINE`, so whether vLLM or SGLang starts
  without trying to reach `huggingface.co` first is unknown.
* **Measurement.** A run's load generator needs the tokenizer named above.

## Plan without Hugging Face

Model metadata reads from Hugging Face are off unless the operator turns them on
(`INFERCRANE_HUGGING_FACE_METADATA_ENABLED`). Plan from the reviewed catalog
([Verified Models](https://docs.infercrane.com/features/model-catalog.md)), or give the planner a local copy of the model's
`config.json`:

```bash Plan setups offline theme={"theme":"css-variables"}
infercrane optimize propose MODEL --model-revision COMMIT --model-config ./config.json \
  --provider kubernetes --gpu GPU
```

Searching Hugging Face from the control plane returns `hugging_face_search_unavailable` when the
network blocks it, and nothing else changes.

## Not supported with no outside connection

| Feature | Why |
| - | - |
| The hosted control plane and dashboard, and `infercrane login` to them | They run on InferCrane's servers |
| The RunPod, AWS, and Google Cloud providers, and Model APIs | They call their cloud's or supplier's API. Use the Kubernetes provider |
| Run notifications (Slack and signed webhooks) | Deliveries go only to public HTTPS addresses |
| Checking a model outside the reviewed catalog automatically | It reads the model's metadata from Hugging Face |

## Next

* Install the control plane in your cluster: [Install on your GPU cluster](https://docs.infercrane.com/integrations/kubernetes-install.md).
* See what the agent sends when it talks to a control plane: [What leaves your cloud](https://docs.infercrane.com/architecture/agent.md#what-leaves-your-cloud).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.