Skip to content

Prioritize service instead of devspace UI when using port 8090 #3000

@jackwilsdon

Description

@jackwilsdon

What happened?
Port forwarding a service on 8090 using devspace dev serves the UI instead of the service.

What did you expect to happen instead?
The service should take priority and the UI should run on the next available port.

How can we reproduce the bug? (as minimally and precisely as possible)
Run devspace dev with the following devspace.yaml:

version: v2beta1
name: whoami
deployments:
  api:
    helm:
      chart:
        name: component-chart
        repo: https://charts.devspace.sh
      values:
        containers:
          - image: traefik/whoami
            env:
              - name: WHOAMI_PORT_NUMBER
                value: "8090"
        service:
          ports:
            - port: 8090
dev:
  api:
    imageSelector: traefik/whoami
    ports:
      - port: "8090"

Local Environment:

  • DevSpace Version: 6.3.17
  • Operating System: mac
  • ARCH of the OS: ARM64

Kubernetes Cluster:

  • Cloud Provider: docker desktop
  • Kubernetes Version: client: v1.33.3, server: v1.32.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/enhancementEnhancement of an existing feature / improvement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions