Questions tagged [devspace]

20 questions
4
votes
3 answers

Spring Cloud Kubernetes: Timeout waiting for informers cache to be ready

I'm attempting to take advantage of Spring Cloud Kubernetes in my Spring Boot-based microservice, namely autoconfiguration and service discovery. However, I get an error message (Timeout waiting for informers cache to be ready, is the kubernetes…
3
votes
4 answers

How to remove existing downloaded docker images from minikube

I'm deploying several services to my local cluster (minikube) using DevSpace tool. Once someone makes changes to one of the services and pushes the image to our private repo, I need these changes to be available on my local then. What I do now is I…
vitali_li
  • 101
  • 1
  • 2
  • 13
1
vote
1 answer

Changing from python:3-alpine image to python:3.8-slim in Devspace

I am having Issues with installing pip dependancies within my devImage. I was wondering if instead of using devImage: ghcr.io/loft-sh/devspace-containers/python:3-alpine I could use something like devImage:…
StackGod
  • 221
  • 1
  • 2
  • 4
1
vote
1 answer

Can't connect to Pod in DevSpace following Django tutorial

The DevSpace-Django tutorial in question is the following: https://devspace.cloud/blog/2019/10/18/deploy-django-to-kubernetes Trying something completely barebones to understand how devspace works to decide if I want to make the switch from…
cjones
  • 8,384
  • 17
  • 81
  • 175
1
vote
0 answers

How to fix Can't find bundle for base name ncs_rest_sim, locale en_us when running devspace simulator

I Am trying to install devspace simulator on ubuntu 20.10 with java version "1.8.0_271" and I get the following error when I run it: HTTP ERROR 500 Problem accessing /. Reason: Can't find bundle for base name ncs_rest_sim, locale en_us Caused…
francis
  • 3,852
  • 1
  • 28
  • 30
0
votes
0 answers

Resolving build dependencies between environments in multi-stage Docker file

This is my dillema: Implemented layer caching in our Azure DevOps Pipelines using multi-stage Dockerfiles (e.g., development:latest is a dependency of the unit-test and integration-test stages). To get this to work properly, I had to add image tags…
cjones
  • 8,384
  • 17
  • 81
  • 175
0
votes
0 answers

why devspace command not recognising 'sh.exe' on windows via npm or via powershell?

I am trying to install devspace on windows os by following official doc https://www.devspace.sh/docs/getting-started/installation?x0=6 via powershell or with npm, it installed successfully but when I go further to use it by devspace versiono or…
Nazneen Mulani
  • 93
  • 1
  • 2
  • 9
0
votes
1 answer

FastAPI docs on kubernetes not working with devspace on a minikube cluster. 502 bad gateway

I am trying to develop an application on kubernetes with hot-reloading (instant code sync). I am using DevSpace. When running my application on a minikube cluster, everything works and I am able to hit the ingress to reach my FastAPI docs. The…
DataPlug
  • 340
  • 3
  • 10
0
votes
1 answer

Possible to replace a FROM with DevSpace so dev uses a different reference without modifying the Dockerfile?

I have a Dockerfile that looks something like the following: # creating a node base FROM node:16-slim as node-base ENV CI=true # builder-base is used to build dependencies FROM node-base as builder-base COPY ./package-lock.json ./package.json…
cjones
  • 8,384
  • 17
  • 81
  • 175
0
votes
1 answer

Importing SQL dump in devspace deployment using Helm component charts

When I was using skaffold I just had a Dockerfile that was used to do the following: FROM postgres:13-alpine EXPOSE 5432 COPY *.sql /docker-entrypoint-initdb.d/ This would copy a dev SQL dump to load into a local dev database as it was spinning…
cjones
  • 8,384
  • 17
  • 81
  • 175
0
votes
1 answer

devspace enter command is just returning [fatal] unknown flag: --omit

I'm making a command to run tests inside of a container on demand that looks like this: - name: api-test description: Runs API tests in container command: | devspace enter --image-selector ${APP-NAME}/${API-DEV} \ coverage run…
cjones
  • 8,384
  • 17
  • 81
  • 175
0
votes
1 answer

DevSpace hook for running tests in container after an update to the container

My ultimate goal is to have tests run automatically anytime a container is updated. For example, if update /api, it should sync the changes between local and the container. After that it should automatically run the tests... ultimately. I'm starting…
cjones
  • 8,384
  • 17
  • 81
  • 175
0
votes
2 answers

Ingress isn't working after migrating from Skaffold and manifests to DevSpace and component charts

I've been toying with DevSpace with Helm charts and possibly migrating to it from Skaffold and Kubernetes manifests. I can't seem to get the ingress controller working for local development: comes back with 404 Not Found. I can reach it via…
cjones
  • 8,384
  • 17
  • 81
  • 175
0
votes
1 answer

Error executing hook: executable file not found in $PATH

I try to deploy service into minikube cluster via DevSpace tool. I have the following hook in my devspace.yaml - command: pip install -r requirements.txt when: after: deployments: all But at the time it executes it I got the…
Yarik Soltys
  • 315
  • 1
  • 2
  • 17
0
votes
2 answers

Devspace deploy error: pullSecrets[0].registry: cannot be empty

I'm studying how to deploy a django application with kubernetes, I found this tutorial, which explains about the Devspace tool, so that following the tutorial just like it returns me a message that I can't solve. the message is this: returns only…
1
2