You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used kind install kamada sucessfully, but when I using "kubectl apply -f propagationpolicy.yaml" command ,errror occurred!
What happened:
error: resource mapping not found for name: "example-policy" namespace: "" from "./yamls/propagationpolicy.yaml": no matches for kind "PropagationPolicy" in version "policy.karmada.io/v1alpha1"
ensure CRDs are installed first What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
propagationpolicy.yaml
apiVersion: policy.karmada.io/v1alpha1
kind: PropagationPolicy
metadata:
name: example-policy # The default namespace is default.
spec:
resourceSelectors:
- apiVersion: apps/v1
kind: Deployment
name: nginx # If no namespace is specified, the namespace is inherited from the parent object scope.
placement:
clusterAffinity:
clusterNames:
- member1 Environment:
Karmada version:
kubectl-karmada or karmadactl version (the result of kubectl-karmada version or karmadactl version):
Others:
The text was updated successfully, but these errors were encountered:
I used kind install kamada sucessfully, but when I using "kubectl apply -f propagationpolicy.yaml" command ,errror occurred!
What happened:
error: resource mapping not found for name: "example-policy" namespace: "" from "./yamls/propagationpolicy.yaml": no matches for kind "PropagationPolicy" in version "policy.karmada.io/v1alpha1"
ensure CRDs are installed first
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
propagationpolicy.yaml
apiVersion: policy.karmada.io/v1alpha1
kind: PropagationPolicy
metadata:
name: example-policy # The default namespace is
default
.spec:
resourceSelectors:
- apiVersion: apps/v1
kind: Deployment
name: nginx # If no namespace is specified, the namespace is inherited from the parent object scope.
placement:
clusterAffinity:
clusterNames:
- member1
Environment:
kubectl-karmada version
orkarmadactl version
):The text was updated successfully, but these errors were encountered: