tag:blogger.com,1999:blog-1304066656993695443.post7804513422757268161..comments2023-12-17T11:32:00.020+00:00Comments on Paul Done's Technical Blog: Configuring Some Key Production Settings for MongoDB on GKE KubernetesPaul Donehttp://www.blogger.com/profile/09556312012162376804noreply@blogger.comBlogger8125tag:blogger.com,1999:blog-1304066656993695443.post-37748466493023217452018-08-19T17:01:04.722+01:002018-08-19T17:01:04.722+01:00Thanks for the another great article. Since this a...Thanks for the another great article. Since this article suggests changing host machine's settings, should I create separate kubernetes cluster for MongoDB only? (Don't know if it's even thing?)<br />At the moment, I have only one kubernetes cluster and all of my applications running inside of it. I'm wondering how these MongoDB settings would affect performance of other services that are running on same node.<br />What's your thought on this?Anonymoushttps://www.blogger.com/profile/02978136794552811472noreply@blogger.comtag:blogger.com,1999:blog-1304066656993695443.post-91806119436767498352018-07-31T20:15:46.794+01:002018-07-31T20:15:46.794+01:00Dude, your posts on MongoDB running on top of Kube...Dude, your posts on MongoDB running on top of Kubernetes are simply gold. The only thing I still didn't manage to do is how to expose the service to outside the cluster but alas I reckon this is not possible due to the design of headless services and statefulsets. Thanks a lot for your documentation and best practices!caiobegottihttps://www.blogger.com/profile/13274576903162941733noreply@blogger.comtag:blogger.com,1999:blog-1304066656993695443.post-34277448180807125192018-07-17T09:04:37.023+01:002018-07-17T09:04:37.023+01:00thanx a lot for this interesting article. I found ...thanx a lot for this interesting article. I found it very very useful :)zappahttps://www.blogger.com/profile/12080311628227998444noreply@blogger.comtag:blogger.com,1999:blog-1304066656993695443.post-65061955417755508022017-10-15T09:14:16.762+01:002017-10-15T09:14:16.762+01:00Yes got it to work on 1.6 and also works easier no...Yes got it to work on 1.6 and also works easier now on 1.7.Paul Donehttps://www.blogger.com/profile/09556312012162376804noreply@blogger.comtag:blogger.com,1999:blog-1304066656993695443.post-58355593742873215762017-10-13T16:36:24.959+01:002017-10-13T16:36:24.959+01:00Am I reading this right that you got the 'fsTy...Am I reading this right that you got the 'fsType: xfs' mount to work on kubernetes v1.6.4? Erkhttps://www.blogger.com/profile/13676093796417238556noreply@blogger.comtag:blogger.com,1999:blog-1304066656993695443.post-23395090270197885382017-10-13T12:50:45.801+01:002017-10-13T12:50:45.801+01:00Youri, I updated the blog post and the project to ...Youri, I updated the blog post and the project to now use the new GKE Ubuntu container option, which as you say, already has appropriate rlimits configured - thanks.Anonymoushttps://www.blogger.com/profile/18170178869700570400noreply@blogger.comtag:blogger.com,1999:blog-1304066656993695443.post-87650206316434388422017-10-04T15:04:56.730+01:002017-10-04T15:04:56.730+01:00Thanks Youri, I'll look into that.
PaulThanks Youri, I'll look into that.<br />PaulAnonymoushttps://www.blogger.com/profile/18170178869700570400noreply@blogger.comtag:blogger.com,1999:blog-1304066656993695443.post-82198983726300808702017-09-22T16:01:05.409+01:002017-09-22T16:01:05.409+01:00About the fd limits warning.
Using the Ubuntu ima...About the fd limits warning.<br /><br />Using the Ubuntu image of GKE, I didn't face these warnings.<br />As a solution why not just ensuring them together in the startup-script like so?<br />echo "* hard nofile XXXX" >> /etc/security/limits.conf<br />echo "* hard nproc XXXX" >> /etc/security/limits.conf<br />echo "* soft nofile XXXX" >> /etc/security/limits.conf<br />echo "* soft nproc XXXX" >> /etc/security/limits.conf<br /><br />If I'm right K8S/docker will anyhow default ulimits that are not the same as the system. I had this on my side:<br />root@mongo-0:/# ulimit -S -a<br />core file size (blocks, -c) unlimited<br />data seg size (kbytes, -d) unlimited<br />scheduling priority (-e) 0<br />file size (blocks, -f) unlimited<br />pending signals (-i) 14752<br />max locked memory (kbytes, -l) 64<br />max memory size (kbytes, -m) unlimited<br />open files (-n) 1048576<br />pipe size (512 bytes, -p) 8<br />POSIX message queues (bytes, -q) 819200<br />real-time priority (-r) 0<br />stack size (kbytes, -s) 8192<br />cpu time (seconds, -t) unlimited<br />max user processes (-u) unlimited<br />virtual memory (kbytes, -v) unlimited<br />file locks (-x) unlimited<br />root@mongo-0:/# ulimit -H -a<br />core file size (blocks, -c) unlimited<br />data seg size (kbytes, -d) unlimited<br />scheduling priority (-e) 0<br />file size (blocks, -f) unlimited<br />pending signals (-i) 14752<br />max locked memory (kbytes, -l) 64<br />max memory size (kbytes, -m) unlimited<br />open files (-n) 1048576<br />pipe size (512 bytes, -p) 8<br />POSIX message queues (bytes, -q) 819200<br />real-time priority (-r) 0<br />stack size (kbytes, -s) unlimited<br />cpu time (seconds, -t) unlimited<br />max user processes (-u) unlimited<br />virtual memory (kbytes, -v) unlimited<br />file locks (-x) unlimitedAnonymoushttps://www.blogger.com/profile/15519845209281958402noreply@blogger.com