- Last Active
- Preferred Name
That did it.
I left the default path in the php.ini file (defaults to /var/lib/php/sessions) for now, but created a volumeMount for that path on a persistentVolumeClaim (using portworx for persistent clustered storage). In this case I just edited my deployment yaml file and redeployed my app back into my local k8 cluster.
I can share the code soon, but it is very primitive as it is my first attempt at kubernetes (infrastructure/security person who is trying to keep up with my devops teams). For now I have code to deploy mysql, apache2/php7.2, portworx, metallb. I am still working on traefik with auto deployment of Lets Encrypt certs, DB commands to create the DB user and DB as well as deploying the gibbon code and modules to the shared storage. The goal is to create a fully working gibbon deployment that could be deployed locally or to Azure AKS. This is all probably overkill, but it helps me learn the new products.