optimize magento2 upgrade commandd

Hello,

I have implemented magento2 in kubernetes. The problem I am currently facing is that I have to run the following command on each deployment. The command below takes nearly 20 minutes to run. Is there a way to optimize this? or any other solution to deploy magento2 in kubernetes?

bin/magento setup:upgrade

submitted by /u/k8sops
[link] [comments]