1

I have a helm chart and the helm chart is only installed when the pre-install hooks is succeeded. When the job fails, the error is

Error: failed pre-install: job failed: BackoffLimitExceeded

Is there any way i can print my custom message that pops up so that i do not have to go inside the job to find the cause of failed helm chart installation?

Darshil Shah
  • 447
  • 1
  • 11
  • 21
  • 2
    There is no way to show a custom messages using HELM, but you can put the message in your job container, so if it fails, then will show you in the container logs. Is it work for you? – Mr.KoopaKiller Sep 17 '20 at 10:23
  • I already have logs in my container. Thanks, i was just curious if we could have custom message when the job fails – Darshil Shah Sep 18 '20 at 10:21

1 Answers1

0

As mentioned in comments:

There is no way to print custom messages in HELM. A strategy that could be used is send the application logs to stdout and them verify them with kubectl logs command.

Mr.KoopaKiller
  • 3,665
  • 10
  • 21