devspace

DevSpace - The Fastest Developer Tool for Kubernetes ⚡ Automate your deployment workflow with DevSpace and develop software directly inside Kubernetes.

APACHE-2.0 License

Downloads
5.8K
Stars
4.1K
Committers
101

Bot releases are hidden (Show)

devspace - v5.8.0-beta.0

Published by FabianKramm over 3 years ago

devspace - v5.7.6

Published by FabianKramm over 3 years ago

Changes

  • DevSpace will now show the docker and kaniko logs automatically for parallel builds
  • Added a new config option profiles.description to describe what a profile is doing (can be viewed via devspace list profiles) (#1312)
  • Reversed manifest deletion order in devspace purge
  • Removed unused --component flag for devspace add deployment (#1315)
  • Fixed an issue where devspace deploy with kubectl wouldn't deploy correctly (#1314)
  • Adds a new flag --skip-push-local-kube to devspace dev, devspace deploy, devspace build and devspace render to skip or allow image push skipping in local kubernetes environments
devspace - v5.7.5

Published by FabianKramm over 3 years ago

Changes

  • devspace is now also available for darwin arm64 systems
  • New devspace dev --ui-port flag to specify the port of the ui it should start under
  • Fixes an issue where devspace open would not recognize LoadBalancer services
  • Fixes an issue where devspace would take a long time to upload the building context to the kaniko pod
devspace - v5.7.5-alpha.1

Published by FabianKramm over 3 years ago

Changes

  • devspace is now also available for darwin arm64 systems
  • New devspace dev --ui-port flag to specify the port of the ui it should start under
  • Fixes an issue where devspace open would not recognize LoadBalancer services
  • Fixes an issue where devspace would take a long time to upload the building context to the kaniko pod
devspace - v5.7.5-alpha.0

Published by FabianKramm over 3 years ago

devspace - v5.7.4

Published by FabianKramm over 3 years ago

Repository Change

We renamed the devspace repository from devspace-cloud/devspace to loft-sh/devspace. We felt this change was necessary, since there was some confusion regarding the relationship between devspace, devspace-cloud and loft:

  • devspace: devspace is the client-only developer tool for cloud-native development with kubernetes that is completely open-source and free.
  • devspace-cloud & loft: loft is the successor of devspace-cloud and is a solution for a building a developer platform based on kubernetes. Its main features includes virtual clusters and sleep mode for unused kubernetes resources. devspace-cloud itself is still available for old customers however development is discontinued and only hot fixes are still deployed. Loft itself can be used without or with devspace. In the latter case there is a loft plugin for devspace for a direct integration, but a separate loft cli exists as well. Loft is only is partly open source (cli & kiosk) and a commercial product, but not required if you just want to use devspace.

Changes

  • Fixed a nil pointer that occured if devspace was used with minikube and kubernetes v1.20.2 (#1303)
  • Fixed an issue where the internal sync event buffer could overflow and was missing changes (#1296)
devspace - v5.7.4-beta.1

Published by FabianKramm over 3 years ago

devspace - v5.7.3

Published by FabianKramm over 3 years ago

Changes

  • Improved the way devspace sync --config ... asks for a sync path by displaying the image or label selector (#1300)
  • It is now allowed again to define dev.sync.imageName and dev.sync.labelSelector simultaneously
  • Improved the way devspace searches for image names that were not previously deployed and have a tag that contains '#' (#1301)
  • Fixed an issue where a version without 'v' would result in issues during ui & helper download in brew installations
devspace - v5.7.2

Published by FabianKramm over 3 years ago

Changes

  • New options images.build.kaniko.command, images.build.kaniko.env, images.build.kaniko.initEnv and images.build.kaniko.skipPullSecretMount for kaniko builder
  • Improved validation for dev.sync, dev.ports and profiles config sections
  • Devspace now shows the pod name where port forwarding was started
devspace - v5.7.2-alpha.0

Published by FabianKramm almost 4 years ago

devspace - v5.7.1

Published by FabianKramm almost 4 years ago

New Features

  • New flag --parent-profile to apply multiple profiles with flags:
# Applies the profiles profile1, profile2, profile3 and profile4 in this order
devspace dev --parent-profile=profile1 --parent-profile=profile2 --parent-profile=profile3 --profile=profile4
# You can also leave out the --profile flag and only the profiles
# profile1, profile2 and profile3 are appied
devspace dev --parent-profile=profile1 --parent-profile=profile2 --parent-profile=profile3
  • New options upload and download for hooks to upload or download files from a container:
hooks:
# Upload the complete local bin folder to the container path ./bin
- upload:
    localPath: bin
    containerPath: bin
  where:
    container:
      imageName: default
  when:
    after:
      deployments: deployment-1
# Download a single file from the container to the local path
- download:
    localPath: build/artifact.jar
    containerPath: build/artifact-test.jar
  where:
    container:
      imageName: java
  when:
    after:
      deployments: deployment-2
  • New predefined variable ${DEVSPACE_VERSION}
  • New options hooks.when.before.purgeDeployments, hooks.when.after.purgeDeployments andhooks.when.onError.purgeDeployments to execute hooks on devspace purge
  • New option dev.interactive.terminal.workDir to specify a working directory to open the terminal in
  • New flag --workdir for devspace enter and devspace dev to specify a working directory to open the terminal in or execute a command in

Other

  • Profiles can now be used to change the commands section. It is now possible to have commands that are only available or change with specific profiles. A profile can be used with devspace run by supplying the flag before the run: devspace --profile my-special-command-profile run profile-command
  • Removed several options in devspace init that would lead to an incomplete devspace.yaml
  • The flags --save-vars and --restore-vars are now global
  • Fixed an issue where replacing certain fields with profiles.replace would lead to a yaml error
  • Fixed an issue where deployment within a cluster kube-context was not possible
  • Fixed an issue where the namespace was wrong when executing devspace within a cluster
  • Fixed a potential race during initial sync upload
  • Fixed a potential endless loop during initial sync if upstream was disabled
devspace - v5.7.0

Published by LukasGentele almost 4 years ago

New Features

  • New flag --parent-profile to apply multiple profiles with flags:
# Applies the profiles profile1, profile2, profile3 and profile4 in this order
devspace dev --parent-profile=profile1 --parent-profile=profile2 --parent-profile=profile3 --profile=profile4
# You can also leave out the --profile flag and only the profiles
# profile1, profile2 and profile3 are appied
devspace dev --parent-profile=profile1 --parent-profile=profile2 --parent-profile=profile3
  • New options upload and download for hooks to upload or download files from a container:
hooks:
# Upload the complete local bin folder to the container path ./bin
- upload:
    localPath: bin
    containerPath: bin
  where:
    container:
      imageName: default
  when:
    after:
      deployments: deployment-1
# Download a single file from the container to the local path
- download:
    localPath: build/artifact.jar
    containerPath: build/artifact-test.jar
  where:
    container:
      imageName: java
  when:
    after:
      deployments: deployment-2
  • New predefined variable ${DEVSPACE_VERSION}
  • New options hooks.when.before.purgeDeployments, hooks.when.after.purgeDeployments andhooks.when.onError.purgeDeployments to execute hooks on devspace purge
  • New option dev.interactive.terminal.workDir to specify a working directory to open the terminal in
  • New flag --workdir for devspace enter and devspace dev to specify a working directory to open the terminal in or execute a command in

Other

  • Profiles can now be used to change the commands section. It is now possible to have commands that are only available or change with specific profiles. A profile can be used with devspace run by supplying the flag before the run: devspace --profile my-special-command-profile run profile-command
  • Removed several options in devspace init that would lead to an incomplete devspace.yaml
  • The flags --save-vars and --restore-vars are now global
  • Fixed an issue where replacing certain fields with profiles.replace would lead to a yaml error
  • Fixed an issue where deployment within a cluster kube-context was not possible
  • Fixed an issue where the namespace was wrong when executing devspace within a cluster
  • Fixed a potential race during initial sync upload
devspace - v5.6.5

Published by FabianKramm almost 4 years ago

Changes

  • Updated go version to 1.15
  • Updated notify dependency
  • Build mac version without cgo
  • Updated component chart to 0.7.1
devspace - v5.6.4

Published by FabianKramm almost 4 years ago

Changes

  • Fixed an issue where CTRL+C would terminate devspace terminal on older windows versions
devspace - v5.6.3

Published by FabianKramm almost 4 years ago

Changes

  • Fixed an issue where port-forwarding wouldn't work anymore after auto-reload when imageName was specified
devspace - v5.6.2

Published by FabianKramm almost 4 years ago

Changes

  • Fixed an issue where devspace deploy would raise a panic if it cannot find the release right after deployment
devspace - v5.6.1

Published by LukasGentele almost 4 years ago

Changes

  • Fixed an issue where devspace build would not consider the --namespace flag
  • Fixed an issue where tags were not correctly passed to custom builders
  • DevSpace will now detect automatically during kaniko build if the build pod is failing and abort
devspace - v5.6.0

Published by FabianKramm almost 4 years ago

New Features

  • DevSpace will now replace '#' in image tags with random characters, which gives you more freedom to specify image tags with random components (#1188):
images:
  app:
    tags:
    # Each single hashtag will be replaced with a random character
    - my-###-latest
    - ${DEVSPACE_GIT_BRANCH}-#####
    - ${USER}-#####
    - '############'
  • DevSpace now allows you to specify tag(registry/repo/image) and image(registry/repo/image) in helm values to only insert a tag or the image name without any modification. This is useful for helm charts that split image and tag (#1188):
images:
  default:
    image: registry/repo/image
    tags:
    - random-#####
deployments:
- name: my-deployment
  helm:
    chart: ...
    values: 
      # Will be replaced by devspace to -> imageWithTag: registry/repo/image:random-xAhgW
      imageWithTag: registry/repo/image
      # Will be replaced by devspace to -> image: registry/repo/image
      image: image(registry/repo/image)
      # Will be replaced by devspace to -> tag: random-xAhgW
      tag: tag(registry/repo/image)
  • New dev.logs.selectors option that allows you to specify additional label selectors to select pods you want to stream logs from:
images:
  default:
    image: registry/repo/image
dev:
  logs:
    images: 
    # Selects all pods that use the image default (registry/repo/image)
    - default
    selectors:
    # Selects all pods with the given label selector and streams the logs to the console
    - labelSelector:
        abc: def
      containerName: optional
      namespace: optional
  • Hooks can now be executed in a container by specifying hooks.*.where.container:
...
hooks:
- command: "echo"
  args: ["Hello from within the container!"]
  where: 
    container:
      imageName: default
      # Or select via labelSelector etc.
      # labelSelector: ...
  when:
    after:
      deployments: my-deployment
...
  • Hooks for images can now be specified for specific images instead of only "all":
images:
  image-1:
    image: registry/repo/image
  image-2:
    image: registry/repo/image
hooks:
- command: "echo"
  args: ["before", "all"]
  when:
    before:
      images: all
- command: "echo"
  args: ["before", "image-1"]
  when:
    before:
      images: image-1
- command: "echo"
  args: ["before", "image-2"]
  when:
    before:
      images: image-2
  • New flags --container, --pod, --label-selector and --pick for command devspace restart
  • New config option hooks.*.background and hooks.*.silent to execute hooks without output or in the background
  • New config options images.*.build.kaniko.annotations & images.*.build.kaniko.labels to specify extra labels and annotations for the kaniko build pod (#1265)
  • New config option images.*.restartHelperPath to override the bundled restart helper with a custom script
  • New config option images.*.build.docker.useCli to configure DevSpace to use the docker cli directly

Other Changes

  • log streaming was greatly improved and should now automatically reconnect and recognize new upcoming pods that match the specified selectors. (#1149)
  • The sync output is now merged by default with the log output to make it clearer what DevSpace is doing in the background. You can disable this new behaviour and restore the old by specifying dev.logs.sync: false in the devspace.yaml
  • Improved the way DevSpace will select pods and containers for sync, port-forwarding and terminal
  • Updated the internal kubectl and helm versions that will be downloaded if there couldn't be any found in the PATH.
  • Fixed an issue where dev.autoReload.deployments would not correctly watch for changes to manifest folders and values files (#1255)
  • Fixed an issue where devspace init would create a failing devspace.yaml if the Dockerfile was missing ENTRYPOINT and CMD (#1252)
  • Fixed an issue where switching the profile would not redeploy, if it was deployed before with another profile
  • Fixed an issue on older windows systems where the terminal output was corrupted.
  • Fixed an issue where some .dockerignore statements were not correctly working with kaniko builder
  • Fixed an issue where devspace would not correctly rebuild in some cases
  • Fixed an issue where created image pull secrets could have a name that was too long
devspace - v5.5.0

Published by FabianKramm almost 4 years ago

Changes

  • New option hooks.*.when.onError to execute hooks if an error has occured (#1239):
# This will print the error to the console that has occured during a deployment
hooks:
- command: "sh"
  os: linux,darwin
  args: 
  - -c
  - 'echo "The following error has occured: $DEVSPACE_HOOK_ERROR"'
  when:
    onError:
      deployments: all
  • The following environment variables will now be passed to an executed hook:
    • DEVSPACE_HOOK_KUBE_CONTEXT: the name of the kube context that was used
    • DEVSPACE_HOOK_KUBE_NAMESPACE: the name of the kube namespace that was used
    • DEVSPACE_HOOK_OS_ARGS: json encoded os.Args that were used to call devspace
    • DEVSPACE_HOOK_ERROR: if an error has occured contains the error (only for onError hooks)
  • New option dependencies.*.vars to override variables in dependency configs:
# This will deploy the same dependency 2 times with different variable values
dependencies:
- source:
    path: my-dependency
  vars:
  - name: TEST
    value: value-1
- source:
    path: my-dependency
  vars:
  - name: TEST
    value: value-2
  • New config options images.*.build.kaniko.nodeSelector, images.*.build.kaniko.initImage and images.*.build.kaniko.serviceAccount that make the kaniko pod creation more customizable (#1240)
  • From now on, the sync helper binary, component chart and ui are compiled into the devspace binary and not downloaded anymore. This should reduce the time to deploy charts and makes it easier to use devspace in air-gapped environments
  • Fixes an issue in dependencies where loading a config with variables from a relative local path command could result in an error
devspace - v5.5.0-beta.6

Published by FabianKramm almost 4 years ago

Package Rankings
Top 4.02% on Npmjs.org
Top 4.52% on Proxy.golang.org
Badges
Extracted from project README
Join us on Slack! Join us on Slack!
Related Projects