kubeless
kubeless copied to clipboard
FATA[0000] the server could not find the requested resource when calling function
Is this a BUG REPORT or FEATURE REQUEST?:
REPORT
What happened:
followed guide,then calling test.py showed an error
What you expected to happen:
call function
How to reproduce it (as minimally and precisely as possible): calling function
root@hu-VirtualBox:~# kubeless function call hello --data '{"hello":"world"}'
ERRO[0000] {
"paths": [
"/apis",
"/apis/",
"/apis/apiextensions.k8s.io",
"/apis/apiextensions.k8s.io/v1",
"/apis/apiextensions.k8s.io/v1beta1",
"/healthz",
"/healthz/etcd",
"/healthz/log",
"/healthz/ping",
"/healthz/poststarthook/crd-informer-synced",
"/healthz/poststarthook/generic-apiserver-start-informers",
"/healthz/poststarthook/priority-and-fairness-config-consumer",
"/healthz/poststarthook/priority-and-fairness-filter",
"/healthz/poststarthook/start-apiextensions-controllers",
"/healthz/poststarthook/start-apiextensions-informers",
"/livez",
"/livez/etcd",
"/livez/log",
"/livez/ping",
"/livez/poststarthook/crd-informer-synced",
"/livez/poststarthook/generic-apiserver-start-informers",
"/livez/poststarthook/priority-and-fairness-config-consumer",
"/livez/poststarthook/priority-and-fairness-filter",
"/livez/poststarthook/start-apiextensions-controllers",
"/livez/poststarthook/start-apiextensions-informers",
"/metrics",
"/openapi/v2",
"/readyz",
"/readyz/etcd",
"/readyz/informer-sync",
"/readyz/log",
"/readyz/ping",
"/readyz/poststarthook/crd-informer-synced",
"/readyz/poststarthook/generic-apiserver-start-informers",
"/readyz/poststarthook/priority-and-fairness-config-consumer",
"/readyz/poststarthook/priority-and-fairness-filter",
"/readyz/poststarthook/start-apiextensions-controllers",
"/readyz/poststarthook/start-apiextensions-informers",
"/readyz/shutdown",
"/version"
]
}
FATA[0000] the server could not find the requested resource
root@hu-VirtualBox:~# kubeless function ls
NAME NAMESPACE HANDLER RUNTIME DEPENDENCIES STATUS
hello default test.hello python3.7 1/1 READY
root@hu-VirtualBox:~# kubectl get pods
NAME READY STATUS RESTARTS AGE
hello-66d8765c4d-ffbln 1/1 Running 0 26m
Anything else we need to know?:
Hello I checked the debug section in documentation, but still don't know how to fix and trace this problem, what other info should i provide there?
Environment:
- Kubernetes version (use
kubectl version
): - v1.20
- Kubeless version (use
kubeless version
): - v1.0.8
- Cloud provider or physical cluster:
- physical
This seems to be the same issue as #1130
At the moment, Kubernetes versions > 1.18 are not fully supported.
Thanks @andresmgot. I had the same issue and installing Kubernetes version 1.18 worked!
Cheers!
@andresmgot any ETA for ks8 > 1.18? Thanks