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.