lftraining / lfs256-code Goto Github PK
View Code? Open in Web Editor NEWCode for DevOps and Workflow Management with Argo (LFS256)
Code for DevOps and Workflow Management with Argo (LFS256)
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.