Merge pull request #564 from RainbowMango/pr_doc_faq

Docs: Add FAQ about What is the difference between PropagationPolicy and ClusterPropagationPolicy?
This commit is contained in:
karmada-bot 2021-08-04 11:21:03 +08:00 committed by GitHub
commit b9b0c0b965
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
# FAQ(Frequently Asked Questions)
## What is the difference between PropagationPolicy and ClusterPropagationPolicy?
The `PropagationPolicy` is a namespace-scoped resource type which means the objects with this type must reside in a namespace.
And the `ClusterPropagationPolicy` is the cluster-scoped resource type which means the objects with this type don't have a namespace.
Both of them are used to hold the propagation declaration, but they have different capacities:
- PropagationPolicy: can only represent the propagation policy for the resources in the same namespace.
- ClusterPropagationPolicy: can represent the propagation policy for all resources including namespace-scoped and cluster-scoped resources.