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.18.1-beta.1

Published by FabianKramm almost 3 years ago

Changes

  • Beta and alpha versions are now allowed for require constraints (#1826)
  • Fixed an issue where DevSpace would panic on devspace sync (#1818)
  • Fixed an issue where DevSpace throws an error of unknown flag with helm v2
  • Fixed an issue where DevSpace was getting Invalid memory address or nil pointer dereference while resolving cyclic dependency (#1818)
  • Fixed an issue where DevSpace would validate config expressions in helm values incorrectly (#1816)
  • Fixed an issue where DevSpace does not run in Alpine when installed via npm (#1185 thanks @tickeegreg)
  • Fixed an issue where DevSpace would not correctly install with npm / yarn
  • Updated k8s dependencies of DevSpace to v1.23.0
devspace - v5.18.1-beta.0

Published by FabianKramm almost 3 years ago

Changes

  • Fixed an issue where DevSpace was getting Invalid memory address or nil pointer dereference while resolving cyclic dependency (#1818)
  • Fixed an issue where DevSpace would validate config expressions in helm values incorrectly (#1816)
  • Fixed an issue where DevSpace does not run in Alpine when installed via npm (#1185 thanks @tickeegreg)
  • Fixed an issue where DevSpace would not correctly install with npm / yarn
  • Updated k8s dependencies of DevSpace to v1.23.0
devspace - v5.18.0

Published by FabianKramm almost 3 years ago

🚀 Profile Activation via DevSpace vars 🚀

DevSpace now supports automatic profile activation via DevSpace variables. This allows you to auto activate profiles based on selected namespace, kube context or even custom commands:

profiles:
  - name: test
    activation:
      - vars:
          devspace.namespace: test
    patches:
      - op: remove
        path: deployments

🚀 Runtime Variables 🚀

Added runtime variables that are prefixed with ${runtime.} and replace the helper syntax image() and tag(). Those variables are useful to access certain runtime information, such as hook output or image tags, but can only be used in certain config areas that will be evaluated later on (such as deployments.*.helm.values):

images:
  app:
    image: myuser/image
deployments:
- name: checkout
  helm:
    chart:
      name: ./kubernetes/helm/app
    values:
      app:
        image:
          repo: ${runtime.images.app.image} # old was image(app)
          tag: ${runtime.images.app.tag}    # old was tag(app)

DevSpace now also supports hook output runtime variables:

images:
  app:
    image: myuser/image
hooks:
  - name: "image-digest"
    command: |
      # This command prints the image digest
      echo $(docker inspect ${runtime.images.app.image}:${runtime.images.app.tag} --format='{{index .RepoDigests 0}}' | cut -d'@' -f2)
    events: ["after:build:app"]
deployments:
- name: checkout
  helm:
    chart:
      name: ./kubernetes/helm/app
    values:
      app:
        image:
          digest: ${runtime.hooks.image-digest.stdout}

Runtime variables can also be used together with config expressions:

images:
  app:
    image: myuser/image
deployments:
- name: checkout
  helm:
    chart:
      name: ./kubernetes/helm/app
    values:
      app:
        image:
          digest: $(echo $(docker inspect ${runtime.images.app.image}:${runtime.images.app.tag} --format='{{index .RepoDigests 0}}' | cut -d'@' -f2))

🚀 New Features 🚀

  • Allow profiles to be defined by expressions:
profiles: $(cat profiles.yaml)
  • Allow items of profiles array to be defined by expressions:
profiles:
- $(cat profile1.yaml)
  • Allow profile content to be defined by expressions:
profiles:
- name: production
  merge:
    deployments: $(cat production.yaml)
  • Simplified custom builder commands:
images:
  default:
    image: myuser/image
    build:
      custom:
        skipImageArg: true
        command: |-
          # Also works on windows as this is executed in a golang shell
          docker build -t ${runtime.images.default.image}:${runtime.images.default.tag} . -f custom/Dockerfile
        onChange:
        - main.go
  • New options deployments.*.disabled, dependencies.*.disabled, pullSecrets.*.pullSecrets & hooks.*.disabled to make usage of those config areas easier to use with config expressions:
hooks:
- name: load-into-kind
  disabled: $( [ ${devspace.context} != "kind" ] && echo "true" || echo "false" )
  command: |-
    kind load docker-image ${runtime.images.app.image}:${runtime.images.app.tag}
  events: ["before:deploy"]
  • New hook events before:resolveDependencies, after:resolveDependencies, error:resolveDependencies, before:buildDependencies, after:buildDependencies, error:buildDependencies, before:deployDependencies, after:deployDependencies, error:deployDependencies, before:purgeDependencies, after:purgeDependencies, error:purgeDependencies that also work for nested dependencies
  • DevSpace now detects docker-compose.yaml when running devspace init and provides an option to generate an initial devspace.yaml from docker compose
  • DevSpace now simulates docker compose volume behaviour by uploading local files to an init container with the relevant volumes mounted. Once uploads are complete the init container exits and the application continues as expected.
  • DevSpace now adds devspace.yaml configured commands to cobra command configuration and shows them in devspace --help and devspace run --help
  • Deprecated the -s flag and instead DevSpace will now ask if the Kube context or the namespace has changed
  • New --dependency flag for devspace print to show a loaded dependency config
  • New option deployments.helm.chart.git to deploy a helm chart from a git repository instead of helm registry
  • New option dev.replacePods.persistPaths.initConainter.resources to configure resources for the pre-populating init container (#1775)

Changes

  • Renamed predefined variables to camelCase and using a .. The old predefined variable names can still be used, but are deprecated
  • DevSpace will now always try to list all helm releases in a namespace to find the correct deployment status (#1772)
  • DevSpace will now print by default why it is rebuilding an image
  • DevSpace will now print all filesystem events it receives for syncing files if --debug is specified and show if a file wasn't synced
  • Display stdout / stderr if downloading devspacehelper fails
  • Updated Helm v3 version that is downloaded if helm is not found (thanks @ragnarpa)
  • DevSpace will now use the replacePods[*].containerName if multiple containers are found within a replaced pod and no replacePods[*].persistPaths[*].containerName is defined
  • Improved sync change detection for folders
  • Improved logging why DevSpace is restarting sync or port-forwarding
  • Improved logging if DevSpace is waiting for a pod to become running

Fixes

  • Fixed an issue where DevSpace would fail using new kubectl version v1.23 (#1813)
  • Fixed an issue where DevSpace would allow substring matches from activating profiles. For example: an expression test would match test123
  • Fixed an issue where DevSpace would hang starting the sync if a recursive symlink was found
  • Fixed an issue where sync exec name was not named correctly (#1789)
  • Fixed an issue where DevSpace would fail on arm64 systems during sync with too many files open (#1444)
  • Fixed an issue where DevSpace was showing dependency ids instead of names
  • Fixed an issue where DevSpace would create a failing pod if the persistence path would not exist in the target container
  • Fixed a nil pointer if replacing a path with an empty value (#1774)
  • Fixed an issue where devspace build would fail if there wasn't a valid kube context (thanks @wollowizard) (#1769)
  • Fixed an issue where DevSpace would use the wrong path for syncing (#1743)
devspace - v5.18.0-rc.0

Published by FabianKramm almost 3 years ago

🚀 Profile Activation via DevSpace vars 🚀

DevSpace now supports automatic profile activation via DevSpace variables. This allows you to auto activate profiles based on selected namespace, kube context or even custom commands:

profiles:
  - name: test
    activation:
      - vars:
          devspace.namespace: test
    patches:
      - op: remove
        path: deployments

🚀 Runtime Variables 🚀

Added runtime variables that are prefixed with ${runtime.} and replace the helper syntax image() and tag(). Those variables are useful to access certain runtime information, such as hook output or image tags, but can only be used in certain config areas that will be evaluated later on (such as deployments.*.helm.values):

images:
  app:
    image: myuser/image
deployments:
- name: checkout
  helm:
    chart:
      name: ./kubernetes/helm/app
    values:
      app:
        image:
          repo: ${runtime.images.app.image} # old was image(app)
          tag: ${runtime.images.app.tag}    # old was tag(app)

DevSpace now also supports hook output runtime variables:

images:
  app:
    image: myuser/image
hooks:
  - name: "image-digest"
    command: |
      # This command prints the image digest
      echo $(docker inspect ${runtime.images.app.image}:${runtime.images.app.tag} --format='{{index .RepoDigests 0}}' | cut -d'@' -f2)
    events: ["after:build:app"]
deployments:
- name: checkout
  helm:
    chart:
      name: ./kubernetes/helm/app
    values:
      app:
        image:
          digest: ${runtime.hooks.image-digest.stdout}

Runtime variables can also be used together with config expressions:

images:
  app:
    image: myuser/image
deployments:
- name: checkout
  helm:
    chart:
      name: ./kubernetes/helm/app
    values:
      app:
        image:
          digest: $(echo $(docker inspect ${runtime.images.app.image}:${runtime.images.app.tag} --format='{{index .RepoDigests 0}}' | cut -d'@' -f2))

🚀 New Features 🚀

  • Allow profiles to be defined by expressions:
profiles: $(cat profiles.yaml)
  • Allow items of profiles array to be defined by expressions:
profiles:
- $(cat profile1.yaml)
  • Allow profile content to be defined by expressions:
profiles:
- name: production
  merge:
    deployments: $(cat production.yaml)
  • Simplified custom builder commands:
images:
  default:
    image: myuser/image
    build:
      custom:
        skipImageArg: true
        command: |-
          # Also works on windows as this is executed in a golang shell
          docker build -t ${runtime.images.default.image}:${runtime.images.default.tag} . -f custom/Dockerfile
        onChange:
        - main.go
  • New options deployments.*.disabled, dependencies.*.disabled, pullSecrets.*.pullSecrets & hooks.*.disabled to make usage of those config areas easier to use with config expressions:
hooks:
- name: load-into-kind
  disabled: $( [ ${devspace.context} != "kind" ] && echo "true" || echo "false" )
  command: |-
    kind load docker-image ${runtime.images.app.image}:${runtime.images.app.tag}
  events: ["before:deploy"]
  • New hook events before:resolveDependencies, after:resolveDependencies, error:resolveDependencies, before:buildDependencies, after:buildDependencies, error:buildDependencies, before:deployDependencies, after:deployDependencies, error:deployDependencies, before:purgeDependencies, after:purgeDependencies, error:purgeDependencies that also work for nested dependencies
  • DevSpace now detects docker-compose.yaml when running devspace init and provides an option to generate an initial devspace.yaml from docker compose
  • DevSpace now simulates docker compose volume behaviour by uploading local files to an init container with the relevant volumes mounted. Once uploads are complete the init container exits and the application continues as expected.
  • DevSpace now adds devspace.yaml configured commands to cobra command configuration and shows them in devspace --help and devspace run --help
  • Deprecated the -s flag and instead DevSpace will now ask if the Kube context or the namespace has changed
  • New --dependency flag for devspace print to show a loaded dependency config
  • New option deployments.helm.chart.git to deploy a helm chart from a git repository instead of helm registry
  • New option dev.replacePods.persistPaths.initConainter.resources to configure resources for the pre-populating init container (#1775)

Changes

  • Renamed predefined variables to camelCase and using a .. The old predefined variable names can still be used, but are deprecated
  • DevSpace will now always try to list all helm releases in a namespace to find the correct deployment status (#1772)
  • DevSpace will now print by default why it is rebuilding an image
  • DevSpace will now print all filesystem events it receives for syncing files if --debug is specified and show if a file wasn't synced
  • Display stdout / stderr if downloading devspacehelper fails
  • Updated Helm v3 version that is downloaded if helm is not found (thanks @ragnarpa)
  • DevSpace will now use the replacePods[*].containerName if multiple containers are found within a replaced pod and no replacePods[*].persistPaths[*].containerName is defined
  • Improved sync change detection for folders
  • Improved logging why DevSpace is restarting sync or port-forwarding
  • Improved logging if DevSpace is waiting for a pod to become running

Fixes

  • Fixed an issue where DevSpace would fail using new kubectl version v1.23 (#1813)
  • Fixed an issue where DevSpace would allow substring matches from activating profiles. For example: an expression test would match test123
  • Fixed an issue where DevSpace would hang starting the sync if a recursive symlink was found
  • Fixed an issue where sync exec name was not named correctly (#1789)
  • Fixed an issue where DevSpace would fail on arm64 systems during sync with too many files open (#1444)
  • Fixed an issue where DevSpace was showing dependency ids instead of names
  • Fixed an issue where DevSpace would create a failing pod if the persistence path would not exist in the target container
  • Fixed a nil pointer if replacing a path with an empty value (#1774)
  • Fixed an issue where devspace build would fail if there wasn't a valid kube context (thanks @wollowizard) (#1769)
  • Fixed an issue where DevSpace would use the wrong path for syncing (#1743)
devspace - v5.18.0-beta.4

Published by FabianKramm almost 3 years ago

Changes

  • DevSpace now detects docker-compose.yaml when running devspace init and provides an option to generate an initial devspace.yaml from docker compose
  • DevSpace now simulates docker compose volume behaviour by uploading local files to an init container with the relevant volumes mounted. Once uploads are complete the init container exits and the application continues as expected.
  • DevSpace now adds devspace.yaml configured commands to cobra command configuration and shows them in devspace --help and devspace run --help
  • Deprecated the -s flag and instead DevSpace will now ask if the Kube context or the namespace has changed
  • New --dependency flag for devspace print to show a loaded dependency config
  • New option deployments.helm.chart.git to deploy a helm chart from a git repository instead of helm registry
  • New option dev.replacePods.persistPaths.initConainter.resources to configure resources for the pre-populating init container (#1775)
  • DevSpace will now always try to list all helm releases in a namespace to find the correct deployment status (#1772)
  • DevSpace will now print by default why it is rebuilding an image
  • DevSpace will now print all filesystem events it receives for syncing files if --debug is specified and show if a file wasn't synced
  • Display stdout / stderr if downloading devspacehelper fails
  • Updated Helm v3 version that is downloaded if helm is not found (thanks @ragnarpa)
  • DevSpace will now print by default why it is rebuilding an image
  • DevSpace will now use the replacePods[*].containerName if multiple containers are found within a replaced pod and no replacePods[*].persistPaths[*].containerName is defined
  • Improved sync change detection for folders
  • Fixed an issue where DevSpace would allow substring matches from activating profiles. For example: an expression test would match test123
  • Fixed an issue where DevSpace would hang starting the sync if a recursive symlink was found
  • Fixed an issue where sync exec name was not named correctly (#1789)
  • Fixed an issue where DevSpace would fail on arm64 systems during sync with too many files open (#1444)
  • Fixed an issue where DevSpace was showing dependency ids instead of names
  • Fixed an issue where DevSpace would create a failing pod if the persistence path would not exist in the target container
  • Fixed a nil pointer if replacing a path with an empty value (#1774)
  • Fixed an issue where devspace build would fail if there wasn't a valid kube context (thanks @wollowizard) (#1769)
  • Fixed an issue where DevSpace would use the wrong path for syncing (#1743)
devspace - v5.18.0-beta.3

Published by FabianKramm almost 3 years ago

Changes

  • DevSpace now detects docker-compose.yaml when running devspace init and provides an option to generate an initial devspace.yaml from docker compose
  • DevSpace now simulates docker compose volume behaviour by uploading local files to an init container with the relevant volumes mounted. Once uploads are complete the init container exits and the application continues as expected.
  • DevSpace now adds devspace.yaml configured commands to cobra command configuration and shows them in devspace --help and devspace run --help
  • Deprecated the -s flag and instead DevSpace will now ask if the Kube context or the namespace has changed
  • New --dependency flag for devspace print to show a loaded dependency config
  • New option deployments.helm.chart.git to deploy a helm chart from a git repository instead of helm registry
  • New option dev.replacePods.persistPaths.initConainter.resources to configure resources for the pre-populating init container (#1775)
  • DevSpace will now always try to list all helm releases in a namespace to find the correct deployment status (#1772)
  • DevSpace will now print by default why it is rebuilding an image
  • DevSpace will now print all filesystem events it receives for syncing files if --debug is specified and show if a file wasn't synced
  • Display stdout / stderr if downloading devspacehelper fails
  • Updated Helm v3 version that is downloaded if helm is not found (thanks @ragnarpa)
  • DevSpace will now print by default why it is rebuilding an image
  • DevSpace will now use the replacePods[*].containerName if multiple containers are found within a replaced pod and no replacePods[*].persistPaths[*].containerName is defined
  • Fixed an issue where sync exec name was not named correctly (#1789)
  • Fixed an issue where DevSpace would fail on arm64 systems during sync with too many files open (#1444)
  • Fixed an issue where DevSpace was showing dependency ids instead of names
  • Fixed an issue where DevSpace would create a failing pod if the persistence path would not exist in the target container
  • Fixed a nil pointer if replacing a path with an empty value (#1774)
  • Fixed an issue where devspace build would fail if there wasn't a valid kube context (thanks @wollowizard) (#1769)
  • Fixed an issue where DevSpace would use the wrong path for syncing (#1743)
devspace - v5.18.0-beta.2

Published by FabianKramm almost 3 years ago

Changes

  • DevSpace now detects docker-compose.yaml when running devspace init and provides an option to generate an initial devspace.yaml from docker compose
  • DevSpace now simulates docker compose volume behaviour by uploading local files to an init container with the relevant volumes mounted. Once uploads are complete the init container exits and the application continues as expected.
  • DevSpace now adds devspace.yaml configured commands to cobra command configuration and shows them in devspace --help and devspace run --help
  • Deprecated the -s flag and instead DevSpace will now ask if the Kube context or the namespace has changed
  • New --dependency flag for devspace print to show a loaded dependency config
  • New option deployments.helm.chart.git to deploy a helm chart from a git repository instead of helm registry
  • New option dev.replacePods.persistPaths.initConainter.resources to configure resources for the pre-populating init container (#1775)
  • DevSpace will now always try to list all helm releases in a namespace to find the correct deployment status (#1772)
  • DevSpace will now print by default why it is rebuilding an image
  • Display stdout / stderr if downloading devspacehelper fails
  • Updated Helm v3 version that is downloaded if helm is not found (thanks @ragnarpa)
  • DevSpace will now print by default why it is rebuilding an image
  • Fixed an issue where sync exec name was not named correctly (#1789)
  • Fixed an issue where DevSpace would fail on arm64 systems during sync with too many files open (#1444)
  • Fixed an issue where DevSpace was showing dependency ids instead of names
  • Fixed a nil pointer if replacing a path with an empty value (#1774)
  • Fixed an issue where devspace build would fail if there wasn't a valid kube context (thanks @wollowizard) (#1769)
  • Fixed an issue where DevSpace would use the wrong path for syncing (#1743)
devspace - v5.18.0-beta.1

Published by FabianKramm almost 3 years ago

Changes

  • DevSpace now detects docker-compose.yaml when running devspace init and provides an option to generate an initial devspace.yaml from docker compose
  • DevSpace now simulates docker compose volume behaviour by uploading local files to an init container with the relevant volumes mounted. Once uploads are complete the init container exits and the application continues as expected.
  • Deprecated the -s flag and instead DevSpace will now ask if the Kube context or the namespace has changed
  • New option dev.replacePods.persistPaths.initConainter.resources to configure resources for the pre-populating init container (#1775)
  • DevSpace will now print by default why it is rebuilding an image
  • Display stdout / stderr if downloading devspacehelper fails
  • Updated Helm v3 version that is downloaded if helm is not found (thanks @ragnarpa)
  • New option dev.replacePods.persistPaths.initConainter.resources to configure resources for the pre-populating init container (#1775)
  • DevSpace will now print by default why it is rebuilding an image
  • Fixed an issue where DevSpace would fail on arm64 systems during sync with too many files open (#1444)
  • Fixed an issue where DevSpace was showing dependency ids instead of names
  • Fixed a nil pointer if replacing a path with an empty value (#1774)
  • Fixed an issue where devspace build would fail if there wasn't a valid kube context (thanks @wollowizard) (#1769)
  • Fixed an issue where DevSpace would use the wrong path for syncing (#1743)
devspace - v5.18.0-beta.0

Published by FabianKramm almost 3 years ago

Changes

  • DevSpace now detects docker-compose.yaml when running devspace init and provides an option to generate an initial devspace.yaml from docker compose
  • DevSpace now simulates docker compose volume behaviour by uploading local files to an init container with the relevant volumes mounted. Once uploads are complete the init container exits and the application continues as expected.
  • Deprecated the -s flag and instead DevSpace will now ask if the Kube context or the namespace has changed
  • New option dev.replacePods.persistPaths.initConainter.resources to configure resources for the pre-populating init container (#1775)
  • DevSpace will now print by default why it is rebuilding an image
  • Display stdout / stderr if downloading devspacehelper fails
  • Updated Helm v3 version that is downloaded if helm is not found (thanks @ragnarpa)
  • Fixed an issue where devspace build would fail if there wasn't a valid kube context (thanks @wollowizard) (#1769)
  • Fixed an issue where DevSpace would use the wrong path for syncing (#1743)
devspace - v5.17.0

Published by FabianKramm almost 3 years ago

Conditional Sync Commands

  • New option dev.sync[*].onUpload.exec that allows you to define commands that are executed on certain file changes. DevSpace makes sure that these commands are only executed after initial sync has finished and before the container might be restarted. For example:
deployments:
- name: app-backend
  helm:
    componentChart: true
    values:
      containers:
      - image: john/devbackend
dev:
  sync:
  - imageSelector: john/devbackend
    onUpload:
      # These post-sync commands will be executed after DevSpace synced changes to the container in the given order
      exec: 
      - onChange: ["./package.json"]
        command: |-
          npm install

Persistent Paths

  • New option dev.replacePods[*].persistPaths that allows you to persist certain paths with PVCs within the replaced pod for quicker syncing. For example:
dev:
  replacePods:
  - imageSelector: my-app/dev
    persistPaths:
    - path: /app
      # Optional path on the persistent volume to mount
      # volumePath: /my-volume/app
      # Optional name of the container to persist this path
      # containerName: my-container

Changes

  • New option dev.replacePods[*].name to define a name for the replace pods configuration
  • New option dev.replacePods[*].persistenceOptions that allows you to define PVC options for the dev.replacePods[*].persistPaths feature
  • New flag --name for devspace restart to select a sync config
  • New option hooks[*].name to name hooks
  • Added support for Dockerfile.dockerignore
  • DevSpace will now ping the underlying connection during reverse port forwarding to detect hanging connections
  • DevSpace helper will now close automatically if multiple pings are missed
  • Improved initial sync startup time
  • DevSpace will now download and install kubectl or helm if those commands are used in a hook and not found locally
  • dev.replacePods are now replaced in parallel
  • dev.ports are now started in parallel
  • Fixed an issue where DevSpace would not rebuild even though the image would not be present in the local docker daemon
  • Removed Applied additional flags from environment message
  • Improved error message if no kube context was found
  • Improved config validation
  • Improved logging behaviour for dev.replacePods and dev.ports
  • Updated default kaniko version to v1.6.0
    • Added a warning for problematic exclude paths
  • Fixed an issue where klog v2 messages would be visible to the user
  • Fixed an issue where deployments[*].helm.timeout was a number instead of a string
  • Using devspace within a command or hook will now target the current executed binary
  • DevSpace will now try initially to download the devspacehelper in the container instead of uploading it (#1729)
  • Fixed an issue where DevSpace wouldn't sync files initially with newer timestamp locally
  • Improved local image lookup to consider all tags
devspace - v5.17.0-beta.11

Published by FabianKramm almost 3 years ago

Conditional Sync Commands

  • New option dev.sync[*].onUpload.exec that allows you to define commands that are executed on certain file changes. DevSpace makes sure that these commands are only executed after initial sync has finished and before the container might be restarted. For example:
deployments:
- name: app-backend
  helm:
    componentChart: true
    values:
      containers:
      - image: john/devbackend
dev:
  sync:
  - imageSelector: john/devbackend
    onUpload:
      # These post-sync commands will be executed after DevSpace synced changes to the container in the given order
      exec: 
      - onChange: ["./package.json"]
        command: |-
          npm install

Persistent Paths

  • New option dev.replacePods[*].persistPaths that allows you to persist certain paths with PVCs within the replaced pod for quicker syncing. For example:
dev:
  replacePods:
  - imageSelector: my-app/dev
    persistPaths:
    - path: /app
      # Optional path on the persistent volume to mount
      # volumePath: /my-volume/app
      # Optional name of the container to persist this path
      # containerName: my-container

Changes

  • New option dev.replacePods[*].name to define a name for the replace pods configuration
  • New option dev.replacePods[*].persistenceOptions that allows you to define PVC options for the dev.replacePods[*].persistPaths feature
  • New flag --name for devspace restart to select a sync config
  • New option hooks[*].name to name hooks
  • Added support for Dockerfile.dockerignore
  • DevSpace will now ping the underlying connection during reverse port forwarding to detect hanging connections
  • DevSpace helper will now close automatically if multiple pings are missed
  • Improved initial sync startup time
  • DevSpace will now download and install kubectl or helm if those commands are used in a hook and not found locally
  • dev.replacePods are now replaced in parallel
  • dev.ports are now started in parallel
  • Fixed an issue where DevSpace would not rebuild even though the image would not be present in the local docker daemon
  • Removed Applied additional flags from environment message
  • Improved error message if no kube context was found
  • Improved config validation
  • Improved logging behaviour for dev.replacePods and dev.ports
  • Updated default kaniko version to v1.6.0
    • Added a warning for problematic exclude paths
  • Fixed an issue where klog v2 messages would be visible to the user
  • Fixed an issue where deployments[*].helm.timeout was a number instead of a string
  • Using devspace within a command or hook will now target the current executed binary
  • DevSpace will now try initially to download the devspacehelper in the container instead of uploading it (#1729)
  • Fixed an issue where DevSpace wouldn't sync files initially with newer timestamp locally
  • Improved local image lookup to consider all tags
devspace - v5.17.0-beta.10

Published by FabianKramm almost 3 years ago

Conditional Sync Commands

  • New option dev.sync[*].onUpload.exec that allows you to define commands that are executed on certain file changes. DevSpace makes sure that these commands are only executed after initial sync has finished and before the container might be restarted. For example:
deployments:
- name: app-backend
  helm:
    componentChart: true
    values:
      containers:
      - image: john/devbackend
dev:
  sync:
  - imageSelector: john/devbackend
    onUpload:
      # These post-sync commands will be executed after DevSpace synced changes to the container in the given order
      exec: 
      - onChange: ["./package.json"]
        command: |-
          npm install

Persistent Paths

  • New option dev.replacePods[*].persistPaths that allows you to persist certain paths with PVCs within the replaced pod for quicker syncing. For example:
dev:
  replacePods:
  - imageSelector: my-app/dev
    persistPaths:
    - path: /app
      # Optional path on the persistent volume to mount
      # volumePath: /my-volume/app
      # Optional name of the container to persist this path
      # containerName: my-container

Changes

  • New option dev.replacePods[*].name to define a name for the replace pods configuration
  • New option dev.replacePods[*].persistenceOptions that allows you to define PVC options for the dev.replacePods[*].persistPaths feature
  • New flag --name for devspace restart to select a sync config
  • New option hooks[*].name to name hooks
  • Added support for Dockerfile.dockerignore
  • DevSpace will now ping the underlying connection during reverse port forwarding to detect hanging connections
  • DevSpace helper will now close automatically if multiple pings are missed
  • Improved initial sync startup time
  • DevSpace will now download and install kubectl or helm if those commands are used in a hook and not found locally
  • dev.replacePods are now replaced in parallel
  • dev.ports are now started in parallel
  • Fixed an issue where DevSpace would not rebuild even though the image would not be present in the local docker daemon
  • Removed Applied additional flags from environment message
  • Improved error message if no kube context was found
  • Improved config validation
  • Improved logging behaviour for dev.replacePods and dev.ports
  • Updated default kaniko version to v1.6.0
    • Added a warning for problematic exclude paths
  • Fixed an issue where klog v2 messages would be visible to the user
  • Fixed an issue where deployments[*].helm.timeout was a number instead of a string
  • Using devspace within a command or hook will now target the current executed binary
  • DevSpace will now try initially to download the devspacehelper in the container instead of uploading it (#1729)
  • Fixed an issue where DevSpace wouldn't sync files initially with newer timestamp locally
  • Improved local image lookup to consider all tags
devspace - v5.17.0-beta.9

Published by FabianKramm almost 3 years ago

Conditional Sync Commands

  • New option dev.sync[*].onUpload.exec that allows you to define commands that are executed on certain file changes. DevSpace makes sure that these commands are only executed after initial sync has finished and before the container might be restarted. For example:
deployments:
- name: app-backend
  helm:
    componentChart: true
    values:
      containers:
      - image: john/devbackend
dev:
  sync:
  - imageSelector: john/devbackend
    onUpload:
      # These post-sync commands will be executed after DevSpace synced changes to the container in the given order
      exec: 
      - onChange: ["./package.json"]
        command: |-
          npm install

Persistent Paths

  • New option dev.replacePods[*].persistPaths that allows you to persist certain paths with PVCs within the replaced pod for quicker syncing. For example:
dev:
  replacePods:
  - imageSelector: my-app/dev
    persistPaths:
    - path: /app
      # Optional path on the persistent volume to mount
      # volumePath: /my-volume/app
      # Optional name of the container to persist this path
      # containerName: my-container

Changes

  • New option dev.replacePods[*].name to define a name for the replace pods configuration
  • New option dev.replacePods[*].persistenceOptions that allows you to define PVC options for the dev.replacePods[*].persistPaths feature
  • New flag --name for devspace restart to select a sync config
  • New option hooks[*].name to name hooks
  • DevSpace will now ping the underlying connection during reverse port forwarding to detect hanging connections
  • DevSpace helper will now close automatically if multiple pings are missed
  • Improved initial sync startup time
  • DevSpace will now download and install kubectl or helm if those commands are used in a hook and not found locally
  • dev.replacePods are now replaced in parallel
  • dev.ports are now started in parallel
  • Fixed an issue where DevSpace would not rebuild even though the image would not be present in the local docker daemon
  • Removed Applied additional flags from environment message
  • Improved error message if no kube context was found
  • Improved config validation
  • Improved logging behaviour for dev.replacePods and dev.ports
  • Updated default kaniko version to v1.6.0
    • Added a warning for problematic exclude paths
  • Fixed an issue where klog v2 messages would be visible to the user
  • Fixed an issue where deployments[*].helm.timeout was a number instead of a string
  • Using devspace within a command or hook will now target the current executed binary
  • DevSpace will now try initially to download the devspacehelper in the container instead of uploading it (#1729)
  • Fixed an issue where DevSpace wouldn't sync files initially with newer timestamp locally
  • Improved local image lookup to consider all tags
devspace - v5.17.0-beta.8

Published by FabianKramm almost 3 years ago

Conditional Sync Commands

  • New option dev.sync[*].onUpload.exec that allows you to define commands that are executed on certain file changes. DevSpace makes sure that these commands are only executed after initial sync has finished and before the container might be restarted. For example:
deployments:
- name: app-backend
  helm:
    componentChart: true
    values:
      containers:
      - image: john/devbackend
dev:
  sync:
  - imageSelector: john/devbackend
    onUpload:
      # These post-sync commands will be executed after DevSpace synced changes to the container in the given order
      exec: 
      - onChange: ["./package.json"]
        command: |-
          npm install

Persistent Paths

  • New option dev.replacePods[*].persistPaths that allows you to persist certain paths with PVCs within the replaced pod for quicker syncing. For example:
dev:
  replacePods:
  - imageSelector: my-app/dev
    persistPaths:
    - path: /app
      # Optional path on the persistent volume to mount
      # volumePath: /my-volume/app
      # Optional name of the container to persist this path
      # containerName: my-container

Changes

  • New option dev.replacePods[*].name to define a name for the replace pods configuration
  • New option dev.replacePods[*].persistenceOptions that allows you to define PVC options for the dev.replacePods[*].persistPaths feature
  • New flag --name for devspace restart to select a sync config
  • New option hooks[*].name to name hooks
  • DevSpace will now ping the underlying connection during reverse port forwarding to detect hanging connections
  • DevSpace helper will now close automatically if multiple pings are missed
  • Improved initial sync startup time
  • DevSpace will now download and install kubectl or helm if those commands are used in a hook and not found locally
  • dev.replacePods are now replaced in parallel
  • dev.ports are now started in parallel
  • Fixed an issue where DevSpace would not rebuild even though the image would not be present in the local docker daemon
  • Removed Applied additional flags from environment message
  • Improved error message if no kube context was found
  • Improved config validation
  • Improved logging behaviour for dev.replacePods and dev.ports
  • Updated default kaniko version to v1.6.0
    • Added a warning for problematic exclude paths
  • Fixed an issue where klog v2 messages would be visible to the user
  • Fixed an issue where deployments[*].helm.timeout was a number instead of a string
  • Using devspace within a command or hook will now target the current executed binary
  • DevSpace will now try initially to download the devspacehelper in the container instead of uploading it (#1729)
  • Fixed an issue where DevSpace wouldn't sync files initially with newer timestamp locally
  • Improved local image lookup to consider all tags
devspace - v5.17.0-beta.7

Published by FabianKramm almost 3 years ago

Conditional Sync Commands

  • New option dev.sync[*].onUpload.exec that allows you to define commands that are executed on certain file changes. DevSpace makes sure that these commands are only executed after initial sync has finished and before the container might be restarted. For example:
deployments:
- name: app-backend
  helm:
    componentChart: true
    values:
      containers:
      - image: john/devbackend
dev:
  sync:
  - imageSelector: john/devbackend
    onUpload:
      # These post-sync commands will be executed after DevSpace synced changes to the container in the given order
      exec: 
      - onChange: ["./package.json"]
        command: |-
          npm install

Persistent Paths

  • New option dev.replacePods[*].persistPaths that allows you to persist certain paths with PVCs within the replaced pod for quicker syncing. For example:
dev:
  replacePods:
  - imageSelector: my-app/dev
    persistPaths:
    - path: /app
      # Optional path on the persistent volume to mount
      # volumePath: /my-volume/app
      # Optional name of the container to persist this path
      # containerName: my-container

Changes

  • New option dev.replacePods[*].name to define a name for the replace pods configuration
  • New option dev.replacePods[*].persistenceOptions that allows you to define PVC options for the dev.replacePods[*].persistPaths feature
  • New flag --name for devspace restart to select a sync config
  • New option hooks[*].name to name hooks
  • DevSpace will now ping the underlying connection during reverse port forwarding to detect hanging connections
  • DevSpace helper will now close automatically if multiple pings are missed
  • Improved initial sync startup time
  • DevSpace will now download and install kubectl or helm if those commands are used in a hook and not found locally
  • dev.replacePods are now replaced in parallel
  • dev.ports are now started in parallel
  • Fixed an issue where DevSpace would not rebuild even though the image would not be present in the local docker daemon
  • Removed Applied additional flags from environment message
  • Improved error message if no kube context was found
  • Improved config validation
  • Improved logging behaviour for dev.replacePods and dev.ports
  • Updated default kaniko version to v1.6.0
  • Fixed an issue where deployments[*].helm.timeout was a number instead of a string
  • Using devspace within a command or hook will now target the current executed binary
  • DevSpace will now try initially to download the devspacehelper in the container instead of uploading it (#1729)
  • Fixed an issue where DevSpace wouldn't sync files initially with newer timestamp locally
devspace - v5.17.0-beta.6

Published by FabianKramm almost 3 years ago

Conditional Sync Commands

  • New option dev.sync[*].onUpload.exec that allows you to define commands that are executed on certain file changes. DevSpace makes sure that these commands are only executed after initial sync has finished and before the container might be restarted. For example:
deployments:
- name: app-backend
  helm:
    componentChart: true
    values:
      containers:
      - image: john/devbackend
dev:
  sync:
  - imageSelector: john/devbackend
    onUpload:
      # These post-sync commands will be executed after DevSpace synced changes to the container in the given order
      exec: 
      - onChange: ["./package.json"]
        command: |-
          npm install

Persistent Paths

  • New option dev.replacePods[*].persistPaths that allows you to persist certain paths with PVCs within the replaced pod for quicker syncing. For example:
dev:
  replacePods:
  - imageSelector: my-app/dev
    persistPaths:
    - path: /app
      # Optional path on the persistent volume to mount
      # volumePath: /my-volume/app
      # Optional name of the container to persist this path
      # containerName: my-container

Changes

  • New option dev.replacePods[*].name to define a name for the replace pods configuration
  • New option dev.replacePods[*].persistenceOptions that allows you to define PVC options for the dev.replacePods[*].persistPaths feature
  • New flag --name for devspace restart to select a sync config
  • New option hooks[*].name to name hooks
  • DevSpace will now ping the underlying connection during reverse port forwarding to detect hanging connections
  • DevSpace helper will now close automatically if multiple pings are missed
  • DevSpace will now download and install kubectl or helm if those commands are used in a hook and not found locally
  • dev.replacePods are now replaced in parallel
  • dev.ports are now started in parallel
  • Fixed an issue where DevSpace would not rebuild even though the image would not be present in the local docker daemon
  • Removed Applied additional flags from environment message
  • Improved error message if no kube context was found
  • Improved config validation
  • Improved logging behaviour for dev.replacePods and dev.ports
  • Updated default kaniko version to v1.6.0
  • Fixed an issue where deployments[*].helm.timeout was a number instead of a string
  • Using devspace within a command or hook will now target the current executed binary
  • DevSpace will now try initially to download the devspacehelper in the container instead of uploading it (#1729)
  • Fixed an issue where DevSpace wouldn't sync files initially with newer timestamp locally
devspace - v5.17.0-beta.5

Published by FabianKramm almost 3 years ago

Conditional Sync Commands

  • New option dev.sync[*].onUpload.exec that allows you to define commands that are executed on certain file changes. DevSpace makes sure that these commands are only executed after initial sync has finished and before the container might be restarted. For example:
deployments:
- name: app-backend
  helm:
    componentChart: true
    values:
      containers:
      - image: john/devbackend
dev:
  sync:
  - imageSelector: john/devbackend
    onUpload:
      # These post-sync commands will be executed after DevSpace synced changes to the container in the given order
      exec: 
      - onChange: ["./package.json"]
        command: |-
          npm install

Persistent Paths

  • New option dev.replacePods[*].persistPaths that allows you to persist certain paths with PVCs within the replaced pod for quicker syncing. For example:
dev:
  replacePods:
  - imageSelector: my-app/dev
    persistPaths:
    - path: /app
      # Optional path on the persistent volume to mount
      # volumePath: /my-volume/app
      # Optional name of the container to persist this path
      # containerName: my-container

Changes

  • New option dev.replacePods[*].name to define a name for the replace pods configuration
  • New option dev.replacePods[*].persistenceOptions that allows you to define PVC options for the dev.replacePods[*].persistPaths feature
  • New flag --name for devspace restart to select a sync config
  • New option hooks[*].name to name hooks
  • DevSpace will now ping the underlying connection during reverse port forwarding to detect hanging connections
  • DevSpace helper will now close automatically if multiple pings are missed
  • DevSpace will now download and install kubectl or helm if those commands are used in a hook and not found locally
  • dev.replacePods are now replaced in parallel
  • dev.ports are now started in parallel
  • Fixed an issue where DevSpace would not rebuild even though the image would not be present in the local docker daemon
  • Removed Applied additional flags from environment in devspace run commands
  • Improved error message if no kube context was found
  • Improved config validation
  • Improved logging behaviour for dev.replacePods and dev.ports
  • Updated default kaniko version to v1.6.0
  • Fixed an issue where deployments[*].helm.timeout was a number instead of a string
  • Using devspace within a command or hook will now target the current executed binary
  • DevSpace will now try initially to download the devspacehelper in the container instead of uploading it (#1729)
devspace - v5.17.0-beta.4

Published by FabianKramm about 3 years ago

Conditional Sync Commands

  • New option dev.sync[*].onUpload.exec that allows you to define commands that are executed on certain file changes. DevSpace makes sure that these commands are only executed after initial sync has finished and before the container might be restarted. For example:
deployments:
- name: app-backend
  helm:
    componentChart: true
    values:
      containers:
      - image: john/devbackend
dev:
  sync:
  - imageSelector: john/devbackend
    onUpload:
      # These post-sync commands will be executed after DevSpace synced changes to the container in the given order
      exec: 
      - onChange: ["./package.json"]
        command: |-
          npm install

Persistent Paths

  • New option dev.replacePods[*].persistPaths that allows you to persist certain paths with PVCs within the replaced pod for quicker syncing. For example:
dev:
  replacePods:
  - imageSelector: my-app/dev
    persistPaths:
    - path: /app
      # Optional path on the persistent volume to mount
      # volumePath: /my-volume/app
      # Optional name of the container to persist this path
      # containerName: my-container

Changes

  • New option dev.replacePods[*].name to define a name for the replace pods configuration
  • New option dev.replacePods[*].persistenceOptions that allows you to define PVC options for the dev.replacePods[*].persistPaths feature
  • New flag --name for devspace restart to select a sync config
  • New option hooks[*].name to name hooks
  • DevSpace will now ping the underlying connection during reverse port forwarding to detect hanging connections
  • DevSpace helper will now close automatically if multiple pings are missed
  • DevSpace will now download and install kubectl or helm if those commands are used in a hook and not found locally
  • dev.replacePods are now replaced in parallel
  • dev.ports are now started in parallel
  • Fixed an issue where DevSpace would not rebuild even though the image would not be present in the local docker daemon
  • Removed Applied additional flags from environment in devspace run commands
  • Improved error message if no kube context was found
  • Improved config validation
  • Improved logging behaviour for dev.replacePods and dev.ports
  • Updated default kaniko version to v1.6.0
devspace - v5.17.0-beta.3

Published by FabianKramm about 3 years ago

Conditional Sync Commands

  • New option dev.sync[*].onUpload.exec that allows you to define commands that are executed on certain file changes. DevSpace makes sure that these commands are only executed after initial sync has finished and before the container might be restarted. For example:
deployments:
- name: app-backend
  helm:
    componentChart: true
    values:
      containers:
      - image: john/devbackend
dev:
  sync:
  - imageSelector: john/devbackend
    onUpload:
      # These post-sync commands will be executed after DevSpace synced changes to the container in the given order
      exec: 
      - onChange: ["./package.json"]
        command: |-
          npm install

Persistent Paths

  • New option dev.replacePods[*].persistPaths that allows you to persist certain paths with PVCs within the replaced pod for quicker syncing. For example:
dev:
  replacePods:
  - imageSelector: my-app/dev
    persistPaths:
    - path: /app
      # Optional path on the persistent volume to mount
      # volumePath: /my-volume/app
      # Optional name of the container to persist this path
      # containerName: my-container

Changes

  • New option dev.replacePods[*].name to define a name for the replace pods configuration
  • New option dev.replacePods[*].persistenceOptions that allows you to define PVC options for the dev.replacePods[*].persistPaths feature
  • New flag --name for devspace restart to select a sync config
  • New option hooks[*].name to name hooks
  • DevSpace will now ping the underlying connection during reverse port forwarding to detect hanging connections
  • DevSpace will now download and install kubectl or helm if those commands are used in a hook and not found locally
  • dev.replacePods are now replaced in parallel
  • dev.ports are now started in parallel
  • Removed Applied additional flags from environment in devspace run commands
  • Improved error message if no kube context was found
  • Improved config validation
  • Improved logging behaviour for dev.replacePods and dev.ports
  • Updated default kaniko version to v1.6.0
devspace - v5.17.0-beta.2

Published by FabianKramm about 3 years ago

Conditional Sync Commands

  • New option dev.sync[*].onUpload.exec that allows you to define commands that are executed on certain file changes. DevSpace makes sure that these commands are only executed after initial sync has finished and before the container might be restarted. For example:
deployments:
- name: app-backend
  helm:
    componentChart: true
    values:
      containers:
      - image: john/devbackend
dev:
  sync:
  - imageSelector: john/devbackend
    onUpload:
      # These post-sync commands will be executed after DevSpace synced changes to the container in the given order
      exec: 
      - onChange: ["./package.json"]
        command: |-
          npm install

Persistent Paths

  • New option dev.replacePods[*].persistPaths that allows you to persist certain paths with PVCs within the replaced pod for quicker syncing. For example:
dev:
  replacePods:
  - imageSelector: my-app/dev
    persistPaths:
    - path: /app
      # Optional path on the persistent volume to mount
      # volumePath: /my-volume/app
      # Optional name of the container to persist this path
      # containerName: my-container

Changes

  • New option dev.replacePods[*].name to define a name for the replace pods configuration
  • New option dev.replacePods[*].persistenceOptions that allows you to define PVC options for the dev.replacePods[*].persistPaths feature
  • New flag --name for devspace restart to select a sync config
  • DevSpace will now download and install kubectl or helm if those commands are used in a hook and not found locally
  • dev.replacePods are now replaced in parallel
  • dev.ports are now started in parallel
  • Removed Applied additional flags from environment in devspace run commands
  • Improved error message if no kube context was found
  • Improved config validation
  • Improved logging behaviour for dev.replacePods and dev.ports
  • Updated default kaniko version to v1.6.0
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