Openshift 3 free: mini SpringBoot app + Mysql immediately exceeds the quota limits? -


when experimenting openshift v3 - create , deploy simple webapplication wildfly & postgres.

when trying create simple springboot application (as war) mysql (with 1 table), mysql volume storage exceeds quota. result simple application cannot run properly.

error creating: pods "springbootmysql-8-" forbidden: exceeded quota: compute-resources, requested: limits.cpu=1,limits.memory=512mi, used: limits.cpu=2,limits.memory=1gi, limited: limits.cpu=2,limits.memory=1gi 19 times in last 11 minutes

update: configured both pod's 480mi memory - memory quota's not exceeded.

i error message stoping build , deployment:

error creating: pods "springbootmysql6-2-" forbidden: exceeded quota: compute-resources, requested: limits.cpu=957m,limits.memory=490mi, used: limits.cpu=1914m,limits.memory=980mi, limited: limits.cpu=2,limits.memory=1gi

on openshift online starter, if running both database , frontend both using 512mb each, have enough resources use recreate deployment strategy. need go deployment configuration front end , change deployment strategy rolling recreate.

if after making change still having same issue, scale down number of replicas of front end 0, , 1. ensure kubernetes not stuck in prior state since still trying deploy under old settings. things should okay.


Comments

Popular posts from this blog

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -

python - Error while using APScheduler: 'NoneType' object has no attribute 'now' -