Ver Fonte

Merge pull request #8279 from aiordache/max_replicas

Add placement.max_replicas_per_node to conversion map
Ulysses Souza há 4 anos atrás
pai
commit
2d0c9366ff
1 ficheiros alterados com 1 adições e 0 exclusões
  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,