openfaas / faas

OpenFaaS - Serverless Functions Made Simple
https://www.openfaas.com
MIT License
24.75k stars 1.92k forks source link

Openfaas install gateway Crash #1833

Closed a48446 closed 5 months ago

a48446 commented 5 months ago

When encountering a crash scenario with the OpenFaaS gateway during installation, you need to change the serviceType in the values.yaml file to LoadBalancer. This is because OpenFaaS defaults to using NodePort for deployment, and as a result, there won't be an External-IP assigned after installation for IP distribution. Therefore, you must modify the faas-netes configuration file to change the External-IP to be obtained using the LoadBalancer approach.

Your Environment

alexellis commented 5 months ago

Hi, you will need to provide us with much more detail than this.

There is no reason that a NodePort would cause the container to crash, so look at the troubleshooting guide and work through it line by line. You should find the problem.

Alex

alexellis commented 5 months ago

Here is a confirmation that the NodePort configuration works as expected, no crashes.

Screenshot 2024-02-02 at 08 33 27

Please fill out the whole issue template in future, and give us as much specifics as you can including K8s version, hosting platform, versions, etc