![]() ![]() ![]() ![]() For example, scale of services and health checks would be in the rancher-compose.yml file. To enable features that are supported in Rancher, you can also have a rancher-compose.yml which extends and overwrites the docker-compose.yml. The Rancher Compose tool works just like the popular Docker Compose and supports the V1 and V2 versions of docker-compose.yml files. These containers are launched just as if you had started a service in the UI as Rancher Compose is making the same API calls. If there are no scheduling rules, then the containers of the service are launched on the hosts with the fewest containers. The containers started by Rancher Compose will be deployed on any of the hosts in the environment that satisfy the scheduling rules. It operates within the scope of a stack in the Rancher UI, which belongs to one environment and has many hosts. The Rancher Compose tool is a multi-host version of Docker Compose. These docs are for Rancher 1.6, if you are looking for Rancher 2.x docs, see here. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |