Open eric-mathison opened 3 years ago
Supporting these less common use cases is intentionally out of scope for CapRover:
One example is: "Add a flag to customize the placement constraints of containers". This is definitely doable in Docker, but we don't want to mirror every single functionality of Docker to CapRover. If we do that, CapRover becomes a very hard to maintain project.
For your use case, you can simply change the NodeID of your app post creation. Optionally, you can then SSH into the original node and remove the initial volume.
Please add support for the deploy configuration. More specifically, support for the
placement
andresources
sub-options.It would be great to have the ability to set constraints and limitations before deploying the app. This is most important when deploying persistent type apps where auto placement deploys the app to a node with little room.