dcos marathon about

为 DC/OS Marathon 显示 info.json 文件

说明

dcos marathon about 命令将为 DC/OS Marathon 打印 info.json 文件。

使用

  1. dcos marathon about

选项

名称说明
—help显示此消息后退出。

示例

  1. dcos marathon about
  2. {
  3. "buildref": "da9365d80f9e3e58b097f7b4eba50b029f306f39",
  4. "elected": true,
  5. "frameworkId": "02b1bdc8-2bac-44a0-81ff-65816936b97b-0000",
  6. "http_config": {
  7. "http_port": 8080,
  8. "https_port": 8443
  9. },
  10. "leader": "10.0.6.122:8080",
  11. "marathon_config": {
  12. "access_control_allow_origin": null,
  13. "checkpoint": true,
  14. "decline_offer_duration": 300000,
  15. "default_network_name": "dcos",
  16. "env_vars_prefix": null,
  17. "executor": "//cmd",
  18. "failover_timeout": 604800,
  19. "features": [
  20. "secrets",
  21. "external_volumes",
  22. "maintenance_mode",
  23. "vips",
  24. "gpu_resources",
  25. "task_killing"
  26. ],
  27. "framework_name": "marathon",
  28. "ha": true,
  29. "hostname": "10.0.6.122",
  30. "launch_token": 100,
  31. "launch_token_refresh_interval": 30000,
  32. "leader_proxy_connection_timeout_ms": 5000,
  33. "leader_proxy_read_timeout_ms": 10000,
  34. "local_port_max": 20000,
  35. "local_port_min": 10000,
  36. "master": "zk://zk-1.zk:2181,zk-2.zk:2181,zk-3.zk:2181,zk-4.zk:2181,zk-5.zk:2181/mesos",
  37. "max_instances_per_offer": 100,
  38. "mesos_bridge_name": "mesos-bridge",
  39. "mesos_heartbeat_failure_threshold": 5,
  40. "mesos_heartbeat_interval": 15000,
  41. "mesos_leader_ui_url": "/mesos",
  42. "mesos_role": "slave_public",
  43. "mesos_user": "root",
  44. "min_revive_offers_interval": 5000,
  45. "offer_matching_timeout": 3000,
  46. "on_elected_prepare_timeout": 180000,
  47. "reconciliation_initial_delay": 15000,
  48. "reconciliation_interval": 600000,
  49. "revive_offers_for_new_apps": true,
  50. "revive_offers_repetitions": 3,
  51. "scale_apps_initial_delay": 15000,
  52. "scale_apps_interval": 300000,
  53. "store_cache": true,
  54. "task_launch_confirm_timeout": 1800000,
  55. "task_launch_timeout": 86400000,
  56. "task_lost_expunge_initial_delay": 300000,
  57. "task_lost_expunge_interval": 30000,
  58. "task_reservation_timeout": 1800000,
  59. "webui_url": null
  60. },
  61. "name": "marathon",
  62. "version": "1.7.174",
  63. "zookeeper_config": {
  64. "zk": "zk://xxxxxxxx:xxxxxxxx@zk-1.zk:2181,zk-2.zk:2181,zk-3.zk:2181,zk-4.zk:2181,zk-5.zk:2181/marathon",
  65. "zk_compression": true,
  66. "zk_compression_threshold": 65536,
  67. "zk_connection_timeout": 10000,
  68. "zk_max_node_size": 1024000,
  69. "zk_max_versions": 50,
  70. "zk_session_timeout": 10000,
  71. "zk_timeout": 10000
  72. }
  73. }

父命令

命令说明
dcos marathon将应用程序部署到 DC/OS 并对其进行管理。