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 DEVSPACE_PROFILES variable and is_in command by @alexissellier in #2297
- Specify a kubeClient when loading the devspace configuration by @alexissellier in #2306
- 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
- Local registry by @lizardruss in #2326
- Support "~" (home) at the start of sync path by @matskiv in #2384
- Add SIGINT syscall signal before SIGKILL by @mahendrabagul in #2388
- Fixed improper parsing of volume name by @ryancharris in #2405
- Use 'wss' protocol when DevSpace ui is loaded via 'https' by @lizardruss in #2410
- Fixed building in Kaniko from Windows by @lizardruss in #2423
- Improve output for pull secret creation by @FabianKramm in #2428
- Pass DevSpace vars to plugin environment by @mahendrabagul in #2400
- Add global flag for running dependencies sequentially by @pratikjagrut in #2424
- Fix commands with predefined variables by @FabianKramm in #2429
- Fix local registry failing with multiple dependencies by @lizardruss in #2425
- Scale down replica sets to allow transfer of persistPaths persistent volume claims between pods by @lizardruss in #2431
- Fix imported variables are not used in other variables by @pratikjagrut in #2432
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
- Add Hooks page in docs by @mahendrabagul in #2364
- 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
- Add profiles for dependency to documentation by @alexissellier in #2396
- Corrected documentation page title mistake by @matskiv in #2394
- Remove incorrect statement about BuildKit deployment name in documentation by @lizardruss in #2413
- Update dependencies by @FabianKramm in #2421
New Contributors
- @tradel made their first contribution in #2327
- @shepda made their first contribution in #2350
- @dtomasi made their first contribution in #2354
- @Kromtar made their first contribution in #2363
- @ryancharris made their first contribution in #2405
Full Changelog: v6.1.1...v6.2.0-beta.0