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've been struggling to install the prometheus-operator to an EKS cluster via the helm chart.
I wanted everything to be tucked into a "monitoring" namespace, and I eventually worked out what I needed to disable, which makes sense in hindsight given the EKS control plane, and now have the following:
If the prometheusOperatorChart referenced monitoringNamespace using namespace: monitoringNamespace.metadata.name, then I'd get a warning about [Can't preview] all chart values must be known ahead of time to generate an accurate preview, so I'm using the same constant value instead. Maybe this could be improved? (Propagate inputs to outputs during preview. pulumi#3245).
The Grafana test is using a helm hook on test-success and is always failing its grafana health check, which I initially thought was due to the timing of helm hooks not being supported when using helm template, like Pulumi does behind the scenes, but then I'd expect subsequent runs to succeed since Grafana is running then, but it always fails so probably something more subtle with the test itself.
Subsequently there is the problem that Pulumi waits until it times out; handily I could add an annotation to "skipAwait", which works around my impatience, but then it seems to me that Pulumi could be smarter here since the pod specifies to never restart, so it should stop waiting after the first failure.
So now it fails fast, but I still need a workaround to avoid the failing test, like using another transformation to neuter or preferably remove it altogether, along with all of its supporting resource detritus. I can see how to neuter the pod by modifying its image etc, but not so much the supporting resources.
The text was updated successfully, but these errors were encountered:
I've been struggling to install the prometheus-operator to an EKS cluster via the helm chart.
I wanted everything to be tucked into a "monitoring" namespace, and I eventually worked out what I needed to disable, which makes sense in hindsight given the EKS control plane, and now have the following:
I'd like highlight the following issues:
prometheusOperatorChart
referencedmonitoringNamespace
usingnamespace: monitoringNamespace.metadata.name
, then I'd get a warning about[Can't preview] all chart values must be known ahead of time to generate an accurate preview
, so I'm using the same constant value instead. Maybe this could be improved? (Propagate inputs to outputs during preview. pulumi#3245).helm template
, like Pulumi does behind the scenes, but then I'd expect subsequent runs to succeed since Grafana is running then, but it always fails so probably something more subtle with the test itself.The text was updated successfully, but these errors were encountered: