configmap.yaml.j2 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667
  1. # More info about the template: https://docs.openstack.org/kuryr-kubernetes/latest/installation/containerized.html#generating-kuryr-resource-definitions-for-kubernetes
  2. apiVersion: v1
  3. kind: ConfigMap
  4. metadata:
  5. name: kuryr-config
  6. namespace: {{ kuryr_namespace }}
  7. data:
  8. kuryr.conf: |+
  9. [DEFAULT]
  10. #
  11. # From kuryr_kubernetes
  12. #
  13. # Directory for Kuryr vif binding executables. (string value)
  14. #bindir = /usr/libexec/kuryr
  15. # Neutron subnetpool name will be prefixed by this. (string value)
  16. #subnetpool_name_prefix = kuryrPool
  17. # baremetal or nested-containers are the supported values. (string value)
  18. #deployment_type = baremetal
  19. # If set to true, the logging level will be set to DEBUG instead of the default
  20. # INFO level. (boolean value)
  21. # Note: This option can be changed without restarting.
  22. #debug = false
  23. # The name of a logging configuration file. This file is appended to any
  24. # existing logging configuration files. For details about logging configuration
  25. # files, see the Python logging module documentation. Note that when logging
  26. # configuration files are used then all logging configuration is set in the
  27. # configuration file and other logging configuration options are ignored (for
  28. # example, logging_context_format_string). (string value)
  29. # Note: This option can be changed without restarting.
  30. # Deprecated group/name - [DEFAULT]/log_config
  31. #log_config_append = <None>
  32. # Defines the format string for %%(asctime)s in log records. Default:
  33. # %(default)s . This option is ignored if log_config_append is set. (string
  34. # value)
  35. #log_date_format = %Y-%m-%d %H:%M:%S
  36. # (Optional) Name of log file to send logging output to. If no default is set,
  37. # logging will go to stderr as defined by use_stderr. This option is ignored if
  38. # log_config_append is set. (string value)
  39. # Deprecated group/name - [DEFAULT]/logfile
  40. #log_file = <None>
  41. # (Optional) The base directory used for relative log_file paths. This option
  42. # is ignored if log_config_append is set. (string value)
  43. # Deprecated group/name - [DEFAULT]/logdir
  44. #log_dir = <None>
  45. # Uses logging handler designed to watch file system. When log file is moved or
  46. # removed this handler will open a new log file with specified path
  47. # instantaneously. It makes sense only if log_file option is specified and
  48. # Linux platform is used. This option is ignored if log_config_append is set.
  49. # (boolean value)
  50. #watch_log_file = false
  51. # Use syslog for logging. Existing syslog format is DEPRECATED and will be
  52. # changed later to honor RFC5424. This option is ignored if log_config_append
  53. # is set. (boolean value)
  54. #use_syslog = false
  55. # Enable journald for logging. If running in a systemd environment you may wish
  56. # to enable journal support. Doing so will use the journal native protocol
  57. # which includes structured metadata in addition to log messages.This option is
  58. # ignored if log_config_append is set. (boolean value)
  59. #use_journal = false
  60. # Syslog facility to receive log lines. This option is ignored if
  61. # log_config_append is set. (string value)
  62. #syslog_log_facility = LOG_USER
  63. # Log output to standard error. This option is ignored if log_config_append is
  64. # set. (boolean value)
  65. #use_stderr = false
  66. # Format string to use for log messages with context. (string value)
  67. #logging_context_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [%(request_id)s %(user_identity)s] %(instance)s%(message)s
  68. # Format string to use for log messages when context is undefined. (string
  69. # value)
  70. #logging_default_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [-] %(instance)s%(message)s
  71. # Additional data to append to log message when logging level for the message
  72. # is DEBUG. (string value)
  73. #logging_debug_format_suffix = %(funcName)s %(pathname)s:%(lineno)d
  74. # Prefix each line of exception output with this format. (string value)
  75. #logging_exception_prefix = %(asctime)s.%(msecs)03d %(process)d ERROR %(name)s %(instance)s
  76. # Defines the format string for %(user_identity)s that is used in
  77. # logging_context_format_string. (string value)
  78. #logging_user_identity_format = %(user)s %(tenant)s %(domain)s %(user_domain)s %(project_domain)s
  79. # List of package logging levels in logger=LEVEL pairs. This option is ignored
  80. # if log_config_append is set. (list value)
  81. #default_log_levels = amqp=WARN,amqplib=WARN,boto=WARN,qpid=WARN,sqlalchemy=WARN,suds=INFO,oslo.messaging=INFO,oslo_messaging=INFO,iso8601=WARN,requests.packages.urllib3.connectionpool=WARN,urllib3.connectionpool=WARN,websocket=WARN,requests.packages.urllib3.util.retry=WARN,urllib3.util.retry=WARN,keystonemiddleware=WARN,routes.middleware=WARN,stevedore=WARN,taskflow=WARN,keystoneauth=WARN,oslo.cache=INFO,dogpile.core.dogpile=INFO
  82. # Enables or disables publication of error events. (boolean value)
  83. #publish_errors = false
  84. # The format for an instance that is passed with the log message. (string
  85. # value)
  86. #instance_format = "[instance: %(uuid)s] "
  87. # The format for an instance UUID that is passed with the log message. (string
  88. # value)
  89. #instance_uuid_format = "[instance: %(uuid)s] "
  90. # Interval, number of seconds, of log rate limiting. (integer value)
  91. #rate_limit_interval = 0
  92. # Maximum number of logged messages per rate_limit_interval. (integer value)
  93. #rate_limit_burst = 0
  94. # Log level name used by rate limiting: CRITICAL, ERROR, INFO, WARNING, DEBUG
  95. # or empty string. Logs with level greater or equal to rate_limit_except_level
  96. # are not filtered. An empty string means that all levels are filtered. (string
  97. # value)
  98. #rate_limit_except_level = CRITICAL
  99. # Enables or disables fatal status of deprecations. (boolean value)
  100. #fatal_deprecations = false
  101. [binding]
  102. # Configuration options for container interface binding.
  103. #
  104. # From kuryr_kubernetes
  105. #
  106. # The name prefix of the veth endpoint put inside the container. (string value)
  107. #veth_dst_prefix = eth
  108. # Driver to use for binding and unbinding ports. (string value)
  109. # Deprecated group/name - [binding]/driver
  110. #default_driver = kuryr.lib.binding.drivers.veth
  111. # Drivers to use for binding and unbinding ports. (list value)
  112. #enabled_drivers = kuryr.lib.binding.drivers.veth
  113. # Specifies the name of the Nova instance interface to link the virtual devices
  114. # to (only applicable to some binding drivers. (string value)
  115. link_iface = eth0
  116. driver = kuryr.lib.binding.drivers.vlan
  117. [cni_daemon]
  118. #
  119. # From kuryr_kubernetes
  120. #
  121. # Enable CNI Daemon configuration. (boolean value)
  122. daemon_enabled = true
  123. # Bind address for CNI daemon HTTP server. It is recommened to allow only local
  124. # connections. (string value)
  125. bind_address = 127.0.0.1:50036
  126. # Maximum number of processes that will be spawned to process requests from CNI
  127. # driver. (integer value)
  128. #worker_num = 30
  129. # Time (in seconds) the CNI daemon will wait for VIF annotation to appear in
  130. # pod metadata before failing the CNI request. (integer value)
  131. #vif_annotation_timeout = 120
  132. # Kuryr uses pyroute2 library to manipulate networking interfaces. When
  133. # processing a high number of Kuryr requests in parallel, it may take kernel
  134. # more time to process all networking stack changes. This option allows to tune
  135. # internal pyroute2 timeout. (integer value)
  136. #pyroute2_timeout = 30
  137. # Set to True when you are running kuryr-daemon inside a Docker container on
  138. # Kubernetes host. E.g. as DaemonSet on Kubernetes cluster Kuryr is supposed to
  139. # provide networking for. This mainly means thatkuryr-daemon will look for
  140. # network namespaces in $netns_proc_dir instead of /proc. (boolean value)
  141. docker_mode = true
  142. # When docker_mode is set to True, this config option should be set to where
  143. # host's /proc directory is mounted. Please note that mounting it is necessary
  144. # to allow Kuryr-Kubernetes to move host interfaces between host network
  145. # namespaces, which is essential for Kuryr to work. (string value)
  146. netns_proc_dir = /host_proc
  147. [kubernetes]
  148. #
  149. # From kuryr_kubernetes
  150. #
  151. # The root URL of the Kubernetes API (string value)
  152. api_root = {{ openshift.master.api_url }}
  153. # Absolute path to client cert to connect to HTTPS K8S_API (string value)
  154. # ssl_client_crt_file = /etc/kuryr/controller.crt
  155. # Absolute path client key file to connect to HTTPS K8S_API (string value)
  156. # ssl_client_key_file = /etc/kuryr/controller.key
  157. # Absolute path to ca cert file to connect to HTTPS K8S_API (string value)
  158. ssl_ca_crt_file = /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
  159. # The token to talk to the k8s API
  160. token_file = /var/run/secrets/kubernetes.io/serviceaccount/token
  161. # HTTPS K8S_API server identity verification (boolean value)
  162. # TODO (apuimedo): Make configurable
  163. ssl_verify_server_crt = True
  164. # The driver to determine OpenStack project for pod ports (string value)
  165. pod_project_driver = default
  166. # The driver to determine OpenStack project for services (string value)
  167. service_project_driver = default
  168. # The driver to determine Neutron subnets for pod ports (string value)
  169. pod_subnets_driver = default
  170. # The driver to determine Neutron subnets for services (string value)
  171. service_subnets_driver = default
  172. # The driver to determine Neutron security groups for pods (string value)
  173. pod_security_groups_driver = default
  174. # The driver to determine Neutron security groups for services (string value)
  175. service_security_groups_driver = default
  176. # The driver that provides VIFs for Kubernetes Pods. (string value)
  177. pod_vif_driver = nested-vlan
  178. # The driver that manages VIFs pools for Kubernetes Pods (string value)
  179. vif_pool_driver = {{ kuryr_openstack_enable_pools | default(False) | ternary('nested', 'noop') }}
  180. [neutron]
  181. # Configuration options for OpenStack Neutron
  182. #
  183. # From kuryr_kubernetes
  184. #
  185. # Authentication URL (string value)
  186. auth_url = {{ kuryr_openstack_auth_url }}
  187. # Authentication type to load (string value)
  188. # Deprecated group/name - [neutron]/auth_plugin
  189. auth_type = password
  190. # Domain ID to scope to (string value)
  191. user_domain_name = {{ kuryr_openstack_user_domain_name }}
  192. # User's password (string value)
  193. password = {{ kuryr_openstack_password }}
  194. # Domain name containing project (string value)
  195. project_domain_name = {{ kuryr_openstack_project_domain_name }}
  196. # Project ID to scope to (string value)
  197. # Deprecated group/name - [neutron]/tenant-id
  198. project_id = {{ kuryr_openstack_project_id }}
  199. # Token (string value)
  200. #token = <None>
  201. # Trust ID (string value)
  202. #trust_id = <None>
  203. # User's domain id (string value)
  204. #user_domain_id = <None>
  205. # User id (string value)
  206. #user_id = <None>
  207. # Username (string value)
  208. # Deprecated group/name - [neutron]/user-name
  209. username = {{kuryr_openstack_username }}
  210. # Whether a plugging operation is failed if the port to plug does not become
  211. # active (boolean value)
  212. #vif_plugging_is_fatal = false
  213. # Seconds to wait for port to become active (integer value)
  214. #vif_plugging_timeout = 0
  215. [neutron_defaults]
  216. pod_security_groups = {{ kuryr_openstack_pod_sg_id }}
  217. pod_subnet = {{ kuryr_openstack_pod_subnet_id }}
  218. service_subnet = {{ kuryr_openstack_service_subnet_id }}
  219. project = {{ kuryr_openstack_pod_project_id }}
  220. # TODO (apuimedo): Remove the duplicated line just after this one once the
  221. # RDO packaging contains the upstream patch
  222. worker_nodes_subnet = {{ kuryr_openstack_worker_nodes_subnet_id }}
  223. external_svc_subnet = {{ kuryr_openstack_external_svc_subnet_id }}
  224. [pod_vif_nested]
  225. worker_nodes_subnet = {{ kuryr_openstack_worker_nodes_subnet_id }}
  226. [pool_manager]
  227. #
  228. # From kuryr_kubernetes
  229. #
  230. # Absolute path to socket file that will be used for communication with the
  231. # Pool Manager daemon (string value)
  232. #sock_file = /run/kuryr/kuryr_manage.sock
  233. [vif_pool]
  234. #
  235. # From kuryr_kubernetes
  236. #
  237. # Set a maximun amount of ports per pool. 0 to disable (integer value)
  238. ports_pool_max = {{ kuryr_openstack_pool_max | default(0) }}
  239. # Set a target minimum size of the pool of ports (integer value)
  240. ports_pool_min = {{ kuryr_openstack_pool_min | default(1) }}
  241. # Number of ports to be created in a bulk request (integer value)
  242. ports_pool_batch = {{ kuryr_openstack_pool_batch | default(5) }}
  243. # Minimun interval (in seconds) between pool updates (integer value)
  244. ports_pool_update_frequency = {{ kuryr_openstack_pool_update_frequency | default(20) }}
  245. kuryr-cni.conf: |+
  246. [DEFAULT]
  247. #
  248. # From kuryr_kubernetes
  249. #
  250. # Directory for Kuryr vif binding executables. (string value)
  251. #bindir = /usr/libexec/kuryr
  252. # Neutron subnetpool name will be prefixed by this. (string value)
  253. #subnetpool_name_prefix = kuryrPool
  254. # baremetal or nested-containers are the supported values. (string value)
  255. #deployment_type = baremetal
  256. # If set to true, the logging level will be set to DEBUG instead of the default
  257. # INFO level. (boolean value)
  258. # Note: This option can be changed without restarting.
  259. #debug = false
  260. # The name of a logging configuration file. This file is appended to any
  261. # existing logging configuration files. For details about logging configuration
  262. # files, see the Python logging module documentation. Note that when logging
  263. # configuration files are used then all logging configuration is set in the
  264. # configuration file and other logging configuration options are ignored (for
  265. # example, logging_context_format_string). (string value)
  266. # Note: This option can be changed without restarting.
  267. # Deprecated group/name - [DEFAULT]/log_config
  268. #log_config_append = <None>
  269. # Defines the format string for %%(asctime)s in log records. Default:
  270. # %(default)s . This option is ignored if log_config_append is set. (string
  271. # value)
  272. #log_date_format = %Y-%m-%d %H:%M:%S
  273. # (Optional) Name of log file to send logging output to. If no default is set,
  274. # logging will go to stderr as defined by use_stderr. This option is ignored if
  275. # log_config_append is set. (string value)
  276. # Deprecated group/name - [DEFAULT]/logfile
  277. #log_file = <None>
  278. # (Optional) The base directory used for relative log_file paths. This option
  279. # is ignored if log_config_append is set. (string value)
  280. # Deprecated group/name - [DEFAULT]/logdir
  281. #log_dir = <None>
  282. # Uses logging handler designed to watch file system. When log file is moved or
  283. # removed this handler will open a new log file with specified path
  284. # instantaneously. It makes sense only if log_file option is specified and
  285. # Linux platform is used. This option is ignored if log_config_append is set.
  286. # (boolean value)
  287. #watch_log_file = false
  288. # Use syslog for logging. Existing syslog format is DEPRECATED and will be
  289. # changed later to honor RFC5424. This option is ignored if log_config_append
  290. # is set. (boolean value)
  291. #use_syslog = false
  292. # Enable journald for logging. If running in a systemd environment you may wish
  293. # to enable journal support. Doing so will use the journal native protocol
  294. # which includes structured metadata in addition to log messages.This option is
  295. # ignored if log_config_append is set. (boolean value)
  296. #use_journal = false
  297. # Syslog facility to receive log lines. This option is ignored if
  298. # log_config_append is set. (string value)
  299. #syslog_log_facility = LOG_USER
  300. # Log output to standard error. This option is ignored if log_config_append is
  301. # set. (boolean value)
  302. use_stderr = true
  303. # Format string to use for log messages with context. (string value)
  304. #logging_context_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [%(request_id)s %(user_identity)s] %(instance)s%(message)s
  305. # Format string to use for log messages when context is undefined. (string
  306. # value)
  307. #logging_default_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [-] %(instance)s%(message)s
  308. # Additional data to append to log message when logging level for the message
  309. # is DEBUG. (string value)
  310. #logging_debug_format_suffix = %(funcName)s %(pathname)s:%(lineno)d
  311. # Prefix each line of exception output with this format. (string value)
  312. #logging_exception_prefix = %(asctime)s.%(msecs)03d %(process)d ERROR %(name)s %(instance)s
  313. # Defines the format string for %(user_identity)s that is used in
  314. # logging_context_format_string. (string value)
  315. #logging_user_identity_format = %(user)s %(tenant)s %(domain)s %(user_domain)s %(project_domain)s
  316. # List of package logging levels in logger=LEVEL pairs. This option is ignored
  317. # if log_config_append is set. (list value)
  318. #default_log_levels = amqp=WARN,amqplib=WARN,boto=WARN,qpid=WARN,sqlalchemy=WARN,suds=INFO,oslo.messaging=INFO,oslo_messaging=INFO,iso8601=WARN,requests.packages.urllib3.connectionpool=WARN,urllib3.connectionpool=WARN,websocket=WARN,requests.packages.urllib3.util.retry=WARN,urllib3.util.retry=WARN,keystonemiddleware=WARN,routes.middleware=WARN,stevedore=WARN,taskflow=WARN,keystoneauth=WARN,oslo.cache=INFO,dogpile.core.dogpile=INFO
  319. # Enables or disables publication of error events. (boolean value)
  320. #publish_errors = false
  321. # The format for an instance that is passed with the log message. (string
  322. # value)
  323. #instance_format = "[instance: %(uuid)s] "
  324. # The format for an instance UUID that is passed with the log message. (string
  325. # value)
  326. #instance_uuid_format = "[instance: %(uuid)s] "
  327. # Interval, number of seconds, of log rate limiting. (integer value)
  328. #rate_limit_interval = 0
  329. # Maximum number of logged messages per rate_limit_interval. (integer value)
  330. #rate_limit_burst = 0
  331. # Log level name used by rate limiting: CRITICAL, ERROR, INFO, WARNING, DEBUG
  332. # or empty string. Logs with level greater or equal to rate_limit_except_level
  333. # are not filtered. An empty string means that all levels are filtered. (string
  334. # value)
  335. #rate_limit_except_level = CRITICAL
  336. # Enables or disables fatal status of deprecations. (boolean value)
  337. #fatal_deprecations = false
  338. [binding]
  339. # Configuration options for container interface binding.
  340. #
  341. # From kuryr_kubernetes
  342. #
  343. # The name prefix of the veth endpoint put inside the container. (string value)
  344. #veth_dst_prefix = eth
  345. # Driver to use for binding and unbinding ports. (string value)
  346. # Deprecated group/name - [binding]/driver
  347. #default_driver = kuryr.lib.binding.drivers.veth
  348. # Drivers to use for binding and unbinding ports. (list value)
  349. #enabled_drivers = kuryr.lib.binding.drivers.veth
  350. # Specifies the name of the Nova instance interface to link the virtual devices
  351. # to (only applicable to some binding drivers. (string value)
  352. link_iface = eth0
  353. driver = kuryr.lib.binding.drivers.vlan
  354. [cni_daemon]
  355. #
  356. # From kuryr_kubernetes
  357. #
  358. # Enable CNI Daemon configuration. (boolean value)
  359. daemon_enabled = true
  360. # Bind address for CNI daemon HTTP server. It is recommened to allow only local
  361. # connections. (string value)
  362. bind_address = 127.0.0.1:50036
  363. # Maximum number of processes that will be spawned to process requests from CNI
  364. # driver. (integer value)
  365. #worker_num = 30
  366. # Time (in seconds) the CNI daemon will wait for VIF annotation to appear in
  367. # pod metadata before failing the CNI request. (integer value)
  368. #vif_annotation_timeout = 120
  369. # Kuryr uses pyroute2 library to manipulate networking interfaces. When
  370. # processing a high number of Kuryr requests in parallel, it may take kernel
  371. # more time to process all networking stack changes. This option allows to tune
  372. # internal pyroute2 timeout. (integer value)
  373. #pyroute2_timeout = 30
  374. # Set to True when you are running kuryr-daemon inside a Docker container on
  375. # Kubernetes host. E.g. as DaemonSet on Kubernetes cluster Kuryr is supposed to
  376. # provide networking for. This mainly means thatkuryr-daemon will look for
  377. # network namespaces in $netns_proc_dir instead of /proc. (boolean value)
  378. docker_mode = true
  379. # When docker_mode is set to True, this config option should be set to where
  380. # host's /proc directory is mounted. Please note that mounting it is necessary
  381. # to allow Kuryr-Kubernetes to move host interfaces between host network
  382. # namespaces, which is essential for Kuryr to work. (string value)
  383. netns_proc_dir = /host_proc
  384. [kubernetes]
  385. #
  386. # From kuryr_kubernetes
  387. #
  388. # The root URL of the Kubernetes API (string value)
  389. api_root = {{ openshift.master.api_url }}
  390. # Absolute path to client cert to connect to HTTPS K8S_API (string value)
  391. # ssl_client_crt_file = /etc/kuryr/controller.crt
  392. # Absolute path client key file to connect to HTTPS K8S_API (string value)
  393. # ssl_client_key_file = /etc/kuryr/controller.key
  394. # Absolute path to ca cert file to connect to HTTPS K8S_API (string value)
  395. ssl_ca_crt_file = /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
  396. # The token to talk to the k8s API
  397. token_file = /var/run/secrets/kubernetes.io/serviceaccount/token
  398. # HTTPS K8S_API server identity verification (boolean value)
  399. # TODO (apuimedo): Make configurable
  400. ssl_verify_server_crt = True
  401. # The driver to determine OpenStack project for pod ports (string value)
  402. pod_project_driver = default
  403. # The driver to determine OpenStack project for services (string value)
  404. service_project_driver = default
  405. # The driver to determine Neutron subnets for pod ports (string value)
  406. pod_subnets_driver = default
  407. # The driver to determine Neutron subnets for services (string value)
  408. service_subnets_driver = default
  409. # The driver to determine Neutron security groups for pods (string value)
  410. pod_security_groups_driver = default
  411. # The driver to determine Neutron security groups for services (string value)
  412. service_security_groups_driver = default
  413. # The driver that provides VIFs for Kubernetes Pods. (string value)
  414. pod_vif_driver = nested-vlan
  415. # The driver that manages VIFs pools for Kubernetes Pods (string value)
  416. vif_pool_driver = {{ kuryr_openstack_enable_pools | default(False) | ternary('nested', 'noop') }}
  417. [neutron]
  418. # Configuration options for OpenStack Neutron
  419. #
  420. # From kuryr_kubernetes
  421. #
  422. # Authentication URL (string value)
  423. auth_url = {{ kuryr_openstack_auth_url }}
  424. # Authentication type to load (string value)
  425. # Deprecated group/name - [neutron]/auth_plugin
  426. auth_type = password
  427. # Domain ID to scope to (string value)
  428. user_domain_name = {{ kuryr_openstack_user_domain_name }}
  429. # User's password (string value)
  430. password = {{ kuryr_openstack_password }}
  431. # Domain name containing project (string value)
  432. project_domain_name = {{ kuryr_openstack_project_domain_name }}
  433. # Project ID to scope to (string value)
  434. # Deprecated group/name - [neutron]/tenant-id
  435. project_id = {{ kuryr_openstack_project_id }}
  436. # Token (string value)
  437. #token = <None>
  438. # Trust ID (string value)
  439. #trust_id = <None>
  440. # User's domain id (string value)
  441. #user_domain_id = <None>
  442. # User id (string value)
  443. #user_id = <None>
  444. # Username (string value)
  445. # Deprecated group/name - [neutron]/user-name
  446. username = {{kuryr_openstack_username }}
  447. # Whether a plugging operation is failed if the port to plug does not become
  448. # active (boolean value)
  449. #vif_plugging_is_fatal = false
  450. # Seconds to wait for port to become active (integer value)
  451. #vif_plugging_timeout = 0
  452. [neutron_defaults]
  453. pod_security_groups = {{ kuryr_openstack_pod_sg_id }}
  454. pod_subnet = {{ kuryr_openstack_pod_subnet_id }}
  455. service_subnet = {{ kuryr_openstack_service_subnet_id }}
  456. project = {{ kuryr_openstack_pod_project_id }}
  457. # TODO (apuimedo): Remove the duplicated line just after this one once the
  458. # RDO packaging contains the upstream patch
  459. worker_nodes_subnet = {{ kuryr_openstack_worker_nodes_subnet_id }}
  460. [pod_vif_nested]
  461. worker_nodes_subnet = {{ kuryr_openstack_worker_nodes_subnet_id }}
  462. [pool_manager]
  463. #
  464. # From kuryr_kubernetes
  465. #
  466. # Absolute path to socket file that will be used for communication with the
  467. # Pool Manager daemon (string value)
  468. #sock_file = /run/kuryr/kuryr_manage.sock
  469. [vif_pool]
  470. #
  471. # From kuryr_kubernetes
  472. #
  473. # Set a maximun amount of ports per pool. 0 to disable (integer value)
  474. ports_pool_max = {{ kuryr_openstack_pool_max | default(0) }}
  475. # Set a target minimum size of the pool of ports (integer value)
  476. ports_pool_min = {{ kuryr_openstack_pool_min | default(1) }}
  477. # Number of ports to be created in a bulk request (integer value)
  478. ports_pool_batch = {{ kuryr_openstack_pool_batch | default(5) }}
  479. # Minimun interval (in seconds) between pool updates (integer value)
  480. ports_pool_update_frequency = {{ kuryr_openstack_pool_update_frequency | default(20) }}