jfrog / artifactory-docker-examples

Examples for using Artifactory Docker distribution in various environments
https://www.jfrog.com/artifactory/
Apache License 2.0
330 stars 299 forks source link

OpenShift - Scaling up the nodes #130

Closed daniyalj closed 6 years ago

daniyalj commented 6 years ago

:wave:

I have successfully installed Artifactory running on OpenShift using the templates and have a primary and secondary node running. My question is, how do I scale up if I want to add a third node to the cluster?

elioengcomp commented 6 years ago

Hi @daniyalj ,

Thanks for your message.

Right now there is no scaling options in the current version of the templates. The shorter route to add a third node would be just copying the template files related to the secondary node, renaming them to avoid naming conflicts and adding them to the helper scripts.

The longer and more elegant route would be modifying the templates and adding support to Stateful Sets to the secondary nodes, so you could scale the number of secondary replicas up and down. The reason why we do not have support for Stateful Sets is because it was not supported by Openshift at the time we created the templates.

daniyalj commented 6 years ago

Hi @elioengcomp would renaming and adding a third deployment config for an additional node be supported under the Enterprise license?

elioengcomp commented 6 years ago

Artifactory licensing model is per node. You can check with your customer success representative to see how many nodes you have available in your subscription. As long as you have an Enterprise license available to the third node it is going to work fine.

daniyalj commented 6 years ago

Perfect thank you!

elioengcomp commented 6 years ago

You are welcome! ;)