Selaa lähdekoodia

Add placement.max_replicas_per_node to conversion map

Signed-off-by: Anca Iordache <[email protected]>
Anca Iordache 4 vuotta sitten
vanhempi
sitoutus
7f7370b811
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      compose/config/interpolation.py

+ 1 - 0
compose/config/interpolation.py

@@ -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,