Fuel CCP - Tests sub-project
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.

five_slaves.yaml 3.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. ---
  2. aliases:
  3. dynamic_addresses_pool:
  4. - &pool_default !os_env POOL_DEFAULT, 10.100.0.0/16:24
  5. default_interface_model:
  6. - &interface_model !os_env INTERFACE_MODEL, e1000
  7. template:
  8. devops_settings:
  9. env_name: !os_env ENV_NAME
  10. address_pools:
  11. public-pool01:
  12. net: *pool_default
  13. params:
  14. vlan_start: 1210
  15. ip_reserved:
  16. gateway: +1
  17. l2_network_device: +1
  18. ip_ranges:
  19. dhcp: [+128, -32]
  20. rack-01: [+2, +127]
  21. private-pool01:
  22. net: *pool_default
  23. params:
  24. ip_reserved:
  25. l2_network_device: +1
  26. ip_ranges:
  27. dhcp: [+128, -32]
  28. neutron-pool01:
  29. net: *pool_default
  30. groups:
  31. - name: default
  32. driver:
  33. name: devops.driver.libvirt
  34. params:
  35. connection_string: !os_env CONNECTION_STRING, qemu:///system
  36. storage_pool_name: !os_env STORAGE_POOL_NAME, default
  37. stp: False
  38. hpet: False
  39. use_host_cpu: !os_env DRIVER_USE_HOST_CPU, true
  40. enable_acpi: True
  41. network_pools:
  42. public: public-pool01
  43. private: private-pool01
  44. neutron: neutron-pool01
  45. l2_network_devices:
  46. public:
  47. address_pool: public-pool01
  48. dhcp: true
  49. forward:
  50. mode: nat
  51. private:
  52. address_pool: private-pool01
  53. dhcp: true
  54. neutron:
  55. address_pool: neutron-pool01
  56. dhcp: false
  57. group_volumes:
  58. - name: baseimage # This name is used for 'backing_store' option for node volumes.
  59. source_image: !os_env IMAGE_PATH
  60. format: qcow2
  61. nodes:
  62. - name: master
  63. role: k8s
  64. params: &rack-01-node-params
  65. vcpu: !os_env SLAVE_NODE_CPU, 2
  66. memory: !os_env SLAVE_NODE_MEMORY, 8192
  67. boot:
  68. - network
  69. - hd
  70. volumes:
  71. - name: system
  72. capacity: !os_env NODE_VOLUME_SIZE, 150
  73. backing_store: baseimage
  74. format: qcow2
  75. interfaces:
  76. - label: iface0
  77. l2_network_device: public
  78. interface_model: *interface_model
  79. - label: iface1
  80. l2_network_device: private
  81. interface_model: *interface_model
  82. - label: iface2
  83. l2_network_device: neutron
  84. interface_model: *interface_model
  85. network_config:
  86. iface0:
  87. networks:
  88. - public
  89. iface1:
  90. networks:
  91. - private
  92. iface2:
  93. networks:
  94. - neutron
  95. - name: slave-0
  96. role: k8s
  97. params: *rack-01-node-params
  98. - name: slave-1
  99. role: k8s
  100. params: *rack-01-node-params
  101. - name: slave-2
  102. role: k8s
  103. params: *rack-01-node-params
  104. - name: slave-3
  105. role: k8s
  106. params: *rack-01-node-params