A simple Symfony app that has been containerized and runs within kubernetes as a Deployment backed by a Service.
This service presupposes the existence of a kubernetes cluster running in the cloud that supports LoadBalancer and kubectl installed and configured on your local machine.
composer install
./bin/console server:run
Then visit http://localhost:8000
docker build -t sameg14/kubernetes-example-php-app:latest .
docker push sameg14/kubernetes-example-php-app:latest
kubectl apply -f kubernetes/app.yaml
kubectl delete -f kubernetes/app.yaml