Creare una pipeline DevOps recensioni

65971 recensioni

The “Deploy Container” option has been deprecated, but the lab instructions haven’t been updated yet. In addition, there seems to be an issue with the Python Flask app—it isn’t accessible after deployment. if __name__ == "__main__": # app.run(host='0.0.0.0', port=8080, debug=True, threaded=True) port = int(os.environ.get("PORT", 8080)) # fallback to 8080 locally app.run(host='0.0.0.0', port=port, debug=True, threaded=True) And create firewall rule to allow HTTP port 80.

Wenjing L. · Recensione inserita 26 giorni fa

Josimar M. · Recensione inserita 26 giorni fa

Tolulope E. · Recensione inserita 26 giorni fa

Amy H. · Recensione inserita 26 giorni fa

Rohit K. · Recensione inserita 26 giorni fa

This is the comment that you're looking for In case you cannot connect to VM after you created it with Docker, is due to Dockerfile opening port 80, but the Flask app runs on port 8080. So, ssh into VM, change to sudo user with sudo su -, delete the running container, create another with port binding: docker run -d -p 80:8080 <image_name>:<image_tag> . Eventually, exec into container and run again the flash app with python3 main.py. After this, do not close the ssh window, put it aside. Repeat also this step for the second VM. Good Luck

Laurentiu B. · Recensione inserita 26 giorni fa

Eduardo X. · Recensione inserita 26 giorni fa

Bogdan D. · Recensione inserita 26 giorni fa

Malith M. · Recensione inserita 26 giorni fa

vm instance logged "network interface disabled" and TCP connections to the flask instance simply hung. I tried asking the gemini for cloud thing to help, and it complained tooling issues prevented it from checking compute engine instances, so I got no insight from there, either.

Michael M. · Recensione inserita 26 giorni fa

Rushi P. · Recensione inserita 27 giorni fa

Tapas B. · Recensione inserita 27 giorni fa

Harshit S. · Recensione inserita 27 giorni fa

Manish K. · Recensione inserita 27 giorni fa

Bogdan D. · Recensione inserita 27 giorni fa

Bünny Y. · Recensione inserita 27 giorni fa

Thomas D. · Recensione inserita 27 giorni fa

yusuf A. · Recensione inserita 27 giorni fa

Julien L. · Recensione inserita 27 giorni fa

saikumar G. · Recensione inserita 27 giorni fa

21 S. · Recensione inserita 27 giorni fa

Yuvashree S. · Recensione inserita 27 giorni fa

The “Deploy Container” option has been deprecated, but the lab instructions haven’t been updated yet. In addition, there seems to be an issue with the Python Flask app—it isn’t accessible after deployment. if __name__ == "__main__": # app.run(host='0.0.0.0', port=8080, debug=True, threaded=True) port = int(os.environ.get("PORT", 8080)) # fallback to 8080 locally app.run(host='0.0.0.0', port=port, debug=True, threaded=True)

Wenjing L. · Recensione inserita 27 giorni fa

Shantharama P. · Recensione inserita 27 giorni fa

sridhar n. · Recensione inserita 27 giorni fa

Non garantiamo che le recensioni pubblicate provengano da consumatori che hanno acquistato o utilizzato i prodotti. Le recensioni non sono verificate da Google.