This is also because some projects have very high requests (which is what k8s will guarantee for a container as said in https://github.com/kubernetes/community/blob/master/contributors/design-proposals/node/resource-qos.md) which are not at all aligned with the reality.
Again, some projects asks for 4g+ of RAM or more as a requests and they’re using a lot less: I remember that a freshly installed ONAP is using ~90G RAM instead of more than 192G RAM requested! --- Sylvain Desbureaux De : <[email protected]> au nom de Pavel Paroulek <[email protected]> Répondre à : "[email protected]" <[email protected]>, "[email protected]" <[email protected]> Date : jeudi 29 novembre 2018 à 15:25 À : onap-discuss <[email protected]> Objet : Re: [onap-discuss] [OOM] Fatty is not pretty ROFL :D Anyway, maybe some ONAP projects deploy services that are not needed during normal runtime (like data viewers, services that have not yet been integrated etc). What if all OOM projects would support an “essential deployment” of all services needed for normal ONAP runtime and an “all” deployment where all the services, jobs, unfinished components etc would be deployed? Maybe this could be a topic for the VF2F? Br, Pavel ---- On Thu, 29 Nov 2018 14:33:04 +0100 Sylvain Desbureaux<[email protected]> wrote ---- Hello, When I see that my 12 times 16G of RAM deployment (so 192G of RAM) is not sufficient for a “small” deployment of ONAP, I don’t even want to see how much I need for a “large” deployment (a complete DC?): Containers: portal-cassandra: Image: nexus3.onap.org:10001/onap/music/cassandra_music:3.0.0 Ports: 9160/TCP, 7000/TCP, 7001/TCP, 7199/TCP, 9042/TCP Limits: cpu: 2 memory: 8Gi Requests: cpu: 1 memory: 4Gi Liveness: exec [/bin/bash -c nodetool status | grep $POD_IP | awk '$1!="UN" { exit 1; }'] delay=10s timeout=1s period=10s #success=1 #failure=3 Readiness: exec [/bin/bash -c nodetool status | grep $POD_IP | awk '$1!="UN" { exit 1; }'] delay=10s timeout=1s period=10s #success=1 #failure=3 Environment: CASSUSER: root CASSPASS: Aa123456 JVM_OPTS: -Xmx2536m -Xms2536m POD_IP: (v1:status.podIP) Mounts: /docker-entrypoint-initdb.d/zzz_portal.cql from cassandra-docker-entrypoint-initdb (rw) /docker-entrypoint-initdb.d/zzz_portalsdk.cql from cassandra-docker-entrypoint-initdb (rw) /etc/localtime from localtime (ro) /var/lib/cassandra/data from onap-portal-portal-cassandra-data (rw) /var/run/secrets/kubernetes.io/serviceaccount from default-token-zcsfj (ro) Events: Type Reason Age From Message ---- ------ ---- ---- ------- Warning FailedScheduling 44s (x8 over 1m) default-scheduler No nodes are available that match all of the predicates: Insufficient cpu (1), Insufficient memory (12). PS: with “unlimited” flavor, the _real_ RAM usage is less than 90G of RAM… -- [cid:0.28869203700.165425721929884229.1675fdbd19e__inline__img__src]<http://www.orange.com/> Sylvain Desbureaux Senior Automation Architect ORANGE/IMT/OLN/CNC/NCA/SINA Fixe : +33 2 96 07 13 80 <https://monsi.sso.francetelecom.fr/index.asp?target=http%3A%2F%2Fclicvoice.sso.francetelecom.fr%2FClicvoiceV2%2FToolBar.do%3Faction%3Ddefault%26rootservice%3DSIGNATURE%26to%3D+33%202%2096%2007%2013%2080> Mobile : +33 6 71 17 25 57 <https://monsi.sso.francetelecom.fr/index.asp?target=http%3A%2F%2Fclicvoice.sso.francetelecom.fr%2FClicvoiceV2%2FToolBar.do%3Faction%3Ddefault%26rootservice%3DSIGNATURE%26to%3D+33%206%2071%2017%2025%2057> [email protected]<mailto:[email protected]> _________________________________________________________________________________________________________________________ Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration, Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci. This message and its attachments may contain confidential or privileged information that may be protected by law; they should not be distributed, used or copied without authorisation. If you have received this email in error, please notify the sender and delete this message and its attachments. As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified. Thank you. _________________________________________________________________________________________________________________________ Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration, Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci. This message and its attachments may contain confidential or privileged information that may be protected by law; they should not be distributed, used or copied without authorisation. If you have received this email in error, please notify the sender and delete this message and its attachments. As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified. Thank you. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#14141): https://lists.onap.org/g/onap-discuss/message/14141 Mute This Topic: https://lists.onap.org/mt/28486996/21656 Group Owner: [email protected] Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
