loft-sh / loft

Namespace & Virtual Cluster Manager for Kubernetes - Lightweight Virtual Clusters, Self-Service Provisioning for Engineers and 70% Cost Savings with Sleep Mode
https://loft.sh/docs/introduction
Other
737 stars 65 forks source link

loft-agent seems to be currently unavailable #198

Closed labaq closed 2 years ago

labaq commented 2 years ago

using loft start to deploy get error message from create space

螢幕截圖 2022-05-23 下午3 53 59

check the agent log

...
E0523 07:14:36.868640       1 controller.go:511] unable to retrieve the complete list of server APIs: cluster.loft.sh/v1: the server is currently unable to handle the request
E0523 07:15:06.895400       1 controller.go:511] unable to retrieve the complete list of server APIs: cluster.loft.sh/v1: the server is currently unable to handle the request
E0523 07:15:36.914768       1 controller.go:511] unable to retrieve the complete list of server APIs: cluster.loft.sh/v1: the server is currently unable to handle the request
E0523 07:16:06.940197       1 controller.go:511] unable to retrieve the complete list of server APIs: cluster.loft.sh/v1: the server is currently unable to handle the request
E0523 07:16:36.964231       1 controller.go:511] unable to retrieve the complete list of server APIs: cluster.loft.sh/v1: the server is currently unable to handle the request
E0523 07:17:07.002751       1 controller.go:511] unable to retrieve the complete list of server APIs: cluster.loft.sh/v1: the server is currently unable to handle the request
E0523 07:17:37.028414       1 controller.go:511] unable to retrieve the complete list of server APIs: cluster.loft.sh/v1: the server is currently unable to handle the request
E0523 07:18:07.064015       1 controller.go:511] unable to retrieve the complete list of server APIs: cluster.loft.sh/v1: the server is currently unable to handle the request
E0523 07:18:37.088767       1 controller.go:511] unable to retrieve the complete list of server APIs: cluster.loft.sh/v1: the server is currently unable to handle the request
E0523 07:19:07.110545       1 controller.go:511] unable to retrieve the complete list of server APIs: cluster.loft.sh/v1: the server is currently unable to handle the request
E0523 07:19:37.132303       1 controller.go:511] unable to retrieve the complete list of server APIs: cluster.loft.sh/v1: the server is currently unable to handle the request
E0523 07:20:07.152274       1 controller.go:511] unable to retrieve the complete list of server APIs: cluster.loft.sh/v1: the server is currently unable to handle the request
...

apiservice is false

...
v1.cluster.loft.sh                     loft/loft-agent-apiservice   False (FailedDiscoveryCheck)   17m
...

UPDATE the error message is occour on when i using port-forwarding. but it seem not happen when i upgrade the kubectl