Local Registry
DevSpace now makes it even easier to start developing on Kubernetes. In many cases, it can be difficult to get started when you don't have an established way of pushing images between your local environment and a remote cluster. Setting up a registry when you're only evaluating Kubernetes and DevSpace is sometimes too much to ask.
DevSpace will detect whether you are using a local or remote cluster. When using a remote cluster DevSpace will check if you have push permissions to the image's registry. When you do not have push permissions, DevSpace will deploy an image registry to your cluster with a NodePort service, start port forwarding between your localhost
and the registry pod, and update your image URLs to use the new localhost
registry URL. The remote cluster will now resolve images from the deployed registry.
For cases when you are using a local Kubernetes cluster, or have push permissions to a remote registry, DevSpace will behave exactly as before. No additional configuration is needed in devspace.yaml
, but if you wish to enabled persistence for the local registry, or use a custom registry image, configuration options are available.
What's Changed
- Add dark-green color for completed state pods in UI by @mahendrabagul in #2335
- Improve arch detection of pod when installing devspacehelper by @pratikjagrut in #2336 and @FabianKramm in #2381
- Fallback to ssh if https doesn't work when cloning dependencies by @pratikjagrut in #2330 & #2355
- Allow importing require statements and show all failures by @dtomasi in #2354
- Add disabled flag for dependencies to avoid resolving all dependencies by @lizardruss in #2361
- Add proper schema validation for vars by @mahendrabagul in #2343
- Fix an issue when authenticating with Azure Container Registry (ACR) by @lizardruss in #2376
- Add Hooks page in docs by @mahendrabagul in #2364
- Local registry by @lizardruss in #2326
- Support "~" (home) at the start of sync path by @matskiv in #2384
Other Changes
- Add is_in function docs by @alexissellier in #2307
- Fix a tiny typo by @lianmakesthings in #2311
- Hide deprecated printLogs & remoteExec configs in docs by @carlmontanari in #2312
- Remove use profile command docs by @alexissellier in #2320
- Replace chmod/mv with install command in docs by @tradel in #2327
- Remove incorrect docs about environment variables with PowerShell by @lizardruss in #2340
- Correct function return value docs by @pratikjagrut in #2347
- Fix semantic error in docs example by @Kromtar in #2363
- Fix typo in initialize project docs by @mahendrabagul in #2369
- Fix typo in Select Dev Container By Pod Labels page by @shepda in #2350
- Fix alwaysResolve flag's default value in docs by @mahendrabagul in #2378
- Fix issue template labels by @matskiv in #2372
- Add devspacehelper build details in contributing guide by @mahendrabagul in #2383
New Contributors
- @shepda made their first contribution in #2350
- @dtomasi made their first contribution in #2354
- @Kromtar made their first contribution in #2363
Full Changelog: v6.1.2-alpha.0...v6.2.0-alpha.0