I am using a the docker compose cluster sample setup from docker-solr-examples
Now, I want to add my existing core definitions to the cluster. How do i deploy my existing core definitions and managed-schema.xml to zookeeper. I presume there is a way to put the file on one node and have it automatically replicate out to the other nodes.
Have you looked at this documentation Using zookeeper to manage configuration From the docker I understand that it is creating a zookeeper ensemble consisting of 3 notes and those manage 3 solr nodes. Usually a solr installation has a few preinstalled scripts that allow you to do some maintenance. You may have to enter the cli of one of the Solr nodes and use that to upload the configuration. Docker is only giving you the convenience to spin up the infrastructure quickly. Other maintenance tasks will still require using solr , zookeeper cli or APIs