We need to support a lot of php version from 5.3 to 8.1 in K8s. Every version served by two or more pods. The sessions are stored localy in the pod's volumes, due to this solution we are using sticky sessions. I fed up with this solution and started to prepare the migration to shared sessions with memcached cluster. I started the migration from the newest version, so 8.x and 7.x version are ok. But with 5.3 I ran into a problem. When I created the k8s deplyoment for 5.3, I need to build it from source, and now I cannot add memcached support for this version. I ran into more problems: the php-memcached package which is available in ubuntu 16.04 repo is for PHP5 but not compatible with the latest php5.3 version. I tried to build memchached from source but libmemcached version not available in ubuntu repoistory...
I decided to try migrate session store to cephfs. Is that a bad idea? I heard that NFS is not suitable for php session store.
If cephfs not suitable either, how can I get work php5.3 with memcached support?