Comments (5)
You need to run through the troubleshooting guide to find out what's wrong with the faasnetes container.
https://docs.openfaas.com/deployment/troubleshooting/
I also have a good post on my blog about this:
https://blog.alexellis.io/troubleshooting-on-kubernetes/
Alex
from faas-netes.
Hi @alexellis,
I've gone through your guides, which cover mostly what I already checked, thanks for that, but I still can't say why it's failing, other than the probes are failing. Here's the gateway logs
$ kubectl -n openfaas logs deploy/gateway
Found 2 pods, using pod/gateway-7684989679-qkmfl
Defaulted container "gateway" out of: gateway, operator
OpenFaaS Gateway - Community Edition (CE)
Version: 0.26.3 Commit: a128df471f406690b1021a32317340b29689c315
Timeouts: read=1m5s write=1m5s upstream=1m0s
Function provider: http://127.0.0.1:8081/
2023/06/06 13:19:29 Async enabled: Using NATS Streaming
2023/06/06 13:19:29 Deprecation Notice: NATS Streaming is no longer maintained and won't receive updates from June 2023
2023/06/06 13:19:29 Opening connection to nats://nats.openfaas.svc.cluster.local:4222
2023/06/06 13:19:29 Connect: nats://nats.openfaas.svc.cluster.local:4222
2023/06/06 13:19:34 Get "http://127.0.0.1:8081/system/namespaces": dial tcp 127.0.0.1:8081: connect: connection refused
2023/06/06 13:19:34 Get "http://127.0.0.1:8081/system/functions?namespace=openfaas-fn": dial tcp 127.0.0.1:8081: connect: connection refused
2023/06/06 13:19:39 Get "http://127.0.0.1:8081/system/namespaces": dial tcp 127.0.0.1:8081: connect: connection refused
2023/06/06 13:19:39 Get "http://127.0.0.1:8081/system/functions?namespace=openfaas-fn": dial tcp 127.0.0.1:8081: connect: connection refused
2023/06/06 13:19:44 Get "http://127.0.0.1:8081/system/namespaces": dial tcp 127.0.0.1:8081: connect: connection refused
2023/06/06 13:19:44 Get "http://127.0.0.1:8081/system/functions?namespace=openfaas-fn": dial tcp 127.0.0.1:8081: connect: connection refused
2023/06/06 13:19:49 Get "http://127.0.0.1:8081/system/namespaces": dial tcp 127.0.0.1:8081: connect: connection refused
2023/06/06 13:19:49 Get "http://127.0.0.1:8081/system/functions?namespace=openfaas-fn": dial tcp 127.0.0.1:8081: connect: connection refused
2023/06/06 13:19:54 Get "http://127.0.0.1:8081/system/namespaces": dial tcp 127.0.0.1:8081: connect: connection refused
2023/06/06 13:19:54 Get "http://127.0.0.1:8081/system/functions?namespace=openfaas-fn": dial tcp 127.0.0.1:8081: connect: connection refused
The events tell me the same... liveness and readiness probes failing.
openfaas 13m Warning Unhealthy pod/gateway-65f6b959c5-5jpwg Readiness probe failed: HTTP probe failed with statuscode: 502
openfaas 13m Warning Unhealthy pod/gateway-65f6b959c5-5jpwg Liveness probe failed: HTTP probe failed with statuscode: 502
from faas-netes.
I'm so sorry for the confusion.
I asked you for the logs from faas-netes - not the gateway.
The troubleshooting guide gives you the exact commands, when you run them, you'll get more info.
Perhaps it was also unclear, but my troubleshooting guide tells you to get the events for the namespace.
Please can you do that too.
As a rule, we do not troubleshoot or debug the clusters of community edition (free) users. I'm doing this as an exception.
Alex
from faas-netes.
Hi again @alexellis,
The confusion was mine, I misread your advise.
$ kubectl -n openfaas logs deploy/gateway -c operator
Found 2 pods, using pod/gateway-7684989679-qkmfl
2023/06/06 14:02:52 A license is required via --license or --license-file
Now this was unexpected, maybe it was a change that I missed in the release notes. Is a license file required for CE?
from faas-netes.
I'll get this issue closed as there is no problem that I can see above.
No additional license is required for CE, however you should consult the docs for what's available for free users vs paid:
You should convert that installation to use the controller mode, no custom resource is available for the community edition.
Or you can revert to the prior version that you were using previously - but beware that the base image and some libraries used contain high severity CVEs.
Of course, you know that we are always here, if you want to talk about options for OpenFaaS Standard for your use within your business.
Alex
from faas-netes.
Related Issues (20)
- Support request about image pull policy HOT 3
- Support request for VirtualBox HOT 5
- Documentation for working with the Function CRD - need more documentation about it in my opinion HOT 1
- [Question] About workflow in high concurrency situation HOT 3
- OpenFaaS CE - Manually scale to zero HOT 1
- Support request for exceeding Docker Hub rate limit for Prometheus and NATS HOT 1
- Error response from daemon: manifest unknown HOT 2
- Container Gateway of pod faas-netes CrashLoopBackOff : Readiness probe failed and Liveness probe failed HOT 4
- Question on how to access the OpenFaaS gateway HOT 2
- Move to k8s.io/code-generator/kube_codegen.sh for codegen
- Question about OpenFaas CE limitations HOT 1
- Helm chart openfaas/openfaas:14.1.7 fails to install because annotation bool value is not quoted HOT 2
- basic-auth secret is missing in install yaml HOT 1
- [Question] unable to create function, maximum: 30 HOT 1
- Airgap support for Community Edition HOT 3
- Question about usage for Community Edition HOT 3
- Question : about local development for free users and pull policy HOT 1
- Support request about image pull policy HOT 2
- OpenFaaS CE and local registry with KinD HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from faas-netes.