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
The CRD installation will fail when I try to apply it like documented: kubectl apply -f https://github.com/k8up-io/k8up/releases/download/k8up-4.7.0/k8up-crd.yaml
Additional Context
No response
Logs
kubectl apply -f https://github.com/k8up-io/k8up/releases/download/k8up-4.7.0/k8up-crd.yaml
customresourcedefinition.apiextensions.k8s.io/archives.k8up.io unchanged
customresourcedefinition.apiextensions.k8s.io/backups.k8up.io unchanged
customresourcedefinition.apiextensions.k8s.io/checks.k8up.io unchanged
customresourcedefinition.apiextensions.k8s.io/prunes.k8up.io unchanged
customresourcedefinition.apiextensions.k8s.io/restores.k8up.io unchanged
customresourcedefinition.apiextensions.k8s.io/schedules.k8up.io unchanged
customresourcedefinition.apiextensions.k8s.io/snapshots.k8up.io unchanged
Error from server (Invalid): error when creating "https://github.com/k8up-io/k8up/releases/download/k8up-4.7.0/k8up-crd.yaml": CustomResourceDefinition.apiextensions.k8s.io "podconfigs.k8up.io" is invalid: metadata.annotations: Too long: must have at most 262144 bytes
Error from server (Invalid): error when creating "https://github.com/k8up-io/k8up/releases/download/k8up-4.7.0/k8up-crd.yaml": CustomResourceDefinition.apiextensions.k8s.io "prebackuppods.k8up.io" is invalid: metadata.annotations: Too long: must have at most 262144 bytes
Expected Behavior
What in my case worked was the ---server-side suffix. kubectl apply -f https://github.com/k8up-io/k8up/releases/download/k8up-4.7.0/k8up-crd.yaml --server-side
It should work out of the box, may shorten the metadata or change the docs to the server-side flag.
Steps To Reproduce
No response
Version of K8up
4.7.0
Version of Kubernetes
1.27.10
Distribution of Kubernetes
Kubernetes
The text was updated successfully, but these errors were encountered:
Description
The CRD installation will fail when I try to apply it like documented:
kubectl apply -f https://github.com/k8up-io/k8up/releases/download/k8up-4.7.0/k8up-crd.yaml
Additional Context
No response
Logs
Expected Behavior
What in my case worked was the
---server-side
suffix.kubectl apply -f https://github.com/k8up-io/k8up/releases/download/k8up-4.7.0/k8up-crd.yaml --server-side
It should work out of the box, may shorten the metadata or change the docs to the server-side flag.
Steps To Reproduce
No response
Version of K8up
4.7.0
Version of Kubernetes
1.27.10
Distribution of Kubernetes
Kubernetes
The text was updated successfully, but these errors were encountered: