Hi Michail and Humble, The goal is for the user/admin to be unable to scale up an application which cannot scale past one container. Michail, I'll try out what you pointed out.
Thanks, - Luis ----- Original Message ----- From: "Michail Kargakis" <[email protected]> To: "Humble Devassy Chirammal" <[email protected]> Cc: "Luis Pabón" <[email protected]>, "users" <[email protected]> Sent: Friday, May 20, 2016 5:01:56 AM Subject: Re: Limiting scaling of a pod Luis, you can setup an horizontal pod autoscaler on top of your replication controller or deployment config with a MAX number of pods you want For HPA to work, you will need to enable cluster metrics https://docs.openshift.org/latest/install_config/cluster_metrics.html https://docs.openshift.org/latest/dev_guide/pod_autoscaling.html On Fri, May 20, 2016 at 10:56 AM, Humble Devassy Chirammal < [email protected]> wrote: > Hi Luis, > > Isnt it the 'replicas' setting in the pod yml/json does ? Or are you > looking for some other scaling limit here ? > > --Humble > > > On Thu, May 19, 2016 at 9:06 AM, Luis Pabón <[email protected]> wrote: > >> Is there a way to set OpenShift/Kubernetes maximum scaling limit of a Pod >> in the yml/json file for either manual scaling or autoscaling? >> >> - Luis >> >> _______________________________________________ >> users mailing list >> [email protected] >> http://lists.openshift.redhat.com/openshiftmm/listinfo/users >> > > > _______________________________________________ > users mailing list > [email protected] > http://lists.openshift.redhat.com/openshiftmm/listinfo/users > > _______________________________________________ users mailing list [email protected] http://lists.openshift.redhat.com/openshiftmm/listinfo/users
