db5602a91e
Write information about the node group to /etc/nodepool, along with an ssh key generated specifically for the node group. Add an optional script that is run on each node (and sub-node) for a label right before a node is placed in the ready state. This script can use the data in /etc/nodepool to setup access between the nodes in the group. Change-Id: Id0771c62095cccf383229780d1c4ddcf0ab42c1b
59 lines
1.2 KiB
YAML
59 lines
1.2 KiB
YAML
script-dir: .
|
|
dburi: 'mysql://nodepool@localhost/nodepool'
|
|
|
|
cron:
|
|
check: '*/15 * * * *'
|
|
cleanup: '*/1 * * * *'
|
|
update-image: '14 2 * * *'
|
|
|
|
zmq-publishers:
|
|
- tcp://localhost:8881
|
|
|
|
gearman-servers:
|
|
- host: localhost
|
|
|
|
labels:
|
|
- name: nodepool-fake
|
|
image: nodepool-fake
|
|
min-ready: 2
|
|
providers:
|
|
- name: fake-provider
|
|
- name: multi-fake
|
|
image: nodepool-fake
|
|
ready-script: multinode_setup.sh
|
|
subnodes: 2
|
|
min-ready: 2
|
|
providers:
|
|
- name: fake-provider
|
|
|
|
providers:
|
|
- name: fake-provider
|
|
keypair: 'if-present-use-this-keypair'
|
|
username: 'fake'
|
|
password: 'fake'
|
|
auth-url: 'fake'
|
|
project-id: 'fake'
|
|
max-servers: 96
|
|
pool: 'fake'
|
|
networks:
|
|
- net-id: 'some-uuid'
|
|
images:
|
|
- name: nodepool-fake
|
|
base-image: 'Fake Precise'
|
|
min-ram: 8192
|
|
name-filter: 'Fake'
|
|
setup: prepare_node_devstack.sh
|
|
- name: multi-fake
|
|
subnodes: 2
|
|
base-image: 'Fake Precise'
|
|
min-ram: 8192
|
|
name-filter: 'Fake'
|
|
setup: prepare_node_devstack.sh
|
|
|
|
targets:
|
|
- name: fake-jenkins
|
|
jenkins:
|
|
url: https://jenkins.example.org/
|
|
user: fake
|
|
apikey: fake
|