Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add config specs #7292

Merged
merged 5 commits into from
Aug 5, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions mesos_slave/assets/configuration/spec.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Mesos Slave

files:
- name: mesos_slave.yaml
options:
- template: init_config
options:
- template: init_config/http
- template: init_config/default
- template: instances
options:
- name: url
description: URL used to connect to the Mesos instance.
required: True
value:
example: http://localhost:5051
type: string
- name: master_port
description: Port of your Mesos Master instance.
value:
default: 5050
example: 5050
type: integer
- name: tasks
description: Specify the tasks from which you want to send metrics to Datadog.
value:
type: array
items:
type: string
example:
- <TASK_NAME>
- template: instances/http
- template: instances/default
Loading