hosts.ose.example 43 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923
  1. # This is an example of a bring your own (byo) host inventory
  2. # Create an OSEv3 group that contains the masters and nodes groups
  3. [OSEv3:children]
  4. masters
  5. nodes
  6. etcd
  7. lb
  8. nfs
  9. # Set variables common for all OSEv3 hosts
  10. [OSEv3:vars]
  11. # Enable unsupported configurations, things that will yield a partially
  12. # functioning cluster but would not be supported for production use
  13. #openshift_enable_unsupported_configurations=false
  14. # SSH user, this user should allow ssh based auth without requiring a
  15. # password. If using ssh key based auth, then the key should be managed by an
  16. # ssh agent.
  17. ansible_ssh_user=root
  18. # If ansible_ssh_user is not root, ansible_become must be set to true and the
  19. # user must be configured for passwordless sudo
  20. #ansible_become=yes
  21. # Debug level for all OpenShift components (Defaults to 2)
  22. debug_level=2
  23. # Specify the deployment type. Valid values are origin and openshift-enterprise.
  24. openshift_deployment_type=openshift-enterprise
  25. # Specify the generic release of OpenShift to install. This is used mainly just during installation, after which we
  26. # rely on the version running on the first master. Works best for containerized installs where we can usually
  27. # use this to lookup the latest exact version of the container images, which is the tag actually used to configure
  28. # the cluster. For RPM installations we just verify the version detected in your configured repos matches this
  29. # release.
  30. openshift_release=v3.6
  31. # Specify an exact container image tag to install or configure.
  32. # WARNING: This value will be used for all hosts in containerized environments, even those that have another version installed.
  33. # This could potentially trigger an upgrade and downtime, so be careful with modifying this value after the cluster is set up.
  34. #openshift_image_tag=v3.6.0
  35. # Specify an exact rpm version to install or configure.
  36. # WARNING: This value will be used for all hosts in RPM based environments, even those that have another version installed.
  37. # This could potentially trigger an upgrade and downtime, so be careful with modifying this value after the cluster is set up.
  38. #openshift_pkg_version=-3.6.0
  39. # This enables all the system containers except for docker:
  40. #openshift_use_system_containers=False
  41. #
  42. # But you can choose separately each component that must be a
  43. # system container:
  44. #
  45. #openshift_use_openvswitch_system_container=False
  46. #openshift_use_node_system_container=False
  47. #openshift_use_master_system_container=False
  48. #openshift_use_etcd_system_container=False
  49. #
  50. # In either case, system_images_registry must be specified to be able to find the system images
  51. #system_images_registry="registry.access.redhat.com"
  52. # Install the openshift examples
  53. #openshift_install_examples=true
  54. # Configure logoutURL in the master config for console customization
  55. # See: https://docs.openshift.org/latest/install_config/web_console_customization.html#changing-the-logout-url
  56. #openshift_master_logout_url=http://example.com
  57. # Configure extensionScripts in the master config for console customization
  58. # See: https://docs.openshift.org/latest/install_config/web_console_customization.html#loading-custom-scripts-and-stylesheets
  59. #openshift_master_extension_scripts=['/path/to/script1.js','/path/to/script2.js']
  60. # Configure extensionStylesheets in the master config for console customization
  61. # See: https://docs.openshift.org/latest/install_config/web_console_customization.html#loading-custom-scripts-and-stylesheets
  62. #openshift_master_extension_stylesheets=['/path/to/stylesheet1.css','/path/to/stylesheet2.css']
  63. # Configure extensions in the master config for console customization
  64. # See: https://docs.openshift.org/latest/install_config/web_console_customization.html#serving-static-files
  65. #openshift_master_extensions=[{'name': 'images', 'sourceDirectory': '/path/to/my_images'}]
  66. # Configure extensions in the master config for console customization
  67. # See: https://docs.openshift.org/latest/install_config/web_console_customization.html#serving-static-files
  68. #openshift_master_oauth_template=/path/to/login-template.html
  69. # Configure imagePolicyConfig in the master config
  70. # See: https://godoc.org/github.com/openshift/origin/pkg/cmd/server/api#ImagePolicyConfig
  71. #openshift_master_image_policy_config={"maxImagesBulkImportedPerRepository": 3, "disableScheduledImport": true}
  72. # Configure master API rate limits for external clients
  73. #openshift_master_external_ratelimit_qps=200
  74. #openshift_master_external_ratelimit_burst=400
  75. # Configure master API rate limits for loopback clients
  76. #openshift_master_loopback_ratelimit_qps=300
  77. #openshift_master_loopback_ratelimit_burst=600
  78. # Docker Configuration
  79. # Add additional, insecure, and blocked registries to global docker configuration
  80. # For enterprise deployment types we ensure that registry.access.redhat.com is
  81. # included if you do not include it
  82. #openshift_docker_additional_registries=registry.example.com
  83. #openshift_docker_insecure_registries=registry.example.com
  84. #openshift_docker_blocked_registries=registry.hacker.com
  85. # Disable pushing to dockerhub
  86. #openshift_docker_disable_push_dockerhub=True
  87. # Use Docker inside a System Container. Note that this is a tech preview and should
  88. # not be used to upgrade!
  89. # The following options for docker are ignored:
  90. # - docker_version
  91. # - docker_upgrade
  92. # The following options must not be used
  93. # - openshift_docker_options
  94. #openshift_docker_use_system_container=False
  95. # Install and run cri-o along side docker
  96. # NOTE: This uses openshift_docker_systemcontainer_image_registry_override as it's override
  97. # just as container-engine does.
  98. #openshift_use_crio=False
  99. # Force the registry to use for the container-engine/crio system container. By default the registry
  100. # will be built off of the deployment type and ansible_distribution. Only
  101. # use this option if you are sure you know what you are doing!
  102. #openshift_docker_systemcontainer_image_registry_override="registry.example.com"
  103. #openshift_crio_systemcontainer_image_registry_override="registry.example.com"
  104. # Items added, as is, to end of /etc/sysconfig/docker OPTIONS
  105. # Default value: "--log-driver=journald"
  106. #openshift_docker_options="-l warn --ipv6=false"
  107. # Specify whether to run Docker daemon with SELinux enabled in containers. Default is True.
  108. # Uncomment below to disable; for example if your kernel does not support the
  109. # Docker overlay/overlay2 storage drivers with SELinux enabled.
  110. #openshift_docker_selinux_enabled=False
  111. # Specify exact version of Docker to configure or upgrade to.
  112. # Downgrades are not supported and will error out. Be careful when upgrading docker from < 1.10 to > 1.10.
  113. # docker_version="1.12.1"
  114. # Skip upgrading Docker during an OpenShift upgrade, leaves the current Docker version alone.
  115. # docker_upgrade=False
  116. # Specify exact version of etcd to configure or upgrade to.
  117. # etcd_version="3.1.0"
  118. # Enable etcd debug logging, defaults to false
  119. # etcd_debug=true
  120. # Set etcd log levels by package
  121. # etcd_log_package_levels="etcdserver=WARNING,security=DEBUG"
  122. # Upgrade Hooks
  123. #
  124. # Hooks are available to run custom tasks at various points during a cluster
  125. # upgrade. Each hook should point to a file with Ansible tasks defined. Suggest using
  126. # absolute paths, if not the path will be treated as relative to the file where the
  127. # hook is actually used.
  128. #
  129. # Tasks to run before each master is upgraded.
  130. # openshift_master_upgrade_pre_hook=/usr/share/custom/pre_master.yml
  131. #
  132. # Tasks to run to upgrade the master. These tasks run after the main openshift-ansible
  133. # upgrade steps, but before we restart system/services.
  134. # openshift_master_upgrade_hook=/usr/share/custom/master.yml
  135. #
  136. # Tasks to run after each master is upgraded and system/services have been restarted.
  137. # openshift_master_upgrade_post_hook=/usr/share/custom/post_master.yml
  138. # Alternate image format string, useful if you've got your own registry mirror
  139. # Configure this setting just on node or master
  140. #oreg_url_master=example.com/openshift3/ose-${component}:${version}
  141. #oreg_url_node=example.com/openshift3/ose-${component}:${version}
  142. # For setting the configuration globally
  143. #oreg_url=example.com/openshift3/ose-${component}:${version}
  144. # If oreg_url points to a registry other than registry.access.redhat.com we can
  145. # modify image streams to point at that registry by setting the following to true
  146. #openshift_examples_modify_imagestreams=true
  147. # OpenShift repository configuration
  148. #openshift_additional_repos=[{'id': 'ose-devel', 'name': 'ose-devel', 'baseurl': 'http://example.com/puddle/build/AtomicOpenShift/3.1/latest/RH7-RHOSE-3.0/$basearch/os', 'enabled': 1, 'gpgcheck': 0}]
  149. #openshift_repos_enable_testing=false
  150. # htpasswd auth
  151. openshift_master_identity_providers=[{'name': 'htpasswd_auth', 'login': 'true', 'challenge': 'true', 'kind': 'HTPasswdPasswordIdentityProvider', 'filename': '/etc/origin/master/htpasswd'}]
  152. # Defining htpasswd users
  153. #openshift_master_htpasswd_users={'user1': '<pre-hashed password>', 'user2': '<pre-hashed password>'}
  154. # or
  155. #openshift_master_htpasswd_file=<path to local pre-generated htpasswd file>
  156. # Allow all auth
  157. #openshift_master_identity_providers=[{'name': 'allow_all', 'login': 'true', 'challenge': 'true', 'kind': 'AllowAllPasswordIdentityProvider'}]
  158. # LDAP auth
  159. #openshift_master_identity_providers=[{'name': 'my_ldap_provider', 'challenge': 'true', 'login': 'true', 'kind': 'LDAPPasswordIdentityProvider', 'attributes': {'id': ['dn'], 'email': ['mail'], 'name': ['cn'], 'preferredUsername': ['uid']}, 'bindDN': '', 'bindPassword': '', 'ca': 'my-ldap-ca.crt', 'insecure': 'false', 'url': 'ldap://ldap.example.com:389/ou=users,dc=example,dc=com?uid'}]
  160. #
  161. # Configure LDAP CA certificate
  162. # Specify either the ASCII contents of the certificate or the path to
  163. # the local file that will be copied to the remote host. CA
  164. # certificate contents will be copied to master systems and saved
  165. # within /etc/origin/master/ with a filename matching the "ca" key set
  166. # within the LDAPPasswordIdentityProvider.
  167. #
  168. #openshift_master_ldap_ca=<ca text>
  169. # or
  170. #openshift_master_ldap_ca_file=<path to local ca file to use>
  171. # OpenID auth
  172. #openshift_master_identity_providers=[{"name": "openid_auth", "login": "true", "challenge": "false", "kind": "OpenIDIdentityProvider", "client_id": "my_client_id", "client_secret": "my_client_secret", "claims": {"id": ["sub"], "preferredUsername": ["preferred_username"], "name": ["name"], "email": ["email"]}, "urls": {"authorize": "https://myidp.example.com/oauth2/authorize", "token": "https://myidp.example.com/oauth2/token"}, "ca": "my-openid-ca-bundle.crt"}]
  173. #
  174. # Configure OpenID CA certificate
  175. # Specify either the ASCII contents of the certificate or the path to
  176. # the local file that will be copied to the remote host. CA
  177. # certificate contents will be copied to master systems and saved
  178. # within /etc/origin/master/ with a filename matching the "ca" key set
  179. # within the OpenIDIdentityProvider.
  180. #
  181. #openshift_master_openid_ca=<ca text>
  182. # or
  183. #openshift_master_openid_ca_file=<path to local ca file to use>
  184. # Request header auth
  185. #openshift_master_identity_providers=[{"name": "my_request_header_provider", "challenge": "true", "login": "true", "kind": "RequestHeaderIdentityProvider", "challengeURL": "https://www.example.com/challenging-proxy/oauth/authorize?${query}", "loginURL": "https://www.example.com/login-proxy/oauth/authorize?${query}", "clientCA": "my-request-header-ca.crt", "clientCommonNames": ["my-auth-proxy"], "headers": ["X-Remote-User", "SSO-User"], "emailHeaders": ["X-Remote-User-Email"], "nameHeaders": ["X-Remote-User-Display-Name"], "preferredUsernameHeaders": ["X-Remote-User-Login"]}]
  186. #
  187. # Configure request header CA certificate
  188. # Specify either the ASCII contents of the certificate or the path to
  189. # the local file that will be copied to the remote host. CA
  190. # certificate contents will be copied to master systems and saved
  191. # within /etc/origin/master/ with a filename matching the "clientCA"
  192. # key set within the RequestHeaderIdentityProvider.
  193. #
  194. #openshift_master_request_header_ca=<ca text>
  195. # or
  196. #openshift_master_request_header_ca_file=<path to local ca file to use>
  197. # CloudForms Management Engine (ManageIQ) App Install
  198. #
  199. # Enables installation of MIQ server. Recommended for dedicated
  200. # clusters only. See roles/openshift_cfme/README.md for instructions
  201. # and requirements.
  202. #openshift_cfme_install_app=False
  203. # Cloud Provider Configuration
  204. #
  205. # Note: You may make use of environment variables rather than store
  206. # sensitive configuration within the ansible inventory.
  207. # For example:
  208. #openshift_cloudprovider_aws_access_key="{{ lookup('env','AWS_ACCESS_KEY_ID') }}"
  209. #openshift_cloudprovider_aws_secret_key="{{ lookup('env','AWS_SECRET_ACCESS_KEY') }}"
  210. #
  211. # AWS
  212. #openshift_cloudprovider_kind=aws
  213. # Note: IAM profiles may be used instead of storing API credentials on disk.
  214. #openshift_cloudprovider_aws_access_key=aws_access_key_id
  215. #openshift_cloudprovider_aws_secret_key=aws_secret_access_key
  216. #
  217. # Openstack
  218. #openshift_cloudprovider_kind=openstack
  219. #openshift_cloudprovider_openstack_auth_url=http://openstack.example.com:35357/v2.0/
  220. #openshift_cloudprovider_openstack_username=username
  221. #openshift_cloudprovider_openstack_password=password
  222. #openshift_cloudprovider_openstack_domain_id=domain_id
  223. #openshift_cloudprovider_openstack_domain_name=domain_name
  224. #openshift_cloudprovider_openstack_tenant_id=tenant_id
  225. #openshift_cloudprovider_openstack_tenant_name=tenant_name
  226. #openshift_cloudprovider_openstack_region=region
  227. #openshift_cloudprovider_openstack_lb_subnet_id=subnet_id
  228. #
  229. # GCE
  230. #openshift_cloudprovider_kind=gce
  231. # Project Configuration
  232. #osm_project_request_message=''
  233. #osm_project_request_template=''
  234. #osm_mcs_allocator_range='s0:/2'
  235. #osm_mcs_labels_per_project=5
  236. #osm_uid_allocator_range='1000000000-1999999999/10000'
  237. # Configure additional projects
  238. #openshift_additional_projects={'my-project': {'default_node_selector': 'label=value'}}
  239. # Enable cockpit
  240. #osm_use_cockpit=true
  241. #
  242. # Set cockpit plugins
  243. #osm_cockpit_plugins=['cockpit-kubernetes']
  244. # Native high availability cluster method with optional load balancer.
  245. # If no lb group is defined, the installer assumes that a load balancer has
  246. # been preconfigured. For installation the value of
  247. # openshift_master_cluster_hostname must resolve to the load balancer
  248. # or to one or all of the masters defined in the inventory if no load
  249. # balancer is present.
  250. #openshift_master_cluster_method=native
  251. #openshift_master_cluster_hostname=openshift-ansible.test.example.com
  252. #openshift_master_cluster_public_hostname=openshift-ansible.test.example.com
  253. # Pacemaker high availability cluster method.
  254. # Pacemaker HA environment must be able to self provision the
  255. # configured VIP. For installation openshift_master_cluster_hostname
  256. # must resolve to the configured VIP.
  257. #openshift_master_cluster_method=pacemaker
  258. #openshift_master_cluster_password=openshift_cluster
  259. #openshift_master_cluster_vip=192.168.133.25
  260. #openshift_master_cluster_public_vip=192.168.133.25
  261. #openshift_master_cluster_hostname=openshift-ansible.test.example.com
  262. #openshift_master_cluster_public_hostname=openshift-ansible.test.example.com
  263. # Override the default controller lease ttl
  264. #osm_controller_lease_ttl=30
  265. # Configure controller arguments
  266. #osm_controller_args={'resource-quota-sync-period': ['10s']}
  267. # Configure api server arguments
  268. #osm_api_server_args={'max-requests-inflight': ['400']}
  269. # default subdomain to use for exposed routes
  270. #openshift_master_default_subdomain=apps.test.example.com
  271. # additional cors origins
  272. #osm_custom_cors_origins=['foo.example.com', 'bar.example.com']
  273. # default project node selector
  274. #osm_default_node_selector='region=primary'
  275. # Override the default pod eviction timeout
  276. #openshift_master_pod_eviction_timeout=5m
  277. # Override the default oauth tokenConfig settings:
  278. # openshift_master_access_token_max_seconds=86400
  279. # openshift_master_auth_token_max_seconds=500
  280. # Override master servingInfo.maxRequestsInFlight
  281. #openshift_master_max_requests_inflight=500
  282. # Override master and node servingInfo.minTLSVersion and .cipherSuites
  283. # valid TLS versions are VersionTLS10, VersionTLS11, VersionTLS12
  284. # example cipher suites override, valid cipher suites are https://golang.org/pkg/crypto/tls/#pkg-constants
  285. #openshift_master_min_tls_version=VersionTLS12
  286. #openshift_master_cipher_suites=['TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256', '...']
  287. #
  288. #openshift_node_min_tls_version=VersionTLS12
  289. #openshift_node_cipher_suites=['TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256', '...']
  290. # default storage plugin dependencies to install, by default the ceph and
  291. # glusterfs plugin dependencies will be installed, if available.
  292. #osn_storage_plugin_deps=['ceph','glusterfs']
  293. # OpenShift Router Options
  294. #
  295. # An OpenShift router will be created during install if there are
  296. # nodes present with labels matching the default router selector,
  297. # "region=infra". Set openshift_node_labels per node as needed in
  298. # order to label nodes.
  299. #
  300. # Example:
  301. # [nodes]
  302. # node.example.com openshift_node_labels="{'region': 'infra'}"
  303. #
  304. # Router selector (optional)
  305. # Router will only be created if nodes matching this label are present.
  306. # Default value: 'region=infra'
  307. #openshift_hosted_router_selector='region=infra'
  308. #
  309. # Router replicas (optional)
  310. # Unless specified, openshift-ansible will calculate the replica count
  311. # based on the number of nodes matching the openshift router selector.
  312. #openshift_hosted_router_replicas=2
  313. #
  314. # Router force subdomain (optional)
  315. # A router path format to force on all routes used by this router
  316. # (will ignore the route host value)
  317. #openshift_hosted_router_force_subdomain='${name}-${namespace}.apps.example.com'
  318. #
  319. # Router certificate (optional)
  320. # Provide local certificate paths which will be configured as the
  321. # router's default certificate.
  322. #openshift_hosted_router_certificate={"certfile": "/path/to/router.crt", "keyfile": "/path/to/router.key", "cafile": "/path/to/router-ca.crt"}
  323. #
  324. # Manage the OpenShift Router (optional)
  325. #openshift_hosted_manage_router=true
  326. #
  327. # Router sharding support has been added and can be achieved by supplying the correct
  328. # data to the inventory. The variable to house the data is openshift_hosted_routers
  329. # and is in the form of a list. If no data is passed then a default router will be
  330. # created. There are multiple combinations of router sharding. The one described
  331. # below supports routers on separate nodes.
  332. #openshift_hosted_routers:
  333. #- name: router1
  334. # stats_port: 1936
  335. # ports:
  336. # - 80:80
  337. # - 443:443
  338. # replicas: 1
  339. # namespace: default
  340. # serviceaccount: router
  341. # selector: type=router1
  342. # images: "openshift3/ose-${component}:${version}"
  343. # edits: []
  344. # certificate:
  345. # certfile: /path/to/certificate/abc.crt
  346. # keyfile: /path/to/certificate/abc.key
  347. # cafile: /path/to/certificate/ca.crt
  348. #- name: router2
  349. # stats_port: 1936
  350. # ports:
  351. # - 80:80
  352. # - 443:443
  353. # replicas: 1
  354. # namespace: default
  355. # serviceaccount: router
  356. # selector: type=router2
  357. # images: "openshift3/ose-${component}:${version}"
  358. # certificate:
  359. # certfile: /path/to/certificate/xyz.crt
  360. # keyfile: /path/to/certificate/xyz.key
  361. # cafile: /path/to/certificate/ca.crt
  362. # edits:
  363. # # ROUTE_LABELS sets the router to listen for routes
  364. # # tagged with the provided values
  365. # - key: spec.template.spec.containers[0].env
  366. # value:
  367. # name: ROUTE_LABELS
  368. # value: "route=external"
  369. # action: append
  370. # OpenShift Registry Console Options
  371. # Override the console image prefix for enterprise deployments, not used in origin
  372. # default is "registry.access.redhat.com/openshift3/" and the image appended is "registry-console"
  373. #openshift_cockpit_deployer_prefix=registry.example.com/myrepo/
  374. # Override image version, defaults to latest for origin, matches the product version for enterprise
  375. #openshift_cockpit_deployer_version=1.4.1
  376. # Openshift Registry Options
  377. #
  378. # An OpenShift registry will be created during install if there are
  379. # nodes present with labels matching the default registry selector,
  380. # "region=infra". Set openshift_node_labels per node as needed in
  381. # order to label nodes.
  382. #
  383. # Example:
  384. # [nodes]
  385. # node.example.com openshift_node_labels="{'region': 'infra'}"
  386. #
  387. # Registry selector (optional)
  388. # Registry will only be created if nodes matching this label are present.
  389. # Default value: 'region=infra'
  390. #openshift_hosted_registry_selector='region=infra'
  391. #
  392. # Registry replicas (optional)
  393. # Unless specified, openshift-ansible will calculate the replica count
  394. # based on the number of nodes matching the openshift registry selector.
  395. #openshift_hosted_registry_replicas=2
  396. #
  397. # Validity of the auto-generated certificate in days (optional)
  398. #openshift_hosted_registry_cert_expire_days=730
  399. #
  400. # Manage the OpenShift Registry (optional)
  401. #openshift_hosted_manage_registry=true
  402. # Registry Storage Options
  403. #
  404. # NFS Host Group
  405. # An NFS volume will be created with path "nfs_directory/volume_name"
  406. # on the host within the [nfs] host group. For example, the volume
  407. # path using these options would be "/exports/registry"
  408. #openshift_hosted_registry_storage_kind=nfs
  409. #openshift_hosted_registry_storage_access_modes=['ReadWriteMany']
  410. #openshift_hosted_registry_storage_nfs_directory=/exports
  411. #openshift_hosted_registry_storage_nfs_options='*(rw,root_squash)'
  412. #openshift_hosted_registry_storage_volume_name=registry
  413. #openshift_hosted_registry_storage_volume_size=10Gi
  414. #
  415. # External NFS Host
  416. # NFS volume must already exist with path "nfs_directory/_volume_name" on
  417. # the storage_host. For example, the remote volume path using these
  418. # options would be "nfs.example.com:/exports/registry"
  419. #openshift_hosted_registry_storage_kind=nfs
  420. #openshift_hosted_registry_storage_access_modes=['ReadWriteMany']
  421. #openshift_hosted_registry_storage_host=nfs.example.com
  422. #openshift_hosted_registry_storage_nfs_directory=/exports
  423. #openshift_hosted_registry_storage_volume_name=registry
  424. #openshift_hosted_registry_storage_volume_size=10Gi
  425. #
  426. # Openstack
  427. # Volume must already exist.
  428. #openshift_hosted_registry_storage_kind=openstack
  429. #openshift_hosted_registry_storage_access_modes=['ReadWriteOnce']
  430. #openshift_hosted_registry_storage_openstack_filesystem=ext4
  431. #openshift_hosted_registry_storage_openstack_volumeID=3a650b4f-c8c5-4e0a-8ca5-eaee11f16c57
  432. #openshift_hosted_registry_storage_volume_size=10Gi
  433. #
  434. # AWS S3
  435. #
  436. # S3 bucket must already exist.
  437. #openshift_hosted_registry_storage_kind=object
  438. #openshift_hosted_registry_storage_provider=s3
  439. #openshift_hosted_registry_storage_s3_encrypt=false
  440. #openshift_hosted_registry_storage_s3_kmskeyid=aws_kms_key_id
  441. #openshift_hosted_registry_storage_s3_accesskey=aws_access_key_id
  442. #openshift_hosted_registry_storage_s3_secretkey=aws_secret_access_key
  443. #openshift_hosted_registry_storage_s3_bucket=bucket_name
  444. #openshift_hosted_registry_storage_s3_region=bucket_region
  445. #openshift_hosted_registry_storage_s3_chunksize=26214400
  446. #openshift_hosted_registry_storage_s3_rootdirectory=/registry
  447. #openshift_hosted_registry_pullthrough=true
  448. #openshift_hosted_registry_acceptschema2=true
  449. #openshift_hosted_registry_enforcequota=true
  450. #
  451. # Any S3 service (Minio, ExoScale, ...): Basically the same as above
  452. # but with regionendpoint configured
  453. # S3 bucket must already exist.
  454. #openshift_hosted_registry_storage_kind=object
  455. #openshift_hosted_registry_storage_provider=s3
  456. #openshift_hosted_registry_storage_s3_accesskey=access_key_id
  457. #openshift_hosted_registry_storage_s3_secretkey=secret_access_key
  458. #openshift_hosted_registry_storage_s3_regionendpoint=https://myendpoint.example.com/
  459. #openshift_hosted_registry_storage_s3_bucket=bucket_name
  460. #openshift_hosted_registry_storage_s3_region=bucket_region
  461. #openshift_hosted_registry_storage_s3_chunksize=26214400
  462. #openshift_hosted_registry_storage_s3_rootdirectory=/registry
  463. #openshift_hosted_registry_pullthrough=true
  464. #openshift_hosted_registry_acceptschema2=true
  465. #openshift_hosted_registry_enforcequota=true
  466. #
  467. # Additional CloudFront Options. When using CloudFront all three
  468. # of the followingg variables must be defined.
  469. #openshift_hosted_registry_storage_s3_cloudfront_baseurl=https://myendpoint.cloudfront.net/
  470. #openshift_hosted_registry_storage_s3_cloudfront_privatekeyfile=/full/path/to/secret.pem
  471. #openshift_hosted_registry_storage_s3_cloudfront_keypairid=yourpairid
  472. # Metrics deployment
  473. # See: https://docs.openshift.com/enterprise/latest/install_config/cluster_metrics.html
  474. #
  475. # By default metrics are not automatically deployed, set this to enable them
  476. # openshift_hosted_metrics_deploy=true
  477. #
  478. # Storage Options
  479. # If openshift_hosted_metrics_storage_kind is unset then metrics will be stored
  480. # in an EmptyDir volume and will be deleted when the cassandra pod terminates.
  481. # Storage options A & B currently support only one cassandra pod which is
  482. # generally enough for up to 1000 pods. Additional volumes can be created
  483. # manually after the fact and metrics scaled per the docs.
  484. #
  485. # Option A - NFS Host Group
  486. # An NFS volume will be created with path "nfs_directory/volume_name"
  487. # on the host within the [nfs] host group. For example, the volume
  488. # path using these options would be "/exports/metrics"
  489. #openshift_hosted_metrics_storage_kind=nfs
  490. #openshift_hosted_metrics_storage_access_modes=['ReadWriteOnce']
  491. #openshift_hosted_metrics_storage_nfs_directory=/exports
  492. #openshift_hosted_metrics_storage_nfs_options='*(rw,root_squash)'
  493. #openshift_hosted_metrics_storage_volume_name=metrics
  494. #openshift_hosted_metrics_storage_volume_size=10Gi
  495. #openshift_hosted_metrics_storage_labels={'storage': 'metrics'}
  496. #
  497. # Option B - External NFS Host
  498. # NFS volume must already exist with path "nfs_directory/_volume_name" on
  499. # the storage_host. For example, the remote volume path using these
  500. # options would be "nfs.example.com:/exports/metrics"
  501. #openshift_hosted_metrics_storage_kind=nfs
  502. #openshift_hosted_metrics_storage_access_modes=['ReadWriteOnce']
  503. #openshift_hosted_metrics_storage_host=nfs.example.com
  504. #openshift_hosted_metrics_storage_nfs_directory=/exports
  505. #openshift_hosted_metrics_storage_volume_name=metrics
  506. #openshift_hosted_metrics_storage_volume_size=10Gi
  507. #openshift_hosted_metrics_storage_labels={'storage': 'metrics'}
  508. #
  509. # Option C - Dynamic -- If openshift supports dynamic volume provisioning for
  510. # your cloud platform use this.
  511. #openshift_hosted_metrics_storage_kind=dynamic
  512. #
  513. # Other Metrics Options -- Common items you may wish to reconfigure, for the complete
  514. # list of options please see roles/openshift_metrics/README.md
  515. #
  516. # Override metricsPublicURL in the master config for cluster metrics
  517. # Defaults to https://hawkular-metrics.{{openshift_master_default_subdomain}}/hawkular/metrics
  518. # Currently, you may only alter the hostname portion of the url, alterting the
  519. # `/hawkular/metrics` path will break installation of metrics.
  520. #openshift_hosted_metrics_public_url=https://hawkular-metrics.example.com/hawkular/metrics
  521. # Configure the prefix and version for the component images
  522. #openshift_hosted_metrics_deployer_prefix=registry.example.com:8888/openshift3/
  523. #openshift_hosted_metrics_deployer_version=3.6.0
  524. #
  525. # StorageClass
  526. # openshift_storageclass_name=gp2
  527. # openshift_storageclass_parameters={'type': 'gp2', 'encrypted': 'false'}
  528. #
  529. # Logging deployment
  530. #
  531. # Currently logging deployment is disabled by default, enable it by setting this
  532. #openshift_hosted_logging_deploy=true
  533. #
  534. # Logging storage config
  535. # Option A - NFS Host Group
  536. # An NFS volume will be created with path "nfs_directory/volume_name"
  537. # on the host within the [nfs] host group. For example, the volume
  538. # path using these options would be "/exports/logging"
  539. #openshift_hosted_logging_storage_kind=nfs
  540. #openshift_hosted_logging_storage_access_modes=['ReadWriteOnce']
  541. #openshift_hosted_logging_storage_nfs_directory=/exports
  542. #openshift_hosted_logging_storage_nfs_options='*(rw,root_squash)'
  543. #openshift_hosted_logging_storage_volume_name=logging
  544. #openshift_hosted_logging_storage_volume_size=10Gi
  545. #openshift_hosted_logging_storage_labels={'storage': 'logging'}
  546. #
  547. # Option B - External NFS Host
  548. # NFS volume must already exist with path "nfs_directory/_volume_name" on
  549. # the storage_host. For example, the remote volume path using these
  550. # options would be "nfs.example.com:/exports/logging"
  551. #openshift_hosted_logging_storage_kind=nfs
  552. #openshift_hosted_logging_storage_access_modes=['ReadWriteOnce']
  553. #openshift_hosted_logging_storage_host=nfs.example.com
  554. #openshift_hosted_logging_storage_nfs_directory=/exports
  555. #openshift_hosted_logging_storage_volume_name=logging
  556. #openshift_hosted_logging_storage_volume_size=10Gi
  557. #openshift_hosted_logging_storage_labels={'storage': 'logging'}
  558. #
  559. # Option C - Dynamic -- If openshift supports dynamic volume provisioning for
  560. # your cloud platform use this.
  561. #openshift_hosted_logging_storage_kind=dynamic
  562. #
  563. # Option D - none -- Logging will use emptydir volumes which are destroyed when
  564. # pods are deleted
  565. #
  566. # Other Logging Options -- Common items you may wish to reconfigure, for the complete
  567. # list of options please see roles/openshift_logging/README.md
  568. #
  569. # Configure loggingPublicURL in the master config for aggregate logging, defaults
  570. # to kibana.{{ openshift_master_default_subdomain }}
  571. #openshift_hosted_logging_hostname=logging.apps.example.com
  572. # Configure the number of elastic search nodes, unless you're using dynamic provisioning
  573. # this value must be 1
  574. #openshift_hosted_logging_elasticsearch_cluster_size=1
  575. # Configure the prefix and version for the component images
  576. #openshift_hosted_logging_deployer_prefix=registry.example.com:8888/openshift3/
  577. #openshift_hosted_logging_deployer_version=3.6.0
  578. # Configure the multi-tenant SDN plugin (default is 'redhat/openshift-ovs-subnet')
  579. # os_sdn_network_plugin_name='redhat/openshift-ovs-multitenant'
  580. # Disable the OpenShift SDN plugin
  581. # openshift_use_openshift_sdn=False
  582. # Configure SDN cluster network and kubernetes service CIDR blocks. These
  583. # network blocks should be private and should not conflict with network blocks
  584. # in your infrastructure that pods may require access to. Can not be changed
  585. # after deployment.
  586. #
  587. # WARNING : Do not pick subnets that overlap with the default Docker bridge subnet of
  588. # 172.17.0.0/16. Your installation will fail and/or your configuration change will
  589. # cause the Pod SDN or Cluster SDN to fail.
  590. #
  591. # WORKAROUND : If you must use an overlapping subnet, you can configure a non conflicting
  592. # docker0 CIDR range by adding '--bip=192.168.2.1/24' to DOCKER_NETWORK_OPTIONS
  593. # environment variable located in /etc/sysconfig/docker-network.
  594. #osm_cluster_network_cidr=10.128.0.0/14
  595. #openshift_portal_net=172.30.0.0/16
  596. # ExternalIPNetworkCIDRs controls what values are acceptable for the
  597. # service external IP field. If empty, no externalIP may be set. It
  598. # may contain a list of CIDRs which are checked for access. If a CIDR
  599. # is prefixed with !, IPs in that CIDR will be rejected. Rejections
  600. # will be applied first, then the IP checked against one of the
  601. # allowed CIDRs. You should ensure this range does not overlap with
  602. # your nodes, pods, or service CIDRs for security reasons.
  603. #openshift_master_external_ip_network_cidrs=['0.0.0.0/0']
  604. # IngressIPNetworkCIDR controls the range to assign ingress IPs from for
  605. # services of type LoadBalancer on bare metal. If empty, ingress IPs will not
  606. # be assigned. It may contain a single CIDR that will be allocated from. For
  607. # security reasons, you should ensure that this range does not overlap with
  608. # the CIDRs reserved for external IPs, nodes, pods, or services.
  609. #openshift_master_ingress_ip_network_cidr=172.46.0.0/16
  610. # Configure number of bits to allocate to each host’s subnet e.g. 9
  611. # would mean a /23 network on the host.
  612. #osm_host_subnet_length=9
  613. # Configure master API and console ports.
  614. #openshift_master_api_port=8443
  615. #openshift_master_console_port=8443
  616. # set RPM version for debugging purposes
  617. #openshift_pkg_version=-3.1.0.0
  618. # Configure custom ca certificate
  619. #openshift_master_ca_certificate={'certfile': '/path/to/ca.crt', 'keyfile': '/path/to/ca.key'}
  620. #
  621. # NOTE: CA certificate will not be replaced with existing clusters.
  622. # This option may only be specified when creating a new cluster or
  623. # when redeploying cluster certificates with the redeploy-certificates
  624. # playbook.
  625. # Configure custom named certificates (SNI certificates)
  626. #
  627. # https://docs.openshift.com/enterprise/latest/install_config/certificate_customization.html
  628. #
  629. # NOTE: openshift_master_named_certificates is cached on masters and is an
  630. # additive fact, meaning that each run with a different set of certificates
  631. # will add the newly provided certificates to the cached set of certificates.
  632. #
  633. # An optional CA may be specified for each named certificate. CAs will
  634. # be added to the OpenShift CA bundle which allows for the named
  635. # certificate to be served for internal cluster communication.
  636. #
  637. # If you would like openshift_master_named_certificates to be overwritten with
  638. # the provided value, specify openshift_master_overwrite_named_certificates.
  639. #openshift_master_overwrite_named_certificates=true
  640. #
  641. # Provide local certificate paths which will be deployed to masters
  642. #openshift_master_named_certificates=[{"certfile": "/path/to/custom1.crt", "keyfile": "/path/to/custom1.key", "cafile": "/path/to/custom-ca1.crt"}]
  643. #
  644. # Detected names may be overridden by specifying the "names" key
  645. #openshift_master_named_certificates=[{"certfile": "/path/to/custom1.crt", "keyfile": "/path/to/custom1.key", "names": ["public-master-host.com"], "cafile": "/path/to/custom-ca1.crt"}]
  646. # Session options
  647. #openshift_master_session_name=ssn
  648. #openshift_master_session_max_seconds=3600
  649. # An authentication and encryption secret will be generated if secrets
  650. # are not provided. If provided, openshift_master_session_auth_secrets
  651. # and openshift_master_encryption_secrets must be equal length.
  652. #
  653. # Signing secrets, used to authenticate sessions using
  654. # HMAC. Recommended to use secrets with 32 or 64 bytes.
  655. #openshift_master_session_auth_secrets=['DONT+USE+THIS+SECRET+b4NV+pmZNSO']
  656. #
  657. # Encrypting secrets, used to encrypt sessions. Must be 16, 24, or 32
  658. # characters long, to select AES-128, AES-192, or AES-256.
  659. #openshift_master_session_encryption_secrets=['DONT+USE+THIS+SECRET+b4NV+pmZNSO']
  660. # configure how often node iptables rules are refreshed
  661. #openshift_node_iptables_sync_period=5s
  662. # Configure nodeIP in the node config
  663. # This is needed in cases where node traffic is desired to go over an
  664. # interface other than the default network interface.
  665. #openshift_set_node_ip=True
  666. # Force setting of system hostname when configuring OpenShift
  667. # This works around issues related to installations that do not have valid dns
  668. # entries for the interfaces attached to the host.
  669. #openshift_set_hostname=True
  670. # Configure dnsIP in the node config
  671. #openshift_dns_ip=172.30.0.1
  672. # Configure node kubelet arguments. pods-per-core is valid in OpenShift Origin 1.3 or OpenShift Container Platform 3.3 and later.
  673. #openshift_node_kubelet_args={'pods-per-core': ['10'], 'max-pods': ['250'], 'image-gc-high-threshold': ['85'], 'image-gc-low-threshold': ['80']}
  674. # Configure logrotate scripts
  675. # See: https://github.com/nickhammond/ansible-logrotate
  676. #logrotate_scripts=[{"name": "syslog", "path": "/var/log/cron\n/var/log/maillog\n/var/log/messages\n/var/log/secure\n/var/log/spooler\n", "options": ["daily", "rotate 7", "compress", "sharedscripts", "missingok"], "scripts": {"postrotate": "/bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true"}}]
  677. # openshift-ansible will wait indefinitely for your input when it detects that the
  678. # value of openshift_hostname resolves to an IP address not bound to any local
  679. # interfaces. This mis-configuration is problematic for any pod leveraging host
  680. # networking and liveness or readiness probes.
  681. # Setting this variable to true will override that check.
  682. #openshift_override_hostname_check=true
  683. # Configure dnsmasq for cluster dns, switch the host's local resolver to use dnsmasq
  684. # and configure node's dnsIP to point at the node's local dnsmasq instance. Defaults
  685. # to True for Origin 1.2 and OSE 3.2. False for 1.1 / 3.1 installs, this cannot
  686. # be used with 1.0 and 3.0.
  687. #openshift_use_dnsmasq=False
  688. # Define an additional dnsmasq.conf file to deploy to /etc/dnsmasq.d/openshift-ansible.conf
  689. # This is useful for POC environments where DNS may not actually be available yet or to set
  690. # options like 'strict-order' to alter dnsmasq configuration.
  691. #openshift_node_dnsmasq_additional_config_file=/home/bob/ose-dnsmasq.conf
  692. # Global Proxy Configuration
  693. # These options configure HTTP_PROXY, HTTPS_PROXY, and NOPROXY environment
  694. # variables for docker and master services.
  695. #
  696. # Hosts in the openshift_no_proxy list will NOT use any globally
  697. # configured HTTP(S)_PROXYs. openshift_no_proxy accepts domains
  698. # (.example.com), hosts (example.com), and IP addresses.
  699. #openshift_http_proxy=http://USER:PASSWORD@IPADDR:PORT
  700. #openshift_https_proxy=https://USER:PASSWORD@IPADDR:PORT
  701. #openshift_no_proxy='.hosts.example.com,some-host.com'
  702. #
  703. # Most environments don't require a proxy between openshift masters, nodes, and
  704. # etcd hosts. So automatically add those hostnames to the openshift_no_proxy list.
  705. # If all of your hosts share a common domain you may wish to disable this and
  706. # specify that domain above instead.
  707. #
  708. # For example, having hosts with FQDNs: m1.ex.com, n1.ex.com, and
  709. # n2.ex.com, one would simply add '.ex.com' to the openshift_no_proxy
  710. # variable (above) and set this value to False
  711. #openshift_generate_no_proxy_hosts=True
  712. #
  713. # These options configure the BuildDefaults admission controller which injects
  714. # configuration into Builds. Proxy related values will default to the global proxy
  715. # config values. You only need to set these if they differ from the global proxy settings.
  716. # See BuildDefaults documentation at
  717. # https://docs.openshift.org/latest/admin_guide/build_defaults_overrides.html
  718. #openshift_builddefaults_http_proxy=http://USER:PASSWORD@HOST:PORT
  719. #openshift_builddefaults_https_proxy=https://USER:PASSWORD@HOST:PORT
  720. #openshift_builddefaults_no_proxy=mycorp.com
  721. #openshift_builddefaults_git_http_proxy=http://USER:PASSWORD@HOST:PORT
  722. #openshift_builddefaults_git_https_proxy=https://USER:PASSWORD@HOST:PORT
  723. #openshift_builddefaults_git_no_proxy=mycorp.com
  724. #openshift_builddefaults_image_labels=[{'name':'imagelabelname1','value':'imagelabelvalue1'}]
  725. #openshift_builddefaults_nodeselectors={'nodelabel1':'nodelabelvalue1'}
  726. #openshift_builddefaults_annotations={'annotationkey1':'annotationvalue1'}
  727. #openshift_builddefaults_resources_requests_cpu=100m
  728. #openshift_builddefaults_resources_requests_memory=256Mi
  729. #openshift_builddefaults_resources_limits_cpu=1000m
  730. #openshift_builddefaults_resources_limits_memory=512Mi
  731. # Or you may optionally define your own build defaults configuration serialized as json
  732. #openshift_builddefaults_json='{"BuildDefaults":{"configuration":{"apiVersion":"v1","env":[{"name":"HTTP_PROXY","value":"http://proxy.example.com.redhat.com:3128"},{"name":"NO_PROXY","value":"ose3-master.example.com"}],"gitHTTPProxy":"http://proxy.example.com:3128","gitNoProxy":"ose3-master.example.com","kind":"BuildDefaultsConfig"}}}'
  733. # These options configure the BuildOverrides admission controller which injects
  734. # configuration into Builds.
  735. # See BuildOverrides documentation at
  736. # https://docs.openshift.org/latest/admin_guide/build_defaults_overrides.html
  737. #openshift_buildoverrides_force_pull=true
  738. #openshift_buildoverrides_image_labels=[{'name':'imagelabelname1','value':'imagelabelvalue1'}]
  739. #openshift_buildoverrides_nodeselectors={'nodelabel1':'nodelabelvalue1'}
  740. #openshift_buildoverrides_annotations={'annotationkey1':'annotationvalue1'}
  741. # Or you may optionally define your own build overrides configuration serialized as json
  742. #openshift_buildoverrides_json='{"BuildOverrides":{"configuration":{"apiVersion":"v1","kind":"BuildDefaultsConfig","forcePull":"true"}}}'
  743. # Enable template service broker by specifying one of more namespaces whose
  744. # templates will be served by the broker
  745. #openshift_template_service_broker_namespaces=['openshift']
  746. # masterConfig.volumeConfig.dynamicProvisioningEnabled, configurable as of 1.2/3.2, enabled by default
  747. #openshift_master_dynamic_provisioning_enabled=False
  748. # Admission plugin config
  749. #openshift_master_admission_plugin_config={"ProjectRequestLimit":{"configuration":{"apiVersion":"v1","kind":"ProjectRequestLimitConfig","limits":[{"selector":{"admin":"true"}},{"maxProjects":"1"}]}},"PodNodeConstraints":{"configuration":{"apiVersion":"v1","kind":"PodNodeConstraintsConfig"}}}
  750. # Configure usage of openshift_clock role.
  751. #openshift_clock_enabled=true
  752. # OpenShift Per-Service Environment Variables
  753. # Environment variables are added to /etc/sysconfig files for
  754. # each OpenShift service: node, master (api and controllers).
  755. # API and controllers environment variables are merged in single
  756. # master environments.
  757. #openshift_master_api_env_vars={"ENABLE_HTTP2": "true"}
  758. #openshift_master_controllers_env_vars={"ENABLE_HTTP2": "true"}
  759. #openshift_node_env_vars={"ENABLE_HTTP2": "true"}
  760. # Enable API service auditing, available as of 3.2
  761. #openshift_master_audit_config={"enabled": true}
  762. #
  763. # In case you want more advanced setup for the auditlog you can
  764. # use this line.
  765. # The directory in "auditFilePath" will be created if it's not
  766. # exist
  767. #openshift_master_audit_config={"enabled": true, "auditFilePath": "/var/log/openpaas-oscp-audit/openpaas-oscp-audit.log", "maximumFileRetentionDays": 14, "maximumFileSizeMegabytes": 500, "maximumRetainedFiles": 5}
  768. # Validity of the auto-generated OpenShift certificates in days.
  769. # See also openshift_hosted_registry_cert_expire_days above.
  770. #
  771. #openshift_ca_cert_expire_days=1825
  772. #openshift_node_cert_expire_days=730
  773. #openshift_master_cert_expire_days=730
  774. # Validity of the auto-generated external etcd certificates in days.
  775. # Controls validity for etcd CA, peer, server and client certificates.
  776. #
  777. #etcd_ca_default_days=1825
  778. #
  779. # ServiceAccountConfig:LimitSecretRefences rejects pods that reference secrets their service accounts do not reference
  780. # openshift_master_saconfig_limitsecretreferences=false
  781. # Upgrade Control
  782. #
  783. # By default nodes are upgraded in a serial manner one at a time and all failures
  784. # are fatal, one set of variables for normal nodes, one set of variables for
  785. # nodes that are part of control plane as the number of hosts may be different
  786. # in those two groups.
  787. #openshift_upgrade_nodes_serial=1
  788. #openshift_upgrade_nodes_max_fail_percentage=0
  789. #openshift_upgrade_control_plane_nodes_serial=1
  790. #openshift_upgrade_control_plane_nodes_max_fail_percentage=0
  791. #
  792. # You can specify the number of nodes to upgrade at once. We do not currently
  793. # attempt to verify that you have capacity to drain this many nodes at once
  794. # so please be careful when specifying these values. You should also verify that
  795. # the expected number of nodes are all schedulable and ready before starting an
  796. # upgrade. If it's not possible to drain the requested nodes the upgrade will
  797. # stall indefinitely until the drain is successful.
  798. #
  799. # If you're upgrading more than one node at a time you can specify the maximum
  800. # percentage of failure within the batch before the upgrade is aborted. Any
  801. # nodes that do fail are ignored for the rest of the playbook run and you should
  802. # take care to investigate the failure and return the node to service so that
  803. # your cluster.
  804. #
  805. # The percentage must exceed the value, this would fail on two failures
  806. # openshift_upgrade_nodes_serial=4 openshift_upgrade_nodes_max_fail_percentage=49
  807. # where as this would not
  808. # openshift_upgrade_nodes_serial=4 openshift_upgrade_nodes_max_fail_percentage=50
  809. #
  810. # Multiple data migrations take place and if they fail they will fail the upgrade
  811. # You may wish to disable these or make them non fatal
  812. #
  813. # openshift_upgrade_pre_storage_migration_enabled=true
  814. # openshift_upgrade_pre_storage_migration_fatal==true
  815. # openshift_upgrade_post_storage_migration_enabled=true
  816. # openshift_upgrade_post_storage_migration_fatal==false
  817. # host group for masters
  818. [masters]
  819. ose3-master[1:3]-ansible.test.example.com
  820. [etcd]
  821. ose3-etcd[1:3]-ansible.test.example.com
  822. # NOTE: Containerized load balancer hosts are not yet supported, if using a global
  823. # containerized=true host variable we must set to false.
  824. [lb]
  825. ose3-lb-ansible.test.example.com containerized=false
  826. # NOTE: Currently we require that masters be part of the SDN which requires that they also be nodes
  827. # However, in order to ensure that your masters are not burdened with running pods you should
  828. # make them unschedulable by adding openshift_schedulable=False any node that's also a master.
  829. [nodes]
  830. ose3-master[1:3]-ansible.test.example.com
  831. ose3-node[1:2]-ansible.test.example.com openshift_node_labels="{'region': 'primary', 'zone': 'default'}"