Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- apps: [
- {
- id: "/elasticsearch",
- cmd: null,
- args: null,
- user: null,
- env: { },
- instances: 1,
- cpus: 4,
- mem: 4000,
- disk: 50000,
- executor: "",
- constraints: [
- [
- "node_name",
- "LIKE",
- "slave_01"
- ]
- ],
- uris: [ ],
- storeUrls: [ ],
- ports: [
- 9200
- ],
- requirePorts: false,
- backoffSeconds: 1,
- backoffFactor: 1.15,
- maxLaunchDelaySeconds: 3600,
- container: {
- type: "DOCKER",
- volumes: [
- {
- containerPath: "/usr/share/elasticsearch/data",
- hostPath: "/mnt/hdd/elasticsearch/data",
- mode: "RW"
- }
- ],
- docker: {
- image: "elasticsearch",
- network: "BRIDGE",
- portMappings: [
- {
- containerPort: 9200,
- hostPort: 9200,
- servicePort: 9200,
- protocol: "tcp"
- }
- ],
- privileged: true,
- parameters: [ ],
- forcePullImage: false
- }
- },
- healthChecks: [
- {
- protocol: "COMMAND",
- command: {
- value: "curl -f -X GET http://$HOST:$PORT/_cluster/health?pretty=true"
- },
- gracePeriodSeconds: 300,
- intervalSeconds: 60,
- timeoutSeconds: 20,
- maxConsecutiveFailures: 3,
- ignoreHttp1xx: false
- }
- ],
- dependencies: [ ],
- upgradeStrategy: {
- minimumHealthCapacity: 1,
- maximumOverCapacity: 1
- },
- labels: { },
- acceptedResourceRoles: null,
- ipAddress: null,
- version: "2016-01-27T16:17:00.343Z",
- versionInfo: {
- lastScalingAt: "2016-01-27T16:17:00.343Z",
- lastConfigChangeAt: "2016-01-27T16:15:23.235Z"
- },
- tasksStaged: 0,
- tasksRunning: 1,
- tasksHealthy: 0,
- tasksUnhealthy: 0,
- deployments: [ ]
- },
- {
- id: "/test",
- cmd: "echo "dame"",
- args: null,
- user: null,
- env: { },
- instances: 1,
- cpus: 0.1,
- mem: 16,
- disk: 0,
- executor: "",
- constraints: [ ],
- uris: [ ],
- storeUrls: [ ],
- ports: [
- 10000
- ],
- requirePorts: false,
- backoffSeconds: 1,
- backoffFactor: 1.15,
- maxLaunchDelaySeconds: 3600,
- container: null,
- healthChecks: [ ],
- dependencies: [ ],
- upgradeStrategy: {
- minimumHealthCapacity: 1,
- maximumOverCapacity: 1
- },
- labels: { },
- acceptedResourceRoles: null,
- ipAddress: null,
- version: "2016-01-28T07:57:35.433Z",
- versionInfo: {
- lastScalingAt: "2016-01-28T07:57:35.433Z",
- lastConfigChangeAt: "2016-01-28T07:57:35.433Z"
- },
- tasksStaged: 0,
- tasksRunning: 0,
- tasksHealthy: 0,
- tasksUnhealthy: 0,
- deployments: [
- {
- id: "115b4e61-91f6-4aa2-8753-edee4b2f879a"
- }
- ]
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement