Skip to content

Tag: kubernetes

Kubeclt exec issues with variable via php script

New to kubernetes and php, so I’m having some issues. Any and all help is greatly appreciated! results in error When switching ‘.$postgres_pod.’ for postgres-7957478b7d-tmw6m as below – it executes fully Thanks – Mike Answer There can sometimes be extra whitespace before or after…

php-fpm: File not found in kubernetes

I’m trying to set a k8s deployment with 2 pods (nginx + php-fpm), but I can’t get php-fpm to execute the php scripts. The webpage displays File not found., and in logs : fpm pod : 192.168.3.187 – 13/Nov/2020:16:44:06 +0000 “GET /index.php” 404 nginx pod : 2020/11/13 16:44:06 [err…