Hi,
I’m stuck on this one, and needing some help.
I’m using terraform/ansible to provision the entire infrastucture, and it basically works. The process is:
- Create all hosts on digitalocean
- Copy the docker-compose files across for rancher server and other standalone containers
- Start up rancher
- Get the command for the host to register itself with Rancher
- Set up the stacks.
At this point, I’d like to be able to point certain stacks to certain hosts using the host labels.
However, I can’t find a way for the host to register itself with labels.
Anyone know how to do this?
Any help is appreciated,
Regards,
Andy