Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Joanne Hugé
slapos
Commits
bb467eac
Commit
bb467eac
authored
Mar 13, 2017
by
Alain Takoudjou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix Monitor README: add missing information for instance template
parent
8800a96c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
+13
-2
stack/monitor/README.md
stack/monitor/README.md
+13
-2
No files found.
stack/monitor/README.md
View file @
bb467eac
...
@@ -12,13 +12,21 @@ Implementation :
...
@@ -12,13 +12,21 @@ Implementation :
[buildout]
[buildout]
extends =
extends =
../../stack/monitor/buildout.cfg
...
...
../../stack/monitor/buildout.cfg
2/ In your instance.cfg file or instance template (instance-xxx.cfg.jinja2, ...),
Extend monitor template and a monitor-base to parts:
[buildout]
extends =
${monitor-template:rendered}
parts =
parts =
...
...
monitor-base
monitor-base
2/ In your instance.cfg file or instance template, o
verride monitor configuration section to define your custom parameters.
O
verride monitor configuration section to define your custom parameters.
[monitor-instance-parameter]
[monitor-instance-parameter]
monitor-title = ${slap-configuration:instance-title}
monitor-title = ${slap-configuration:instance-title}
...
@@ -57,6 +65,9 @@ You don't need to define all parameters, you can only set what is required to be
...
@@ -57,6 +65,9 @@ You don't need to define all parameters, you can only set what is required to be
-
configuration-file-path: path of knowledge0 cfg file where instance configuration will be written.
-
configuration-file-path: path of knowledge0 cfg file where instance configuration will be written.
-
interface-url: The URL of monitor web interface. This URL will be present in generated JSON files.
-
interface-url: The URL of monitor web interface. This URL will be present in generated JSON files.
NB: You should use double $ (ex: $${monitor-template:rendered}) instead of one $ in your instance template file if it's not a jinja template. See:
-
Jinja template file exemple, use one $: https://lab.nexedi.com/nexedi/slapos/blob/master/software/slaprunner/instance-resilient-test.cfg.jinja2
-
Non Jinja template file, use $$: https://lab.nexedi.com/nexedi/slapos/blob/master/software/slaprunner/instance.cfg
Add a promise
Add a promise
-------------
-------------
...
...
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