When you upgrade to Marathon 1.5, your apps will also be automatically modified to conform to the new networking API. However, support for deprecated networking API fields will be dropped completely in some future release according to Marathon’s official API deprecation policy MARATHON-7165.
Use the options below to finely tune automatic app migration:
MIGRATION_1_5_0_MARATHON_DEFAULT_NETWORK_NAME
environment variable.
ipAddress/networkName
; Marathon 1.5 requires a resolvable network name.container
networking mode for each migrated legacy MESOS IP/CT app.--default_network_name
flag.
--default_network_name
flag if the MIGRATION_1_5_0_MARATHON_DEFAULT_NETWORK_NAME
environment variable is unset.Note: For older MESOS IP/CT apps that do not declare a networkName: if neither the environment variable nor the flag are set, app migration will fail.