Server
You can perform fine tuning of your node.
Hostname
By default the hostname of your node will be your node id. You can override the hostname by specifying:
configuration:
server:
hostname: mybox
Deb Repositories
You can add any custom repository by defining the following:
configuration:
server:
repositories:
- name: 'ppa:nginx/stable'
- name: 'deb http://packages.elasticsearch.org/elasticsearch/1.3/debian stable main'
key: 'http://packages.elasticsearch.org/GPG-KEY-elasticsearch'
Deb packages
You can install custom DEB packages on your node by defining the following in the configuration:
configuration:
server:
packages:
- some-package
- some-other-package
Those packages are expected to be found within the deb packages repositories defined in your node.
Sysctl settings
You can specify extra parameters to your node with:
configuration:
server:
sysctl:
vm.swappiness: 10
net.ipv4.ip_forward: 1
SWAP settings
By default some swap will be created on the node. This can be disabled or tuned to match your needs.
The following example will change the default size and path, and create a 4GB swap file at /custom_path
:
configuration:
server:
swap:
enable: true
size: 4096
path: /custom_path
This example, will ensure no swap file is being created
configuration:
server:
swap:
enable: false
Commands
- devops server restart
- Restart the server and wait for it to come back online
- devops server stop
- Stop the server and ... just stops it
Configuration
- configuration:
- hostname string
- Custom hostname to set the server to
- Default:
node-id
- packages array
- List of packages to install on the server
- repositories array
- List of repositories to install on the server
- repositorie.key string
- Local or remote GPG key used to authenticate the repository
- repositorie.name string
- Either a ppa repository, or a full line
- swap.enable boolean
- Whether or not to include SWAP on the server
- Default:
true
- swap.path string
- Path of the SWAP file
- Default:
/swapfile
- swap.size integer
- Size in MB of the SWAP
- Default:
2048
- sysctl object
- Key/Value pair of sysctl settings (e.g. vm.swappiness: 1)
- Default:
[object Object]