feat: Deploy Headscale server to tiny Kubernetes cluster for lab VPN evaluation#788
Draft
feat: Deploy Headscale server to tiny Kubernetes cluster for lab VPN evaluation#788
Conversation
Co-authored-by: bancey <23360105+bancey@users.noreply.github.com>
Contributor
Plan Result (test_vpn_gateway) |
Contributor
Plan Result (generate_ansible_inventory) |
Contributor
Plan Result (prod_twingate) |
Contributor
Plan Result (prod_vpn_gateway) |
Contributor
Plan Result (test_gameserver) |
Contributor
Plan Result (prod_gameserver) |
Copilot
AI
changed the title
[WIP] Deploy and configure Headscale server for lab VPN
feat: Deploy Headscale server to tiny Kubernetes cluster for lab VPN evaluation
Oct 7, 2025
Contributor
Plan Result (prod_dns) |
Contributor
Plan Result (tiny_virtual_machines) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
This PR deploys Headscale, a self-hosted Tailscale control server, to the tiny Kubernetes cluster for lab VPN evaluation. Headscale provides an open-source alternative to Twingate for VPN connectivity management in the lab environment.
What's Changed
Helm Repository Configuration
kubernetes/flux/repositories/helm/gabe565.yaml)Headscale Deployment
Created complete application manifests in
kubernetes/apps/base/headscale/:namespace.yaml - Dedicated
headscalenamespace for isolationrelease.yaml - HelmRelease with production-ready configuration:
lab.localdomainsecret.sops.yaml - SOPS-encrypted secret template for OIDC and Noise protocol keys
kustomization.yaml - Kustomize configuration for the application
README.md - Comprehensive documentation including deployment steps, usage instructions, and troubleshooting
Network Configuration
The deployment is configured to integrate with the existing lab infrastructure:
lab.localbase domainAccess Control Configuration
ACLs are configured with three groups inspired by the existing Twingate structure:
Cluster Integration
kubernetes/apps/tiny/kustomization.yamlto include Headscale deploymentREADME.mdwith reference to Headscale documentationDeployment Process
Once merged, Flux GitOps will automatically:
Usage
After deployment, administrators can:
Full usage instructions and troubleshooting steps are available in
kubernetes/apps/base/headscale/README.md.Future Enhancements
This deployment is configured for evaluation. For production use, consider:
Testing
All YAML manifests have been validated with
yamllintand follow repository conventions. The configuration has been verified against existing deployment patterns (Twingate, monitoring stack, etc.).Closes #[issue-number]
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.