-
Notifications
You must be signed in to change notification settings - Fork 529
Enabling CRDs themselves for federation does not work #1206
Comments
@vasanth89 you're right, this is failing. I workaround for now until I have more information would be to create yourself the Federated equivalent. We are doing that using the CustomResourceDefinition and creating one for FederatedCustomResourceDefinition so we can federate CRDs. |
@vasanth89 I found the bug, I am pushing a PR |
@hectorj2f Thanks for getting this done! We might need to update the documentation in kubefed user-guide (see the description of this issue). We can add a note to say that kubefed can be used to federate the CRD to the member clusters before federating resources of that CRD type. |
@vasanth89 sure, I'd do it. Could you also test #1207 changes to validate this statement on your own environment ? |
I am not sure how to go about doing that since I have always used the |
Or if you have the image hosted somewhere with a specific tag, I can just point my deployment to pull that image |
@vasanth89 it is just the kubefectl binary generated by |
Oh shucks. Sorry I didnt realize that its the kubefedctl binary. I will try it and get back to you by today. |
P.S: Ignore the errors related to |
federated crd needs to have |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
What happened:
I tried doing a
kubefedctl enable CustomResourceDefinition
to enable federation of CustomResourceDefinitions (which are also resources similar to pods/deployments/etc). This caused a stack overflow error. Including part of the log from my setup -What you expected to happen:
kubefedctl enable CustomResourceDefinition
should succeed and we should see a new CRD calledFederatedCustomResourceDefinition
in the API Server along with a FederatedTypeConfig entry to mapFederatedCustomResourceDefinition
toCustomResourceDefinition
(the target type)How to reproduce it (as minimally and precisely as possible):
After deploying KubeFed using Helm, attempt to run
kubefedctl enable CustomResourceDefinition
Anything else we need to know?:
The KubeFed User Guide talks about the ability to enable federation of CRDs and mentions the following note -
I think this talks about enabling a specific CRD for federation - e.g. for a CRD called
X
, we can runkubefedctl enable X
and that will yieldFederatedX
I attempted to use KubeFed to address the requirement of installing CRDs on member clusters before propagating custom resources of a specific CRD
Environment:
kubectl version
)KubeFed version
0.1.0-rc6
Scope of installation (namespaced or cluster)
Namespaced
/kind bug
The text was updated successfully, but these errors were encountered: