Open buchmann opened 9 months ago
Literally came here to post the exact same thing. Hopefully your issue and this comment will save someone the 90min I spent digging into this.
From my values.yml
:
resources:
limits:
cpu: 200m
memory: 256Mi
hugepages-2Mi: 100Mi
requests:
cpu: 100m
memory: 128Mi
php-cgi -i crash with dump error in the container, php -i works . The challenge if you use huge pages (mayastor need this) in your system then for php-cgi to work they need to be assigned upfront in the resource area of the container definition you do it with setting a limit on hugepages, parameter hugepages-2MI, I used 512 which works for me ( quick write up : https://www.allwaysbeginner.com/startseite/pihole-kubernetes ) resources: limits: cpu: "1" hugepages-2Mi: 512Mi