Skip to content

Commit

Permalink
fix document format and spelling errors for guestbooks example
Browse files Browse the repository at this point in the history
Signed-off-by: wei.wei6 <[email protected]>
  • Loading branch information
wei.wei6 committed Jul 7, 2022
1 parent 5ecb4ba commit 4eca118
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion samples/guestbook/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@ export KUBECONFIG=${HOME}/.kube/karmada.config
kubectl apply -f guestbooks-crd.yaml
```
The CRD should be applied to `karmada-apiserver`.

2. Create ClusterPropagationPolicy that will propagate Guestbook CRD to member cluster
```bash
kubectl apply -f guestbooks-clusterpropagationolicy.yaml
kubectl apply -f guestbooks-clusterpropagationpolicy.yaml
```
The CRD will be propagated to member clusters according to the rules defined in ClusterPropagationPolicy
>Note: We can only use ClusterPropagationPolicy not PropagationPolicy here.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# propagationpolicy.yaml
# clusterpropagationpolicy.yaml
apiVersion: policy.karmada.io/v1alpha1
kind: ClusterPropagationPolicy
metadata:
name: example-policy # The default namespace is `default`.
name: example-policy
spec:
resourceSelectors:
- apiVersion: apiextensions.k8s.io/v1
Expand Down

0 comments on commit 4eca118

Please sign in to comment.