Is it possible to propagate CRD with cluster scope ? #3125
-
|
The Propagate a CRD application with Karmada seems only to work with namespaced CRD. The CRD application in cluster scope cannot be propagated. Karmada version: latest Reproduce:
$ kubectl --kubeconfig=$HOME/.kube/members.config --context=member1 get guestbook
No resources foundExpected result(work for namespaced CRD): $ kubectl --kubeconfig=$HOME/.kube/members.config --context=member1 get guestbook
NAME AGE
guestbook-sample 2sKarmada controller logs |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
I don't get it, why are you want to customize your CRD with the |
Beta Was this translation helpful? Give feedback.
-
|
After searching a while in the docs i finally found out that for CRD in cluster scope, the
PropagationPolicy: can only represent the propagation policy for the resources in the same namespace. |
Beta Was this translation helpful? Give feedback.
After searching a while in the docs i finally found out that for CRD in cluster scope, the
ClusterPropagationPolicyshould be applied instead ofPropagationPolicy, refered to this: faqPropagationPolicy: can only represent the propagation policy for the resourc…