Re:StatefulSet: Run and Scale Stateful Applications Easily i...
by jasonjei on Tuesday December 20, 2016 @07:56PM
(#13225889)
So I'm trying to dockerize a legacy PHP app that likes to use a config.php file. Would this be of help?
[ Parent
| on HN ]
Re:StatefulSet: Run and Scale Stateful Applications Easily i...
by philips on Tuesday December 20, 2016 @07:57PM
(#13225894)
For that just use ConfigMaps http://kubernetes.io/docs/user-guide/configmap/
Re:StatefulSet: Run and Scale Stateful Applications Easily i...
by foxylion on Wednesday December 21, 2016 @04:21AM
(#13227822)
Alternatively you can also just use $_ENV['APP_XYZ'] instead of the actual value in your config.php and then use environment variable way to get the container/pod configured.