Slow wordpress in eks cluster

Viewed 306

Running wordpress in eks pod without volumes (all, mysql and files in pod filesystem for testing purposes) gets 1.5s average response time for curl http://localhost, but if I run same configuration in a minikube cluster it takes only 0.5s, same database and php content (restored from backup).

Where I should look to start?

I'm using this docker image https://hub.docker.com/layers/wordpress/library/wordpress/php7.4-apache/images/sha256-483ce1761cdf5580e0259f68498d6e5e331dd6038fe339c9538420a26f21275f?context=explore

Nodes have 16Gb RAM and 4 vCPU (wordpress is pink graph) enter image description here

Volume instance monitoring:

enter image description here

Xhprof results:

enter image description here

Update:

I have create an isolated ec2 instance with same eks node AMI and I get the same results.

0 Answers
Related