-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
Hello! I tried to deploy this function to my OpenFaaS CE instance just to test it. When I ran the faas-cli command the tool says that the deploy is successful, but when I read the events from the deploy object it says there are some problems with the probes:
user@server:~$ kubectl describe pod inception-98c97ddf8-zgs5p -n openfaas-fn
[...]
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled 5m10s default-scheduler Successfully assigned openfaas-fn/inception-98c97ddf8-zgs5p to minikube
Normal Pulled 4m12s kubelet Successfully pulled image "alexellis/inception" in 57.761s (57.761s including waiting). Image size: 2358202527 bytes.
Warning Unhealthy 3m59s (x2 over 4m1s) kubelet Readiness probe failed: Get "http://10.244.2.160:8080/_/health": dial tcp 10.244.2.160:8080: connect: connection refused
Normal Pulled 3m59s kubelet Successfully pulled image "alexellis/inception" in 1.877s (1.877s including waiting). Image size: 2358202527 bytes.
Warning Unhealthy 3m51s kubelet Readiness probe failed: Get "http://10.244.2.160:8080/_/health": read tcp 10.244.0.1:53454->10.244.2.160:8080: read: connection reset by peer
Normal Pulled 3m50s kubelet Successfully pulled image "alexellis/inception" in 1.028s (1.028s including waiting). Image size: 2358202527 bytes.
Warning Unhealthy 3m45s (x10 over 4m6s) kubelet Readiness probe failed: Get "http://10.244.2.160:8080/_/health": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
Warning Unhealthy 3m43s (x9 over 4m5s) kubelet Liveness probe failed: Get "http://10.244.2.160:8080/_/health": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
Warning Unhealthy 3m43s (x3 over 4m1s) kubelet Readiness probe failed: Get "http://10.244.2.160:8080/_/health": EOF
Normal Pulled 3m31s kubelet Successfully pulled image "alexellis/inception" in 1.103s (1.103s including waiting). Image size: 2358202527 bytes.
Normal Pulling 3m23s (x5 over 5m10s) kubelet Pulling image "alexellis/inception"
Normal Started 3m22s (x5 over 4m9s) kubelet Started container inception
Normal Created 3m22s (x5 over 4m9s) kubelet Created container: inception
Normal Pulled 3m22s kubelet Successfully pulled image "alexellis/inception" in 984ms (984ms including waiting). Image size: 2358202527 bytes.
Normal Killing 3m15s (x5 over 4m1s) kubelet Container inception failed liveness probe, will be restarted
user@server:~$ kubectl logs inception-98c97ddf8-zgs5p -n openfaas-fn
2025/12/22 17:39:23 Writing lock-file to: /tmp/.lockOutput of faas-cli version and faas-cli describe inception:
user@server:~$ faas-cli version
___ _____ ____
/ _ \ _ __ ___ _ __ | ___|_ _ __ _/ ___|
| | | | '_ \ / _ \ '_ \| |_ / _` |/ _` \___ \
| |_| | |_) | __/ | | | _| (_| | (_| |___) |
\___/| .__/ \___|_| |_|_| \__,_|\__,_|____/
|_|
CLI:
commit: 6e28e119479ccda2671e6235404460a0abe7cdb8
version: 0.18.0
Handling connection for 8080
Gateway
uri: http://127.0.0.1:8080
version: 0.27.13
sha: 7926181684e5fed8b915d035fe652232d708463d
Provider
name: faas-netes-ce
orchestration: kubernetes
version: 0.18.16
sha: cac64e04f91db67b75d055d3ee4d286b303575db
user@server:~$ faas-cli describe inception
Handling connection for 8080
Name: inception
Status: Not Ready
Replicas: 1
Available Replicas: 0
Invocations: 1
Image: alexellis/inception
Function Process: python3 index.py
URL: http://127.0.0.1:8080/function/inception
Async URL: http://127.0.0.1:8080/async-function/inception
Labels:
faas_function: inception
Annotations:
prometheus.io.scrape: falseMetadata
Metadata
Assignees
Labels
No labels