[ 
https://issues.apache.org/jira/browse/SLIDER-469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14155544#comment-14155544
 ] 

Steve Loughran commented on SLIDER-469:
---------------------------------------

I'd probably do this with new args {{--up <component> <number}}. so you'd have

{code}
./slider flex mycl2 --up MEMCACHED 2 
{code}

or 
{code}
./slider flex mycl2 --up regionserver 1 --down master 2
{code}

Maybe reject any count < 0

> Slider tool should have a option for flexing up or down
> -------------------------------------------------------
>
>                 Key: SLIDER-469
>                 URL: https://issues.apache.org/jira/browse/SLIDER-469
>             Project: Slider
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: Slider 0.60
>            Reporter: Steve Loughran
>
> reported:
> bq. Currently Slider cli has option of flexing but that option takes total no 
> of instances.
> bq. But instead we should also introduce flex up or down option.
> {code}
> ./slider flex <up/down> mycl2 --component MEMCACHED 2
> {code}
> bq. This will increase the memcached containers by 2 [ instead of total two ].



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to