Report this

What is the reason for this report?

Configuring nginx and php on DO kubernetes

Posted on August 23, 2019

I would like a tutorial to use DO Kubernetes service with Nginx and PHP fpm. The one provided on DO site: https://www.digitalocean.com/community/tutorials/how-to-deploy-a-php-application-with-kubernetes-on-ubuntu-18-04#prerequisites is not accurate as it doesn’t allow to share a volume between Nginx and PHP, then I would like to know how I can configure a working Nginx using Kubernetes DO manage service.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

The tutorial that you are looking at is not for the managed kubernetes but for unmanaged cluster.

I think that with the managed cluster you can simply add a volume by following the steps here:

https://www.digitalocean.com/docs/kubernetes/how-to/add-volumes/

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.