Open morgo opened 5 years ago
I think PD should definitely facilitate bootstrap more, but not necessarily in a cloud specific way. Its nice to try to keep pd dependencies light and not ship a dependency on every cloud vendor. Maybe part of this could be a cloud provider neutral enhancement and part shell script? I think the shell script is doable, I am used to writing those for AWS and could help with that.
I already have a suggestion for getting rid of the TIKV advertise-addr argument: https://github.com/tikv/tikv/issues/4447
I think the shell script is doable, I am used to writing those for AWS and could help with that.
I would prefer either built-in, or another go binary. Shell scripts are hard to make portable since only the language (bash) is constant. All the programs can vary. Some time back MySQL switched from using shell and perl scripts to only C++ binaries, and it's made installation smoother.
Its true that the aws cli for example does make breaking changes. I agree it is nice to have shell script at the most just download the actual programs that have well-specified dependencies. But they are good for prototyping solutions.
Please answer these questions before submitting your issue. Thanks!
AWS is the largest public cloud, but the Kubernetes support is still immature (and costs $$$ for a small install).
It would be nice to have pd/tidb/tikv integrate with Route53's service discovery out of the box. This can be done with the AWS GO SDK.
It would be nice to be able to do something like this (for first run):
And then for subsequent:
Then with TiDB and TiKV:
Instead it requires complex shell scripting because of the multiple commands:
pd-server -V
)?