Manage a pool of nodes for a distributed test infrastructure
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

good.yaml 3.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. elements-dir: /etc/nodepool/elements
  2. images-dir: /opt/nodepool_dib
  3. webapp:
  4. port: 8005
  5. listen_address: '0.0.0.0'
  6. zookeeper-servers:
  7. - host: zk1.openstack.org
  8. port: 2181
  9. chroot: /test
  10. labels:
  11. - name: trusty
  12. max-ready-age: 3600
  13. min-ready: 1
  14. - name: trusty-2-node
  15. min-ready: 0
  16. - name: trusty-external
  17. min-ready: 1
  18. - name: trusty-static
  19. - name: kubernetes-namespace
  20. - name: pod-fedora
  21. - name: openshift-project
  22. - name: openshift-pod
  23. - name: centos-ami
  24. providers:
  25. - name: cloud1
  26. driver: openstack
  27. cloud: vanilla-cloud
  28. region-name: 'vanilla'
  29. boot-timeout: 120
  30. max-concurrency: 10
  31. launch-retries: 3
  32. rate: 1
  33. diskimages:
  34. - name: trusty
  35. pools:
  36. - name: main
  37. max-servers: 184
  38. auto-floating-ip: True
  39. host-key-checking: True
  40. node-attributes:
  41. key1: value1
  42. key2: value2
  43. labels:
  44. - name: trusty
  45. diskimage: trusty
  46. min-ram: 8192
  47. console-log: True
  48. - name: trusty-2-node
  49. diskimage: trusty
  50. min-ram: 8192
  51. boot-from-volume: True
  52. volume-size: 100
  53. instance-properties:
  54. a_key: a_value
  55. b_key: b_value
  56. - name: cloud2
  57. driver: openstack
  58. cloud: chocolate-cloud
  59. region-name: 'chocolate'
  60. boot-timeout: 120
  61. rate: 0.001
  62. diskimages:
  63. - name: trusty
  64. pause: False
  65. connection-type: ssh
  66. connection-port: 22
  67. cloud-images:
  68. - name: trusty-unmanaged
  69. config-drive: true
  70. - name: windows-unmanaged
  71. username: winzuul
  72. connection-type: winrm
  73. connection-port: 5986
  74. pools:
  75. - name: main
  76. max-servers: 184
  77. auto-floating-ip: False
  78. host-key-checking: False
  79. security-groups:
  80. - zuul_sg
  81. labels:
  82. - name: trusty
  83. diskimage: trusty
  84. min-ram: 8192
  85. - name: trusty-2-node
  86. diskimage: trusty
  87. min-ram: 8192
  88. - name: trusty-external
  89. cloud-image: trusty-unmanaged
  90. min-ram: 8192
  91. - name: static-rack
  92. driver: static
  93. pools:
  94. - name: main
  95. nodes:
  96. - name: trusty.example.com
  97. labels: trusty-static
  98. host-key: fake-key
  99. timeout: 13
  100. connection-port: 22022
  101. username: zuul
  102. max-parallel-jobs: 1
  103. - name: kubespray
  104. driver: kubernetes
  105. context: admin-cluster.local
  106. pools:
  107. - name: main
  108. labels:
  109. - name: kubernetes-namespace
  110. type: namespace
  111. - name: pod-fedora
  112. type: pod
  113. image: docker.io/fedora:28
  114. - name: openshift
  115. driver: openshift
  116. context: "/hostname:8443/self-provisioner-service-account"
  117. pools:
  118. - name: main
  119. labels:
  120. - name: openshift-project
  121. type: project
  122. - name: openshift-pod
  123. type: pod
  124. image: docker.io/fedora:28
  125. memory: 512
  126. cpu: 2
  127. - name: ec2-us-east-2
  128. driver: aws
  129. region-name: us-east-2
  130. profile-name: default
  131. cloud-images:
  132. - name: centos-ami
  133. image-id: ami-cfdafaaa
  134. username: centos
  135. pools:
  136. - name: main
  137. max-servers: 42
  138. security-group-id: sg-8bfe86352e334a80a
  139. subnet-id: subnet-bb3605b5f0fa40e1b
  140. labels:
  141. - name: centos-ami
  142. cloud-image: centos-ami
  143. flavor-name: t2.micro
  144. key-name: zuul
  145. volume-type: gp2
  146. volume-size: 80
  147. diskimages:
  148. - name: trusty
  149. formats:
  150. - tar
  151. pause: False
  152. elements:
  153. - ubuntu
  154. - vm
  155. - openstack-repos
  156. - puppet
  157. - nodepool-base
  158. - cache-devstack
  159. release: trusty
  160. rebuild-age: 3600
  161. env-vars:
  162. TMPDIR: /opt/dib_tmp
  163. DIB_IMAGE_CACHE: /opt/dib_cache
  164. QEMU_IMG_OPTIONS: compat=0.10