Choose a Project
You can either deploy one of your own projects or alternatively, checkout one of our demo applications using git:
- Your Own Project
After finishing this Getting Started Guide, make sure to also check out one of these tutorials:
Initialize Your Project
Run this command in your project directory to create a
devspace.yaml config file for your project:
While initializing your project, DevSpace will ask you a couple of questions and then create the config file
devspace.yaml which will look similar to this one:
To develop and deploy your project with DevSpace, you need a valid kube-context because DevSpace uses the kube-config file just like kubectl or helm.
- Local Cluster
- Remote Cluster
Local clusters run on your local dev machine and include: minikube, kind, k3s, mikrok8s etc.
If you want to deploy to a local Kubernetes cluster, make sure your current kube-context points to this cluster and tell DevSpace which namespace to use:
Running the command above will change the default namespace of your kube-context, i.e. instead of using the
kubectl and other tools will now use a different namespace when working with this kube-context. That also means, you will not always need to use the
--namespace / -n flag.