kubernetes-retired / cluster-api-provider-nested

Cluster API Provider for Nested Clusters
Apache License 2.0
301 stars 67 forks source link

ClusterResourceSet feature does not work #155

Closed jinsongo closed 3 years ago

jinsongo commented 3 years ago

What steps did you take and what happened: [A clear and concise description on how to REPRODUCE the bug.]

Follow the proposal guides: https://github.com/kubernetes-sigs/cluster-api/blob/master/docs/proposals/20200220-cluster-resource-set.md https://cluster-api.sigs.k8s.io/tasks/experimental-features/experimental-features.html?highlight=ClusterResourceSet#enabling-experimental-features-on-existing-management-clusters

  1. Deploy two nested clusters in Kind
  2. Enable ClusterResourceSet feature
  3. Create secret and configmap by the samples from 20200220-cluster-resource-set.md
  4. Create ClusterResourceSet by the sample from 20200220-cluster-resource-set.md

The following problem appears, but the two apiservers are running normally by kubectl command.

E0702 09:08:52.250697       1 controller.go:302] controller-runtime/manager/controller/clusterresourceset "msg"="Reconciler error"
 "error"="error creating client and cache for remote cluster: error creating dynamic rest mapper for remote cluster \"default/cluster-sample\":
 Get \"https://cluster-sample-apiserver:6443/api?timeout=10s\": dial tcp: lookup cluster-sample-apiserver on 10.96.0.10:53: server misbehaving"
  "name"="crs1" "namespace"="default" "reconciler group"="addons.cluster.x-k8s.io" "reconciler kind"="ClusterResourceSet"
E0702 09:07:16.064594       1 controller.go:302] controller-runtime/manager/controller/clusterresourceset "msg"="Reconciler error"
 "error"="error creating client and cache for remote cluster: error creating dynamic rest mapper for remote cluster \"default/cluster-virtual\":
 Get \"https://cluster-virtual-apiserver:6443/api?timeout=10s\": dial tcp: lookup cluster-virtual-apiserver on 10.96.0.10:53: server misbehaving"
 "name"="crs1" "namespace"="default" "reconciler group"="addons.cluster.x-k8s.io" "reconciler kind"="ClusterResourceSet"

What did you expect to happen: The secret and configmap are deployed in nested clusters

Anything else you would like to add: [Miscellaneous information that will assist in solving the issue.]

Environment:

/kind bug [One or more /area label. See https://github.com/kubernetes-sigs/cluster-api-provider-nested/labels?q=area for the list of labels]

jinsongo commented 3 years ago

@Fei-Guo @christopherhein @charleszheng44 @gyliu513

christopherhein commented 3 years ago

@wangjsty can you add this information to #41 ?

christopherhein commented 3 years ago

/close duplicate issue for tracking CRS.

k8s-ci-robot commented 3 years ago

@christopherhein: Closing this issue.

In response to [this](https://github.com/kubernetes-sigs/cluster-api-provider-nested/issues/155#issuecomment-873119252): >/close >duplicate issue for tracking CRS. 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.
jinsongo commented 3 years ago

@christopherhein I would like to track the issue by the duplicated one #41. Thanks!