Answer: For Kubernetes, deploy a Deployment with replicas: 3 mounting a persistentVolumeClaim named copilot-sessions-pvc at /root/.copilot/session-state, plus a Service on port 4321. For Azure Container Instances, mount an azureFile share named copilot-sessions at /root/.copilot/session-state. Status: Confirmed Entry: tool/github-copilot/install-and-setup/container-deployments Revision: 3 Digest: sha256:d581485e130671d8 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:29:10Z Last changed: 2026-11-19T13:03:22Z (Azure file share name: — → copilot-sessions) Last verified: 2026-11-20T13:09:46Z Next check: 2026-11-21T13:09:46Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Kubernetes replicas | 3 | [1] | 2026-11-20 Kubernetes persistent volume claim | copilot-sessions-pvc | [1] | 2026-11-20 Kubernetes mount path | /root/.copilot/session-state | [1] | 2026-11-20 Kubernetes container port | 4321 | [1] | 2026-11-20 Azure file share name | copilot-sessions | [1] | 2026-11-20 Azure storage account name | myaccount | [1] | 2026-11-20 Sources: [1] GitHub. "Scaling and multi-tenancy - GitHub Docs". https://docs.github.com/en/copilot/how-tos/copilot-sdk/setup/scaling Role: primary. Accessed: 2026-11-20T13:09:46Z Quote: "replicas: 3" (Supports: Kubernetes replicas) Quote: "claimName: copilot-sessions-pvc" (Supports: Kubernetes persistent volume claim) Quote: "mountPath: /root/.copilot/session-state" (Supports: Kubernetes mount path) Quote: "containerPort: 4321" (Supports: Kubernetes container port) Quote: "shareName: copilot-sessions" (Supports: Azure file share name) Quote: "storageAccountName: myaccount" (Supports: Azure storage account name) Snapshot SHA-256: 96b1b58fa8254d1669f66715dcf15624502f5b4e5959224d02eeeb61424d8706 (captured 2026-11-18T13:05:06Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-18T13:05:08Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:09:46Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:09:46Z Last attempt: 2026-11-20T13:09:46Z Notes and limitations: Extracted automatically from a single official source (section "Container deployments"). Related: https://latestn.com/tool/github-copilot/install-and-setup/copilot-agents-prerequisites What prerequisites do I need before using Copilot agents on GitHub? https://latestn.com/tool/github-copilot/install-and-setup/copilot-app-prerequisites What are the prerequisites for installing the GitHub Copilot app? https://latestn.com/tool/github-copilot/install-and-setup/copilot-cli-prerequisites What are the prerequisites for installing GitHub Copilot CLI? https://latestn.com/tool/github-copilot/install-and-setup/cli-quickstart How do I get started with GitHub Copilot CLI? https://latestn.com/tool/github-copilot/install-and-setup/configure-local-cli-binary How do I configure the GitHub Copilot SDK to use a local CLI binary? https://latestn.com/tool/github-copilot/install-and-setup/connect-copilot-cli-client-ghes How do I connect my GitHub Copilot CLI client to a GitHub Enterprise Server instance? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-19T13:03:22Z | changed | Azure file share name: — → copilot-sessions | [1] 2026-11-19T13:03:22Z | changed | Azure File share name: copilot-sessions → — | [1] 2026-11-17T13:28:09Z | changed | Azure File share name: — → copilot-sessions | [1] 2026-11-17T13:28:09Z | changed | Azure file share name: copilot-sessions → — | [1] 2026-11-13T03:29:10Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/github-copilot/install-and-setup/container-deployments/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/github-copilot/install-and-setup/container-deployments POST: https://latestn.com/dispute/tool/github-copilot/install-and-setup/container-deployments with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/github-copilot/install-and-setup/container-deployments?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I deploy the GitHub Copilot SDK in Kubernetes or Azure Container Instances with persistent storage? Revision 3, last verified 2026-11-20T13:09:46Z. https://latestn.com/tool/github-copilot/install-and-setup/container-deployments (accessed 2026-11-21T09:53:15Z). @misc{LatestN_tool_github_copilot_install_and_setup_container_deployments_r3, title = {How do I deploy the GitHub Copilot SDK in Kubernetes or Azure Container Instances with persistent storage?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/github-copilot/install-and-setup/container-deployments}}, note = {Revision 3; digest sha256:d581485e130671d8; last verified 2026-11-20T13:09:46Z; accessed 2026-11-21T09:53:15Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/github-copilot/install-and-setup/container-deployments