Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/taliesins/localdev-wsl
Automated WSL Kubernetes environment with custom Kernel. Comes fully loaded for AI and SaaS development.
https://github.com/taliesins/localdev-wsl
ai developer-experience kubernetes-deployment saas wsl2
Last synced: 1 day ago
JSON representation
Automated WSL Kubernetes environment with custom Kernel. Comes fully loaded for AI and SaaS development.
- Host: GitHub
- URL: https://github.com/taliesins/localdev-wsl
- Owner: taliesins
- Created: 2024-03-16T18:38:17.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-11-14T21:28:04.000Z (2 months ago)
- Last Synced: 2024-11-14T22:26:51.674Z (2 months ago)
- Topics: ai, developer-experience, kubernetes-deployment, saas, wsl2
- Language: Jinja
- Homepage:
- Size: 155 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# localdev-wsl
Setup local wsl instance for development
## Setup WSL instance
Run `1-setup-wsl.ps1`
This script will update the WSL engine, download a custom kernel, configure WSL network options and fix nvidia driver linking issues. Then it will install Docker, MicroK8S and then will configure Kubernetes.
## Setup local instance
Run `2-setup-local.ps1`
This script will download Docker CLI, Docker Compose and Docker BuildX. It will configure Docker CLI to use Docker running on WSL. It will setup and configure Unbound to wildcard dns domains to ingress running in Kubernetes on WSL.
## Uninstall WSL instance
Run `wsl --unregister Ubuntu-22.04`
### Customization of Ansible variables
To set overriden variables:
* `wsl`
* `cd $HOME/localdev-wsl-overrides`
* Configure as required## Open this project in DevContainer
Will need to modify `devcontainer.json` by changing `source=/mnt/c/data/localdev-wsl,target=/src,type=bind` to your project path `source=/mnt/c/< your path>/localdev-wsl,target=/src,type=bind`
# Acknowledgments
Most of the code comes from:
https://github.com/jasonwc/setup