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.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  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. providers:
  24. - name: cloud1
  25. driver: openstack
  26. cloud: vanilla-cloud
  27. region-name: 'vanilla'
  28. boot-timeout: 120
  29. max-concurrency: 10
  30. launch-retries: 3
  31. rate: 1
  32. diskimages:
  33. - name: trusty
  34. pools:
  35. - name: main
  36. max-servers: 184
  37. auto-floating-ip: True
  38. host-key-checking: True
  39. node-attributes:
  40. key1: value1
  41. key2: value2
  42. labels:
  43. - name: trusty
  44. diskimage: trusty
  45. min-ram: 8192
  46. console-log: True
  47. - name: trusty-2-node
  48. diskimage: trusty
  49. min-ram: 8192
  50. boot-from-volume: True
  51. volume-size: 100
  52. instance-properties:
  53. a_key: a_value
  54. b_key: b_value
  55. - name: cloud2
  56. driver: openstack
  57. cloud: chocolate-cloud
  58. region-name: 'chocolate'
  59. boot-timeout: 120
  60. rate: 0.001
  61. diskimages:
  62. - name: trusty
  63. pause: False
  64. connection-type: ssh
  65. connection-port: 22
  66. cloud-images:
  67. - name: trusty-unmanaged
  68. config-drive: true
  69. - name: windows-unmanaged
  70. username: winzuul
  71. connection-type: winrm
  72. connection-port: 5986
  73. pools:
  74. - name: main
  75. max-servers: 184
  76. auto-floating-ip: False
  77. host-key-checking: False
  78. security-groups:
  79. - zuul_sg
  80. labels:
  81. - name: trusty
  82. diskimage: trusty
  83. min-ram: 8192
  84. - name: trusty-2-node
  85. diskimage: trusty
  86. min-ram: 8192
  87. - name: trusty-external
  88. cloud-image: trusty-unmanaged
  89. min-ram: 8192
  90. - name: static-rack
  91. driver: static
  92. pools:
  93. - name: main
  94. nodes:
  95. - name: trusty.example.com
  96. labels: trusty-static
  97. host-key: fake-key
  98. timeout: 13
  99. connection-port: 22022
  100. username: zuul
  101. max-parallel-jobs: 1
  102. - name: kubespray
  103. driver: kubernetes
  104. context: admin-cluster.local
  105. pools:
  106. - name: main
  107. labels:
  108. - name: kubernetes-namespace
  109. type: namespace
  110. - name: pod-fedora
  111. type: pod
  112. image: docker.io/fedora:28
  113. - name: openshift
  114. driver: openshift
  115. context: "/hostname:8443/self-provisioner-service-account"
  116. pools:
  117. - name: main
  118. labels:
  119. - name: openshift-project
  120. type: project
  121. - name: openshift-pod
  122. type: pod
  123. image: docker.io/fedora:28
  124. memory: 512
  125. cpu: 2
  126. diskimages:
  127. - name: trusty
  128. formats:
  129. - tar
  130. pause: False
  131. elements:
  132. - ubuntu
  133. - vm
  134. - openstack-repos
  135. - puppet
  136. - nodepool-base
  137. - cache-devstack
  138. release: trusty
  139. rebuild-age: 3600
  140. env-vars:
  141. TMPDIR: /opt/dib_tmp
  142. DIB_IMAGE_CACHE: /opt/dib_cache
  143. QEMU_IMG_OPTIONS: compat=0.10