New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prometheus restore displays CRD errors #2370
Comments
@nrb any quick reaction to this? Might be related to the api group versioning mess. |
Quick reaction is that it's API server validation related, not Velero's; it's something to do with CRD schema validation that wants to be more strict. Prometheus hasn't conformed to the new CRD schema standard yet. We likely need to make this particularly error not fail the backup... |
Hi, I have similar errors with the restore of elasticsearch+kibana. Should I put the logs here or open a new issue? UPDATE: I've created another issue, it seems cleaner: #2383 |
@TomaszKlosinski Do you know what version of the Prometheus operator you were using? https://github.com/coreos/prometheus-operator/blob/master/bundle-v1beta1-crd.yaml seems to be working correctly (no errors on restore) in my tests with both Velero master and v1.3.2. |
@nrb , I've installed it with helm: stable/prometheus-operator --version 8.3.1 |
Thanks! |
What steps did you take and what happened:
I've made a backup of my namespace with prometheus operator and prometheus instance.
Then I've deleted Prometheus with following script:
Then I've restored it. The restored prometheus seems to work, but velero showed errors.
What did you expect to happen:
Restore without errors.
The output of the following commands will help us better understand what's going on:
It shows erros when restoring CRDs but afterwards they're restored:
kubectl logs deployment/velero -n velero
https://termbin.com/8jky
velero restore describe prom-op-20200325220001
https://termbin.com/4jlz
velero restore logs prom-op-20200325220001
https://termbin.com/xbiu
Environment:
velero version
):velero client config get features
):kubectl version
):Kubernetes installer & version:
Manually installed with kubeadm. Version 1.16.
Cloud provider or hardware configuration:
Physical hardware + KVM VMs.
OS (e.g. from
/etc/os-release
):The text was updated successfully, but these errors were encountered: