Closed Thrinadh-Kumpatla closed 2 years ago
I tried testing this change:
To test if rudder-server actually waits until telegraf sidecar is ready or not. I simply made this change:
telegraf_sidecar: enabled: false
with the expectation that telegraf
should never come up & since this PR makes rudder-server wait for telegraf
to come up. It should also never come up. But, this change throws following error:
Error: INSTALLATION FAILED: template: rudderstack/templates/statefulset.yaml:112:81: executing "rudderstack/templates/statefulset.yaml" at <include "statsd.enabled" .>: error calling include: template: rudderstack/templates/_helpers.tpl:108:9: executing "statsd.enabled" at <.Values.telegraf.enabled>: nil pointer evaluating interface {}.enabled
I tested the change, it seems to be working fine. Previous error is fixed. Also, wait-for
condition seems to be working fine.
Making sure telegraf comes up before rudder server
Type of change
Related issues
Checklists
Development
Code review