Wordpress on GKE Click to Run- how to increase max upload file size

12/8/2018

I’ve deployed the GKE click to run and need to increase the max upload file size. https://console.cloud.google.com/marketplace/details/google/wordpress

I see a ton of references to updating the php.ini or .htaccess, but I’m assuming this should be done via the YAML file in this deployment scenario.

Any suggestions?

-- Mike J
google-kubernetes-engine
wordpress

1 Answer

12/10/2018

You can create a ConfigMap with your custom configuration similar to this link to increase the size of the upload file size.

Then you need to go to your GKE workloads and in “wordpress-1-wordpress” workload of type “StatefulSet” you need to modify the YAML file where you can add the ConfigMap data to a Volume.

Another workaround is that, you can rebuild the image that you are using in a docker file.

-- shamma
Source: StackOverflow