swirl icon indicating copy to clipboard operation
swirl copied to clipboard

Question: Autonomous scaler

Open UnclePhil opened this issue 2 years ago • 7 comments

Hello,

Did you think it's possible to extract the Scaler part as an autonomous application ?? The idea is brilliant.

Best regards

UnclePhil avatar Mar 02 '22 13:03 UnclePhil

I haven't found many reasons to separate this function now. Can you tell me why you need a standalone scaler application? Swirl is a very lightweight program if you use bolt store engine.

cuigh avatar Mar 03 '22 04:03 cuigh

I'm working at a gov company, on 12 Onprem Swarm cluster, and we have a complete ecosystem with a central Portainer and a Gitlab CICD for the provisioning. So the "standard" part of swarm management is present, but one of the missing part is a service to autoscale other components through labels reading. And that's what you have create.

So if you can export this part as a single service, I will use it, and i know a lot of people who can use it too.

BTW: One service , One function is a very good philosophy with container.

Best regards

UnclePhil avatar Mar 05 '22 17:03 UnclePhil

I see. I'll think about it when I finish my another project.

cuigh avatar Mar 07 '22 03:03 cuigh

+1 on separating the autoscaler:

I think this would be a great standalone project which would help the Docker Swarm ecosystem in general.

s4ke avatar Jun 20 '22 11:06 s4ke

Thank's for the push. BTW due to personal issue in some of my infrastructure , i've developped/rewrited the following. https://github.com/UnclePhil/ascaler.

You can try it.

Best regards , Ph Koenig, UnclePhil.

Le lun. 20 juin 2022, 13:15, Martin Braun @.***> a écrit :

+1 on separating the autoscaler:

I think this would be a great standalone project which would help the Docker Swarm eco system in general.

— Reply to this email directly, view it on GitHub https://github.com/cuigh/swirl/issues/39#issuecomment-1160317048, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADTDE5NPXJPRWIC5P3O4MLVQBHFPANCNFSM5PXQ2UVA . You are receiving this because you authored the thread.Message ID: @.***>

UnclePhil avatar Jun 20 '22 16:06 UnclePhil

Thanks for the link. Your script looks good, but there is something about such things written in bash that makes me uneasy. I guess it is fine, but a solution written in python/Go would make people want to contribute a bit more, maybe?

s4ke avatar Jun 20 '22 17:06 s4ke

I totally agree with you. But the original was in bash, and i have change it rapidely. The future go version is still in my brain, and i need some times to dump and test it.

I'm more a old bash native than a Go native

Best regards

Le lun. 20 juin 2022, 19:09, Martin Braun @.***> a écrit :

Thanks for the link. Your script looks good, but there is something about such things written in bash that makes me uneasy. I guess it is fine, but a solution written in python/Go would make people want to contribute a bit more, maybe?

— Reply to this email directly, view it on GitHub https://github.com/cuigh/swirl/issues/39#issuecomment-1160677160, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADTDE75RXD3SQUMAIXPCPLVQCQWJANCNFSM5PXQ2UVA . You are receiving this because you authored the thread.Message ID: @.***>

UnclePhil avatar Jun 20 '22 18:06 UnclePhil