all.yml 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. ---
  2. openshift_openstack_clusterid: "openshift"
  3. openshift_openstack_public_dns_domain: "example.com"
  4. openshift_openstack_dns_nameservers: []
  5. # # Used Hostnames
  6. # # - set custom hostnames for roles by uncommenting corresponding lines
  7. #openshift_openstack_master_hostname: "master"
  8. #openshift_openstack_infra_hostname: "infra-node"
  9. #openshift_openstack_cns_hostname: "cns"
  10. #openshift_openstack_node_hostname: "app-node"
  11. #openshift_openstack_lb_hostname: "lb"
  12. #openshift_openstack_etcd_hostname: "etcd"
  13. openshift_openstack_keypair_name: "openshift"
  14. openshift_openstack_external_network_name: "public"
  15. #openshift_openstack_private_network_name: "openshift-ansible-{{ openshift_openstack_stack_name }}-net"
  16. # # A dedicated Neutron network name for containers data network
  17. # # Configures the data network to be separated from openshift_openstack_private_network_name
  18. # # NOTE: this is only supported with Flannel SDN yet
  19. #openstack_private_data_network_name: "openshift-ansible-{{ openshift_openstack_stack_name }}-data-net"
  20. ## Kuryr networking
  21. # TODO: Allow the user to specify pre-existing subnets for pod and services
  22. #openshift_openstack_kuryr_service_subnet_cidr: "172.30.0.0/16"
  23. ## You should set the following if you want to use Kuryr/Neutron as your SDN
  24. #openshift_use_kuryr: True
  25. #openshift_use_openshift_sdn: False
  26. # NOTE: you must uncomment these for Kuryr to work properly as well:
  27. # openshift_master_open_ports:
  28. # - service: dns tcp
  29. # port: 53/tcp
  30. # - service: dns udp
  31. # port: 53/udp
  32. # openshift_node_open_ports:
  33. # - service: dns tcp
  34. # port: 53/tcp
  35. # - service: dns udp
  36. # port: 53/udp
  37. #use_trunk_ports: True
  38. #os_sdn_network_plugin_name: cni
  39. #openshift_node_proxy_mode: userspace
  40. # # Kuryr needs to have the pod based registry (if desired in the cluster)
  41. # deployed after kuryr is up and running. This can be done with oadm
  42. # #Disable management of the OpenShift Registry
  43. #openshift_hosted_manage_registry: false
  44. # # Kuryr needs to know the network or the subnet you will be taking Floating
  45. # IPs for the loadbalancer services from.
  46. # kuryr_openstack_public_net_id: uuid_of_my_fip_net
  47. # If you have different subnet at the Floating IP network you can also specify
  48. # it but need to ensure default policy allows your tennat to retrieve that
  49. # information
  50. # kuryr_openstack_public_subnet_id: uuid_of_my_fip_subnet
  51. # If you VM images will name the ethernet device different than 'eth0',
  52. # override this
  53. #kuryr_cni_link_interface: eth0
  54. ## Ports pooling is enabled by default (with nested driver).
  55. ## To disable, uncomment the next:
  56. #kuryr_openstack_pool_driver: noop
  57. #
  58. ## You can also alter the port pooling defaults here
  59. #kuryr_openstack_pool_max: 0
  60. #kuryr_openstack_pool_min: 1
  61. #kuryr_openstack_pool_batch: 5
  62. #kuryr_openstack_pool_update_frequency: 20
  63. #
  64. ## You can pre-populate the pools with subports by uncommenting the next line
  65. ## and specifying the amount of subports you want to pre-create per
  66. ## origin-node, e.g.: openshift_kuryr_precreate_subports: 5
  67. #openshift_kuryr_precreate_subports: false
  68. #
  69. ## You can also change the default device owner for the precreated subports
  70. #openshift_kuryr_device_owner: compute:kuryr
  71. #
  72. # You can also disable the kuryr controller and cni healthcheck probes by
  73. # uncommenting the next
  74. # enable_kuryr_controller_probes: False
  75. # enable_kuryr_cni_probes: False
  76. ## If you want to use a provider network, set its name here.
  77. ## NOTE: the `openshift_openstack_external_network_name` and
  78. ## `openshift_openstack_private_network_name` options will be ignored when using a
  79. ## provider network.
  80. #openshift_openstack_provider_network_name: "provider"
  81. # # Used Images
  82. # # - set specific images for roles by uncommenting corresponding lines
  83. # # - note: do not remove openshift_openstack_default_image_name definition
  84. #openshift_openstack_master_image_name: "centos7"
  85. #openshift_openstack_infra_image_name: "centos7"
  86. #openshift_openstack_cns_image_name: "centos7"
  87. #openshift_openstack_node_image_name: "centos7"
  88. #openshift_openstack_lb_image_name: "centos7"
  89. #openshift_openstack_etcd_image_name: "centos7"
  90. openshift_openstack_default_image_name: "centos7"
  91. openshift_openstack_num_masters: 1
  92. openshift_openstack_num_infra: 1
  93. openshift_openstack_num_cns: 0
  94. openshift_openstack_num_nodes: 2
  95. # # Used Flavors
  96. # # - set specific flavors for roles by uncommenting corresponding lines
  97. # # - note: do note remove openshift_openstack_default_flavor definition
  98. #openshift_openstack_master_flavor: "m1.medium"
  99. #openshift_openstack_infra_flavor: "m1.medium"
  100. #openshift_openstack_cns_flavor: "m1.medium"
  101. #openshift_openstack_node_flavor: "m1.medium"
  102. #openshift_openstack_lb_flavor: "m1.medium"
  103. #openshift_openstack_etcd_flavor: "m1.medium"
  104. openshift_openstack_default_flavor: "m1.medium"
  105. # # Numerical index of nodes to remove
  106. # openshift_openstack_nodes_to_remove: []
  107. ## Select a load balancer solution you desire. Only one of these can be
  108. ## `true` at a time. If they're both `false`, no load balancer will be deployed.
  109. #openshift_openstack_use_lbaas_load_balancer: false
  110. #openshift_openstack_use_vm_load_balancer: false
  111. # # Docker volume size
  112. # # - set specific volume size for roles by uncommenting corresponding lines
  113. # # - note: do not remove docker_default_volume_size definition
  114. #openshift_openstack_docker_master_volume_size: "15"
  115. #openshift_openstack_docker_infra_volume_size: "15"
  116. #openshift_openstack_docker_cns_volume_size: "15"
  117. #openshift_openstack_docker_node_volume_size: "15"
  118. #openshift_openstack_docker_etcd_volume_size: "2"
  119. #openshift_openstack_docker_lb_volume_size: "5"
  120. openshift_openstack_docker_volume_size: "15"
  121. ## Specify server group policies for master and infra nodes. Nova must be configured to
  122. ## enable these policies. 'anti-affinity' will ensure that each VM is launched on a
  123. ## different physical host.
  124. #openshift_openstack_master_server_group_policies: [anti-affinity]
  125. #openshift_openstack_infra_server_group_policies: [anti-affinity]
  126. # The Classless Inter-Domain Routing (CIDR) for the OpenStack VM subnet.
  127. openshift_openstack_subnet_cidr: "192.168.99.0/24"
  128. # The starting IP address for the OpenStack subnet allocation pool.
  129. openshift_openstack_pool_start: "192.168.99.3"
  130. # The ending IP address for the OpenStack subnet allocation pool.
  131. openshift_openstack_pool_end: "192.168.99.254"
  132. ## Red Hat subscription:
  133. #rhsub_user: '<username>'
  134. #rhsub_pass: '<password>'
  135. #rhsub_pool: '<pool name>'
  136. # # Roll-your-own DNS
  137. #openshift_openstack_external_nsupdate_keys:
  138. # public:
  139. # key_secret: 'SKqKNdpfk7llKxZ57bbxUnUDobaaJp9t8CjXLJPl+fRI5mPcSBuxTAyvJPa6Y9R7vUg9DwCy/6WTpgLNqnV4Hg=='
  140. # key_algorithm: 'hmac-md5'
  141. # server: '192.168.1.1'
  142. # private:
  143. # key_secret: 'kVE2bVTgZjrdJipxPhID8BEZmbHD8cExlVPR+zbFpW6la8kL5wpXiwOh8q5AAosXQI5t95UXwq3Inx8QT58duw=='
  144. # key_algorithm: 'hmac-md5'
  145. # server: '192.168.1.2'
  146. # NOTE(shadower): Do not change this value. The Ansible user is currently
  147. # hardcoded to `openshift`.
  148. ansible_user: openshift
  149. # Resolve heat stack outputs. Disabling outputs helps stack scalability. (default: True)
  150. #openshift_openstack_resolve_heat_outputs: True
  151. # # Use a single security group for a cluster (default: false)
  152. #openshift_openstack_flat_secgrp: false
  153. # If you want to use the VM storage instead of Cinder volumes, set this to `true`.
  154. # NOTE: this is for testing only! Your data will be gone once the VM disappears!
  155. # openshift_openstack_ephemeral_volumes: false
  156. ## cloud config
  157. openshift_openstack_disable_root: true
  158. openshift_openstack_user: openshift