Coder Social home page Coder Social logo

Comments (3)

eko avatar eko commented on May 29, 2024

Hi @mcadam,

Thank you for reporting this issue, I will try to repoduce in the coming days and will let you know about it. It's great that you have identified a start of the issue :)

from monday.

eko avatar eko commented on May 29, 2024

Hi @mcadam,

Maybe this has been fixed since the 1.0.4 version but here is what I tried to do to reproduce this issue (I've tested with v1.0.8).

I added the following configuration:

# A non-existant label match on Kubernetes
<: &unknown-service-kubernetes
  name: unknown-service
  type: kubernetes
  values:
    context: *kubernetes-context
    namespace: platform
    hostname: unknown.svc.local
    labels:
      app: this-is-totally-unknown-from-kubernetes
    ports:
     - 8080:8080

# A project with this non-existant forward
projects:
 - name: Unknown service (forward)
   forward:
    - *unknown-service-kubernetes

Then, when I run Monday and select this project, I have the following output and when I hit "Ctrl+C", it's OK:

$ monday
โœ” Unknown service (forward)

๐Ÿ“ก  Forwarding 'unknown-service' over kubernetes...
โœ…  Successfully mapped hostname 'unknown.svc.local' with IP '127.1.2.1' and port 9401
๐Ÿ”Œ  Proxifying unknown.svc.local locally (127.1.2.1:8080) <-> forwarding to 127.0.0.1:9401
No pod available for selector 'app=this-is-totally-unknown-from-kubernetes': <nil>
๐Ÿ‘“  Forwarder: lost port-forward connection trying to reconnect...
No pod available for selector 'app=this-is-totally-unknown-from-kubernetes': <nil>
๐Ÿ‘“  Forwarder: lost port-forward connection trying to reconnect...
No pod available for selector 'app=this-is-totally-unknown-from-kubernetes': <nil>
๐Ÿ‘“  Forwarder: lost port-forward connection trying to reconnect...
^C
๐Ÿ‘‹  Bye, closing your local applications and remote connections now

I've also tried using the UI with --ui and it's also correctly interrupted

Could you please close this issue if it's fixed for you too?

Thank you

from monday.

eko avatar eko commented on May 29, 2024

Closing this issue as there is no answer and this seems to be fixed now. Thank you.

from monday.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.