hawtio / hawtio-kubernetes

hawtio plugin for working with kubernetes
Apache License 2.0
24 stars 14 forks source link

Replication controller - Resize dialog should have warning / limit #36

Open davsclaus opened 9 years ago

davsclaus commented 9 years ago

eg we should have some kind of warning / confirm if you resize = 0. And also the ui should likely be limited to not allow resize higher than 100 or ? eg so you cannot resize = 9999999

davsclaus commented 9 years ago

not sure if OS has some limit already in the osc CLI. Could be worth to see and align what they allow

jstrachan commented 9 years ago

I think there's per project quotas that we could enforce the resize to be within

davsclaus commented 9 years ago

Ah okay, but I guess if we try to resize above the quota then it would fail on server side? Just wonder if there is a gentle way of knowing the quote?

jstrachan commented 9 years ago

Yeah - it'd be ideal if the UI could show the quota (and validate that you don't try to resize over your quota)