OpenFunction / cli

A CLI for interacting with OpenFunction.
Apache License 2.0
12 stars 16 forks source link

Dependencies have not been able to be installed #56

Open oil-oil opened 2 years ago

oil-oil commented 2 years ago

I have tried many ways to install the dependency and it stays in the checking if xxx is ready state. I wonder if I am doing something wrong? If you guys need more to troubleshoot you can let me add it. dapr is my own separate installation.

871653792685_ pic 861653792284_ pic

benjaminhuo commented 2 years ago

You can add the --region-cn option to avoid image pull error: ofn install --region-cn --all For more details of the new cli options, please refer to https://github.com/OpenFunction/cli/blob/main/docs/install.md And please try the latest v0.6.0 release : https://github.com/OpenFunction/cli/releases/tag/v0.6.0

benjaminhuo commented 2 years ago

@tpiperatgod any other logs to check where the installation is stuck?

oil-oil commented 2 years ago

You can add the --region-cn option to avoid image pull error: ofn install --region-cn --all For more details of the new cli options, please refer to https://github.com/OpenFunction/cli/blob/main/docs/install.md And please try the latest v0.6.0 release : https://github.com/OpenFunction/cli/releases/tag/v0.6.0

Thank you very much for your prompt reply, but I've tried using --region-cn and it still doesn't work. My screenshot shows the performance after using --region-cn

benjaminhuo commented 2 years ago

You can take a look at each component's events or logs, like: kubectl -n keda get pod kubectl -n keda logs <pod> kubectl -n keda describe pod <pod>

oil-oil commented 2 years ago

You can take a look at each component's events or logs, like: kubectl -n keda get pod kubectl -n keda describe pod

Okay, I'll try it.

tpiperatgod commented 2 years ago

"Error reports" says Tekton Pipelines is not ready, you can check what is wrong with Tekton Pipelines deployment.

Pls use the kubectl get pods --namespace tekton-pipelines --watch command to check the status of the Tekton Pipelines deployment, as described in this docs.

oil-oil commented 2 years ago

I'm a Chinese user, I turned the proxy off and tried again, but it reported this error. 891653797393_ pic

tpiperatgod commented 2 years ago

Looks like a network problem...🥲

I suggest you try adding this parameter: --version v0.6.0, also you are welcome to join our discord channel to discuss this issue.