Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
asperathos-custom
adaptive-kubejobs
Commits
e866c04f
Commit
e866c04f
authored
Oct 22, 2019
by
liliars
Browse files
submission json
parent
b5709dbc
Changes
2
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
e866c04f
...
...
@@ -57,4 +57,10 @@ Your json submission file should have these entries like the example bellow:
"max_cpu"
:
0.5
}
}
```
You can test the plugin by running a simples job as follows:
```
bash
$
curl
-H
"Content-Type: application/json"
--data
@adaptive-submission.json <your_asperathos_url:port>/submissions
```
\ No newline at end of file
adaptive-submission.json
0 → 100644
View file @
e866c04f
{
"plugin"
:
"kubejobs"
,
"plugin_info"
:
{
"username"
:
"admin"
,
"password"
:
"adaptive123"
,
"cmd"
:
[
"python"
,
"factorial.py"
],
"img"
:
"matheusmelo/asperathos_factorial"
,
"redis_workload"
:
"https://gist.githubusercontent.com/matheuscmelo/3b4f47948a15b14862edd79f7e7bc4ee/raw/9da12cf9549c57dcec68d58c2bf9c85c1281c650/workload_f3"
,
"job_resources_lifetime"
:
1200
,
"init_size"
:
1
,
"control_plugin"
:
"adaptive_kubejobs"
,
"control_parameters"
:
{
"schedule_strategy"
:
"default"
,
"actuator"
:
"k8s_replicas"
,
"check_interval"
:
10
,
"trigger_down"
:
1
,
"trigger_up"
:
1
,
"min_rep"
:
1
,
"max_rep"
:
10
,
"actuation_size"
:
1
,
"metric_source"
:
"redis"
,
"max_ram"
:
0.7
,
"max_cpu"
:
0.5
},
"monitor_plugin"
:
"kubejobs"
,
"monitor_info"
:
{
"expected_time"
:
1000
},
"enable_visualizer"
:
true
,
"visualizer_plugin"
:
"k8s-grafana"
,
"visualizer_info"
:
{
"datasource_type"
:
"influxdb"
},
"env_vars"
:
{}
},
"enable_auth"
:
false
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment