karmada-io / karmada

Open, Multi-Cloud, Multi-Cluster Kubernetes Orchestration
https://karmada.io
Apache License 2.0
4.43k stars 877 forks source link

no matching resources found #1379

Closed luoMonkeyKing closed 1 year ago

luoMonkeyKing commented 2 years ago

When executing the local-up-karmada.sh script, the following error is reported

294c9c2be01ca5081be0c573199bdfa

Environment:

RainbowMango commented 2 years ago

Are you running the hack/local-up-karmada.sh under the root directory of karmada repo?

RainbowMango commented 2 years ago

Could you please post the whole output here?

luoMonkeyKing commented 2 years ago

您是否正在运行hack/local-up-karmada.shkarmada repo 的根目录下? Yes, the directory I am running is /home/karmada and the running command is hack/local-up-karmada.sh

luoMonkeyKing commented 2 years ago

你能把整个输出贴在这里吗?

My previous virtual machine was deleted, I rebuilt a HUAWEI CLOUD virtual machine today, and this error was reported after installation


2022/02/21 10:39:31 [INFO] signed certificate with serial number 44646887950809210002655652010120055702994310444
namespace/karmada-system created
serviceaccount/karmada-controller-manager created
serviceaccount/karmada-scheduler created
serviceaccount/karmada-webhook created
clusterrole.rbac.authorization.k8s.io/karmada-controller-manager created
clusterrolebinding.rbac.authorization.k8s.io/karmada-controller-manager created
secret/karmada-cert-secret created
secret/kubeconfig created
secret/webhook-cert created
statefulset.apps/etcd created
service/etcd-client created
service/etcd created
wait the etcd ready...
pod/etcd-0 condition met

Apply dynamic rendered apiserver service in /tmp/tmp.tWMBxJgplV/karmada-apiserver.yaml. deployment.apps/karmada-apiserver created service/karmada-apiserver created wait the karmada-apiserver ready... pod/karmada-apiserver-5746cf97bb-m9vs9 condition met

Karmada API Server's IP is: 172.x.x.x, host cluster type is: local Cluster "karmada-apiserver" set. User "karmada-apiserver" set. Context "karmada-apiserver" created. deployment.apps/karmada-kube-controller-manager created deployment.apps/karmada-aggregated-apiserver created service/karmada-aggregated-apiserver created wait the karmada-aggregated-apiserver ready... pod/karmada-aggregated-apiserver-7b88b8df99-cwp96 condition met pod/karmada-aggregated-apiserver-7b88b8df99-fbkw4 condition met error: error when retrieving current configuration of: Resource: "/v1, Resource=namespaces", GroupVersionKind: "/v1, Kind=Namespace" Name: "karmada-system", Namespace: "" from server for: "hack/../hack/../artifacts/deploy/namespace.yaml": Get "https://172.x.x.x:5443/api/v1/namespaces/karmada-system": http2: client connection lost```

luoMonkeyKing commented 2 years ago

It should be that the virtual machine configuration is not enough. The original virtual machine is 2u4G, and it can be upgraded to 4u8G.

RainbowMango commented 2 years ago

Thanks @luoMonkeyKing for your feedback. It means a lot.

I think we should document this case somewhere.

/reopen /assign

karmada-bot commented 2 years ago

@RainbowMango: Reopened this issue.

In response to [this](https://github.com/karmada-io/karmada/issues/1379#issuecomment-1047556171): >Thanks @luoMonkeyKing for your feedback. It means a lot. > >I think we should document this case somewhere. > >/reopen >/assign Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.
RainbowMango commented 2 years ago

We are running hack/local-up-karmada.sh in GitHub-Hosted runners which with the following hardware specification:

If it is the case, I guess this problem is due to a lack of memory.

luoMonkeyKing commented 2 years ago

我们hack/local-up-karmada.sh在 GitHub 托管的运行器中运行,其硬件规格如下:

  • 2核CPU
  • 7 GB RAM 内存
  • 14 GB SSD 磁盘空间

如果是这样的话,我猜这个问题是由于内存不足造成的。

I think it should be like this

XiShanYongYe-Chang commented 1 year ago

This issue has not been active for a long time. Close it first. If have any problems, you can open it at any time. /close

karmada-bot commented 1 year ago

@XiShanYongYe-Chang: Closing this issue.

In response to [this](https://github.com/karmada-io/karmada/issues/1379#issuecomment-1617591083): >This issue has not been active for a long time. Close it first. If have any problems, you can open it at any time. >/close Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.