Container logs for helm install

0 votes
Is it possible to print to helm install (or helm upgrade) output the logs of the deploying containers (logs that are available by kubectl logs command)?
Mar 16, 2023 in DevOps & Agile by Edureka
• 12,690 points
721 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

Yes, it is possible to print the logs of the deploying containers during a Helm install or upgrade using the helm install or helm upgrade commands.

One way to do this is to use the --debug flag, which provides more detailed output during the Helm operation. This flag will print the logs of the deploying containers as they become available.

For example, to install a Helm chart with debug output and container logs, you can use the following command:

helm install my-chart ./my-chart --debug 

This will install the Helm chart my-chart and provide detailed output including the logs of the deploying containers.

Note that if you are using Helm 3, you can also use the --wait flag to wait for all the deployed resources to become ready before exiting. This can be useful in ensuring that the logs of the containers are fully available before you exit the Helm operation.

answered Mar 23, 2023 by Edureka
• 13,620 points

edited Mar 5

Related Questions In DevOps & Agile

+3 votes
2 answers

How do I set max lifetime for Docker Container?

There is one more way which you ...READ MORE

answered Oct 18, 2018 in DevOps & Agile by Kalgi
• 52,350 points
3,810 views
0 votes
1 answer
0 votes
1 answer

Docker for Windows error - Connecting a SQL Server database to a Docker container

The latest express sqlserver images with setting ...READ MORE

answered Dec 4, 2018 in DevOps & Agile by Tyrion anex
• 8,700 points
1,615 views
+2 votes
1 answer
+5 votes
7 answers

Docker swarm vs kubernetes

Swarm is easy handling while kn8 is ...READ MORE

answered Aug 27, 2018 in Docker by Mahesh Ajmeria
4,471 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP