I have a deployment with a group constraint of distinct hosts and a count of 3, however only two nodes are available (as a test).
When I run the job, it spawns 2 allocations correctly and can’t spawn a third one as seen below:
Latest Deployment ID = 63ef8d11 Status = running Description = Deployment is running Summary Task Group Queued Starting Running Failed Complete Lost test 1 0 2 79 8 1 Deployed Task Group Desired Placed Healthy Unhealthy Progress Deadline test 3 3 3 0 2022-12-13T10:48:51Z Allocations ID Node ID Task Group Version Desired Status Created Modified eb182e66 838b241b test 2 run running 23d23h ago 23d23h ago 55d831e4 1aa5702b test 2 run running 23d23h ago 23d23h ago
My questions are:
- Why does deployment is successful/healthy and shows 3 out of 3? => Even though you can only see 2 allocations in summary/allocations.
- How is a deployment healthy status defined? Since one allocation failed but is considered healthy?