portworx/px-dev

max-count parameter

Closed this issue · 4 comments

The docs aren't clear about max-count parameter: https://docs.portworx.com/cloud/aws/asg.html#scaling-the-cluster-up. Where I need to set it? I mean, what is its correct syntax? Is it a command line parameter or a configuration that needs to be set through environment variable? Is it works with px-dev?

It should work with px-dev.
Max count is related to the max count of EBS volumes and should be set in user-data in cloud-init.

Example:
#cloud-config

portworx:
config:
storage:
devices:
- vol-0743df7bf5657dad8
- vol-0055e5913b79fb49d
max-count: 10

@venkatpx, is this userdata work with PX Docker plugin too?

Hi @galindro this should work with PX Docker plugin as well.