Coder Social home page Coder Social logo

lfs256-code's People

Contributors

eeganlf avatar toksikk avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

lfs256-code's Issues

Wrong instructions and build

The instructions in the "Lab 3.2 - Managing Applications with Argo CD" section of the course are not working.

The image(s) that we are downloading from docker hub https://hub.docker.com/r/liquidreply/argocd-example-app/tags is/are built to listen of port 80, but the deployment has 3000 as containerPort in the deployment.yaml manifest, and the service is using that wrong port too. The instructions for port forwarding are starting the forwarding but fail on the first request:

Forwarding from 127.0.0.1:9090 -> 3000
Forwarding from [::1]:9090 -> 3000
Handling connection for 9090
E0526 23:06:57.873145 39534 portforward.go:413] an error occurred forwarding 9090 -> 3000: error forwarding port 3000 to pod 78b33df8339f89d73c24aae388e0913977aa0b5db2a5ccec072b1d03f23d77d2, uid : failed to execute portforward in network namespace "/var/run/netns/cni-ece8624f-bf66-fe0f-9360-919d6b944074": failed to connect to localhost:3000 inside namespace "78b33df8339f89d73c24aae388e0913977aa0b5db2a5ccec072b1d03f23d77d2", IPv4: dial tcp4 127.0.0.1:3000: connect: connection refused IPv6 dial tcp6 [::1]:3000: connect: connection refused
error: lost connection to pod

If you change the port in the manifests from 3000 to 80 everything is working as expected. I can only guess that you have migrated from express app to nginx web server and have not changed the build parameters in the manifests but this is only a speculation.

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.