Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/loft-sh/devpod-provider-kubernetes
DevPod on Kubernetes
https://github.com/loft-sh/devpod-provider-kubernetes
Last synced: about 1 month ago
JSON representation
DevPod on Kubernetes
- Host: GitHub
- URL: https://github.com/loft-sh/devpod-provider-kubernetes
- Owner: loft-sh
- License: mpl-2.0
- Created: 2023-08-31T16:10:22.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-10T12:05:22.000Z (3 months ago)
- Last Synced: 2024-09-17T10:27:46.044Z (3 months ago)
- Language: Go
- Size: 25.5 MB
- Stars: 15
- Watchers: 4
- Forks: 13
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
- awesome-starts - loft-sh/devpod-provider-kubernetes - DevPod on Kubernetes (others)
README
# Kubernetes Provider for DevPod
[![Join us on Slack!](docs/static/media/slack.svg)](https://slack.loft.sh/) [![Open in DevPod!](https://devpod.sh/assets/open-in-devpod.svg)](https://devpod.sh/open#https://github.com/loft-sh/devpod-provider-kubernetes)
## Getting started
The provider is available for auto-installation using
```sh
devpod provider add kubernetes
devpod provider use kubernetes
```Follow the on-screen instructions to complete the setup.
### Creating your first devpod env with kubernetes
After the initial setup, just use:
```sh
devpod up .
```You'll need to wait for the pod and environment setup.
## Testing locally
1. Build the new version in a dev mode with some version tag (e.g. 0.0.1-dev)
```sh
chmod +x ./hack/build.sh
RELEASE_VERSION=0.0.1-dev ./hack/build.sh --dev
```
2. Remove the old provider from your devpod installation (make sure you delete all workspaces using the provider).
```sh
devpod provider delete kubernetes
```
3. Install the new provider from the local build
```sh
devpod provider add --name kubernetes --use ./release/provider.yaml
```
4. Test your provider, e.g. with `devpod up` command. Make sure you have a valid kubeconfig file in your home directory.
```sh
devpod up --provider kubernetes --debug
```