Merge pull request #8279 from aiordache/max_replicas

Add placement.max_replicas_per_node to conversion map
This commit is contained in:
Ulysses Souza
2021-04-13 14:18:42 -03:00
committed by GitHub

View File

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