Spaces are Kubernetes namespaces that are managed through DevSpace Cloud. DevSpace CLI lets you create a kube-context for a Space, so you can access it directly with any Kubernetes tool, e.g. kubectl, helm or kustomize.
To create an isolated namespace inside any of your connect clusters, run:
devspace create space [space-name]
devspace list spaces
--all flag, if you are admin of a cluster or team and you want to see Spaces of others.
devspace use space [optional:space-name]
Prefix the Space name with
john:space-1), if you are admin of a cluster or team and you want to use another user's Space.
devspace remove space [space-name]
Deleting a Space will also delete the underlying Kubernetes namespaces, including all the persistent volumes created through this Space. Your data will be lost forever and cannot be recovered.
After deleting the Space, DevSpace will also remove the kube-context from your local kube-config file.