docker_swarm_service: Fix description of limits.memory (#66078)

This option corresponds to the '--limit-memory' option. Also
fix other mentions memory reservation instead of limit.
pull/66123/head
Pedro Alvarez Piedehierro 5 years ago committed by Felix Fontein
parent 8456d4e354
commit 30cfa92e90

@ -209,12 +209,12 @@ options:
type: float type: float
memory: memory:
description: description:
- "Service memory reservation in format C(<number>[<unit>]). Number is a positive integer. - "Service memory limit in format C(<number>[<unit>]). Number is a positive integer.
Unit can be C(B) (byte), C(K) (kibibyte, 1024B), C(M) (mebibyte), C(G) (gibibyte), Unit can be C(B) (byte), C(K) (kibibyte, 1024B), C(M) (mebibyte), C(G) (gibibyte),
C(T) (tebibyte), or C(P) (pebibyte)." C(T) (tebibyte), or C(P) (pebibyte)."
- C(0) equals no reservation. - C(0) equals no limit.
- Omitting the unit defaults to bytes. - Omitting the unit defaults to bytes.
- Corresponds to the C(--reserve-memory) option of C(docker service create). - Corresponds to the C(--limit-memory) option of C(docker service create).
type: str type: str
type: dict type: dict
version_added: "2.8" version_added: "2.8"

Loading…
Cancel
Save