Skip to content

Commit

Permalink
Add placement.max_replicas_per_node to conversion map
Browse files Browse the repository at this point in the history
Signed-off-by: Anca Iordache <anca.iordache@docker.com>
  • Loading branch information
Anca Iordache committed Apr 13, 2021
1 parent 3eee3e0 commit 7f7370b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compose/config/interpolation.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ class ConversionMap:
service_path('healthcheck', 'disable'): to_boolean,
service_path('deploy', 'labels', PATH_JOKER): to_str,
service_path('deploy', 'replicas'): to_int,
service_path('deploy', 'placement', 'max_replicas_per_node'): to_int,
service_path('deploy', 'resources', 'limits', "cpus"): to_float,
service_path('deploy', 'update_config', 'parallelism'): to_int,
service_path('deploy', 'update_config', 'max_failure_ratio'): to_float,
Expand Down

0 comments on commit 7f7370b

Please sign in to comment.