Creating a Mesh Service
Creating Fine Mesh Services
Notes:
- You have no obligation to follow this guide, this is just one way to do all this.
- This guide is intended as an overview of steps for volunteers familiar with the relevant technologies.
Internal HTTP Service
- Create a GitHub repo in nycmeshnet
- Example: nycmeshnet/nycmesh-pastebin
- Create a VPN config for deployment
- Example: nycmeshnet/vpn-infra/pull/293
- Create a DNS zones, records, and ACLs to allow for Let's Encrypt DNS-01 challenges
- Example: nycmeshnet/nycmesh-dns/pull/341
- Create load balancer config for the service. Only deploy after dns is merged.
- Example: nycmeshnet/k8s-infra/pull/222
- Setup CICD via GitHub Actions
- Example: .github/workflows
- Set environment secrets for your dev and prod environments
- SSH_TARGET_IP = IP of k8s manager node
- SSH_USER = username for the ssh connection
- SSH_PRIVATE_KEY = ssh private key for k8s manager node
- SSH_KNOWN_HOSTS = output of "ssh-keyscan <IP of k8s manager node>"
- WIREGUARD_PRIVATE_KEY = the wireguard private key from step 2
- Set environment secrets for your dev and prod environments
- Example: .github/workflows
- Add your new service to the list
No comments to display
No comments to display