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
The storage documentation is inaccurate #466
Comments
This affects the alertmanager as well. |
For Prometheus this was fixed with #451 and was introduced with changes to how storage is declared. The change was not done for Alertmanager yet and thus the problem shouldn't exist there. The code indicates that we are correctly setting the resources there too. @mindw can you elaborate what you observed? |
The state of the |
Storage docs in master are now accurate for the latest release ( |
spec.storage.volumeClaimTemplate.spec was missing from Manual storage provisioning documentation Fixes prometheus-operator#466
What did you do?
Creating a Prometheus object using kube-prometheus with the storage spec defined according to the documentation here.
Here's my final prometheus-k8s.yaml:
Then I did
kubectl apply -f prometheus-k8s.yaml -n monitoring
.What did you expect to see?
The prometheus TPR being created along with the prometheus pods.
What did you see instead? Under which circumstances?
The pods are not created. Investigating the prometheus-operator logs:
Didn't tell me much except that something happened that prevented the pods from being created.
Looking at the kube controller-manager logs:
Apparently spec validation failed.
resource[storage]
is a required value even though the documentation didn't put there. The API spec indicate they're "DEPRECATED".How can I use volume claim template without filling in the other irrelevant fields, such as
class
,selector
, andresource
?The text was updated successfully, but these errors were encountered: