RELEASE_NOTES.rst 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469
  1. .. Licensed to the Apache Software Foundation (ASF) under one
  2. or more contributor license agreements. See the NOTICE file
  3. distributed with this work for additional information
  4. regarding copyright ownership. The ASF licenses this file
  5. to you under the Apache License, Version 2.0 (the
  6. "License"); you may not use this file except in compliance
  7. with the License. You may obtain a copy of the License at
  8. .. http://www.apache.org/licenses/LICENSE-2.0
  9. .. Unless required by applicable law or agreed to in writing,
  10. software distributed under the License is distributed on an
  11. "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  12. KIND, either express or implied. See the License for the
  13. specific language governing permissions and limitations
  14. under the License.
  15. .. contents:: Apache Airflow Helm Chart Releases
  16. :local:
  17. :depth: 1
  18. Run ``helm repo update`` before upgrading the chart to the latest version.
  19. .. towncrier release notes start
  20. Airflow Helm Chart 1.6.0 (2022-05-20)
  21. -------------------------------------
  22. Significant Changes
  23. ^^^^^^^^^^^^^^^^^^^
  24. Default Airflow image is updated to ``2.3.0`` (#23386)
  25. """"""""""""""""""""""""""""""""""""""""""""""""""""""
  26. The default Airflow image that is used with the Chart is now ``2.3.0``, previously it was ``2.2.4``.
  27. ``ingress.enabled`` is deprecated
  28. """""""""""""""""""""""""""""""""
  29. Instead of having a single flag to control ingress resources for both the webserver and flower, there
  30. are now separate flags to control them individually, ``ingress.web.enabled`` and ``ingress.flower.enabled``.
  31. ``ingress.enabled`` is now deprecated, but will still continue to control them both.
  32. Flower disabled by default
  33. """"""""""""""""""""""""""
  34. Flower is no longer enabled by default when using CeleryExecutor. If you'd like to deploy it, set
  35. ``flower.enabed`` to true in your values file.
  36. New Features
  37. ^^^^^^^^^^^^
  38. - Support ``annotations`` on ``volumeClaimTemplates`` (#23433)
  39. - Add support for ``topologySpreadConstraints`` to Helm Chart (#22712)
  40. - Helm support for LocalKubernetesExecutor (#22388)
  41. - Add ``securityContext`` config for Redis to Helm chart (#22182)
  42. - Allow ``annotations`` on Helm DAG PVC (#22261)
  43. - enable optional ``subPath`` for DAGs volume mount (#22323)
  44. - Added support to override ``auth_type`` in ``auth_file`` in PgBouncer Helm configuration (#21999)
  45. - Add ``extraVolumeMounts`` to Flower (#22414)
  46. - Add webserver ``PodDisruptionBudget`` (#21735)
  47. Improvements
  48. ^^^^^^^^^^^^
  49. - Ensure the messages from migration job show up early (#23479)
  50. - Allow migration jobs and init containers to be optional (#22195)
  51. - Use jobs check command for liveness probe check in Airflow 2 (#22143)
  52. Doc only changes
  53. ^^^^^^^^^^^^^^^^
  54. - Adds ``resultBackendSecretName`` warning in Helm production docs (#23307)
  55. Misc
  56. ^^^^
  57. - Update default Airflow version to ``2.3.0`` (#23386)
  58. - Move the database configuration to a new section (#22284)
  59. - Disable flower in chart by default (#23737)
  60. Airflow Helm Chart 1.5.0, (2022-03-07)
  61. --------------------------------------
  62. Significant changes
  63. ^^^^^^^^^^^^^^^^^^^
  64. Default Airflow image is updated to ``2.2.4``
  65. """""""""""""""""""""""""""""""""""""""""""""
  66. The default Airflow image that is used with the Chart is now ``2.2.4``, previously it was ``2.2.3``.
  67. Removed ``config.api``
  68. """"""""""""""""""""""
  69. This section configured the authentication backend for the Airflow API but used the same values as the Airflow default setting, which made it unnecessary to
  70. declare the same again.
  71. New Features
  72. ^^^^^^^^^^^^
  73. - Add support for custom command and args in jobs (#20864)
  74. - Support for ``priorityClassName`` (#20794)
  75. - Add ``envFrom`` to the Flower deployment (#21401)
  76. - Add annotations to cleanup pods (#21484)
  77. Improvements
  78. ^^^^^^^^^^^^
  79. - Speedup liveness probe for scheduler and triggerer (#20833, #21108)
  80. - Update git-sync to v3.4.0 (#21309)
  81. - Remove default auth backend setting (#21640)
  82. Bug Fixes
  83. ^^^^^^^^^
  84. - Fix elasticsearch URL when username/password are empty (#21222)
  85. - Mount ``airflow.cfg`` in wait-for-airflow-migrations containers (#20609)
  86. - Grant pod log reader to triggerer ServiceAccount (#21111)
  87. Doc only changes
  88. ^^^^^^^^^^^^^^^^
  89. - Simplify chart docs for configuring Airflow (#21747)
  90. - Add extra information about time synchronization needed (#21685)
  91. - Fix extra containers docs (#20787)
  92. Misc
  93. ^^^^
  94. - Use ``2.2.4`` as default Airflow version (#21745)
  95. - Change Redis image to bullseye (#21875)
  96. Airflow Helm Chart 1.4.0, (2022-01-10)
  97. --------------------------------------
  98. Significant changes
  99. ^^^^^^^^^^^^^^^^^^^
  100. Default Airflow image is updated to ``2.2.3``
  101. """""""""""""""""""""""""""""""""""""""""""""
  102. The default Airflow image that is used with the Chart is now ``2.2.3``, previously it was ``2.2.1``.
  103. ``ingress.web.hosts`` and ``ingress.flower.hosts`` parameters data type has changed and ``ingress.web.tls`` and ``ingress.flower.tls`` have moved
  104. """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
  105. ``ingress.web.hosts`` and ``ingress.flower.hosts`` have had their types have been changed from an array of strings to an array of objects. ``ingress.web.tls`` and ``ingress.flower.tls`` can now be specified per host in ``ingress.web.hosts`` and ``ingress.flower.hosts`` respectively.
  106. The old parameter names will continue to work, however support for them will be removed in a future release so please update your values file.
  107. Fixed precedence of ``nodeSelector``, ``affinity`` and ``tolerations`` params
  108. """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
  109. ``nodeSelector``, ``affinity`` and ``tolerations`` params precedence has been fixed on all components. Now component-specific params
  110. (e.g. ``webserver.affinity``) takes precedence over the global param (e.g. ``affinity``).
  111. Default ``KubernetesExecutor`` worker affinity removed
  112. """"""""""""""""""""""""""""""""""""""""""""""""""""""
  113. Previously a default affinity was added to ``KubernetesExecutor`` workers to spread the workers out across nodes. This default affinity is no
  114. longer set because, in general, there is no reason to spread task-specific workers across nodes.
  115. Changes in webserver and flower ``NetworkPolicy`` default ports
  116. """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
  117. The defaults for ``webserver.networkPolicy.ingress.ports`` and ``flower.networkPolicy.ingress.ports`` moved away from using named ports to numerical ports to avoid issues with OpenShift.
  118. Increase default ``livenessProbe`` ``timeoutSeconds`` for scheduler and triggerer
  119. """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
  120. The default timeout for the scheduler and triggerer ``livenessProbe`` has been increased from 10 seconds to 20 seconds.
  121. New Features
  122. ^^^^^^^^^^^^
  123. - Add ``type`` to extra secrets param (#20599)
  124. - Support elasticsearch connection ``scheme`` (#20564)
  125. - Allows to disable built-in secret variables individually (#18974)
  126. - Add support for ``securityContext`` (#18249)
  127. - Add extra containers, volumes and volume mounts for jobs (#18808)
  128. - Allow ingress multiple hostnames w/diff secrets (#18542)
  129. - PgBouncer extra volumes, volume mounts, and ``sslmode`` (#19749)
  130. - Allow specifying kerberos keytab (#19054)
  131. - Allow disabling the Helm hooks (#18776, #20018)
  132. - Add ``migration-wait-timeout`` (#20069)
  133. Improvements
  134. ^^^^^^^^^^^^
  135. - Increase default ``livenessProbe`` timeout (#20698)
  136. - Strict schema for k8s objects for values.yaml (#19181)
  137. - Remove unnecessary ``pod_template_file`` defaults (#19690)
  138. - Use built-in ``check-migrations`` command for Airflow>=2 (#19676)
  139. Bug Fixes
  140. ^^^^^^^^^
  141. - Fix precedence of ``affinity``, ``nodeSelector``, and ``tolerations`` (#20641)
  142. - Fix chart elasticsearch default port 80 to 9200. (#20616)
  143. - Fix network policy issue for webserver and flower ui (#20199)
  144. - Use local definitions for k8s schema validation (#20544)
  145. - Add custom labels for ingresses/PVCs (#20535)
  146. - Fix extra secrets/configmaps labels (#20464)
  147. - Fix flower restarts on update (#20316)
  148. - Properly quote namespace names (#20266)
  149. Doc only changes
  150. ^^^^^^^^^^^^^^^^
  151. - Add ``helm dependency update`` step to chart INSTALL (#20702)
  152. - Reword section covering the envvar secrets (#20566)
  153. - Add "Customizing Workers" page (#20331)
  154. - Include Datadog example in production guide (#17996)
  155. - Update production Helm guide database section to use k8s secret (#19892)
  156. - Fix ``multiNamespaceMode`` docs to also cover KPO (#19879)
  157. - Clarify Helm behaviour when it comes to loading default connections (#19708)
  158. Misc
  159. ^^^^
  160. - Use ``2.2.3`` as default Airflow version (#20450)
  161. - Add ArtifactHUB annotations for docs and screenshots (#20558)
  162. - Add kubernetes 1.21 support (#19557)
  163. Airflow Helm Chart 1.3.0 (2021-11-08)
  164. -------------------------------------
  165. Significant changes
  166. ^^^^^^^^^^^^^^^^^^^
  167. Default Airflow image is updated to ``2.2.1``
  168. """""""""""""""""""""""""""""""""""""""""""""
  169. The default Airflow image that is used with the Chart is now ``2.2.1`` (which is Python ``3.7``), previously it was ``2.1.4`` (which is Python ``3.6``).
  170. The triggerer component requires Python ``3.7``. If you require Python ``3.6`` and Airflow ``2.2.0`` or later, use a ``3.6`` based image and set ``triggerer.enabled=False`` in your values.
  171. Resources made configurable for ``airflow-run-airflow-migrations`` job
  172. """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
  173. Now it's possible to set resources requests and limits for migration job through ``migrateDatabaseJob.resources`` value.
  174. New Features
  175. ^^^^^^^^^^^^
  176. - Chart: Add resources for ``cleanup`` and ``createuser`` jobs (#19263)
  177. - Chart: Add labels to jobs created by cleanup pods (#19225)
  178. - Add migration job resources (#19175)
  179. - Allow custom pod annotations to all components (#18481)
  180. - Chart: Make PgBouncer cmd/args configurable (#18910)
  181. - Chart: Use python 3.7 by default; support disabling triggerer (#18920)
  182. Improvements
  183. ^^^^^^^^^^^^
  184. - Chart: Increase default liveness probe timeout (#19003)
  185. - Chart: Mount DAGs in triggerer (#18753)
  186. Bug Fixes
  187. ^^^^^^^^^
  188. - Allow Airflow UI to create worker pod via Clear > Run (#18272)
  189. - Allow Airflow standard images to run in OpenShift utilizing the official Helm chart #18136 (#18147)
  190. Doc only changes
  191. ^^^^^^^^^^^^^^^^
  192. - Chart: Fix ``extraEnvFrom`` examples (#19144)
  193. - Chart docs: Update webserver secret key reference configuration (#18595)
  194. - Fix helm chart links in source install guide (#18588)
  195. Misc
  196. ^^^^
  197. - Chart: Update default Airflow version to ``2.2.1`` (#19326)
  198. - Modernize dockerfiles builds (#19327)
  199. - Chart: Use strict k8s schemas for template validation (#19379)
  200. Airflow Helm Chart 1.2.0 (2021-09-28)
  201. -------------------------------------
  202. Significant Changes
  203. ^^^^^^^^^^^^^^^^^^^
  204. ``ingress.web.host`` and ``ingress.flower.host`` parameters have been renamed and data type changed
  205. """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
  206. ``ingress.web.host`` and ``ingress.flower.host`` parameters have been renamed to ``ingress.web.hosts`` and ``ingress.flower.hosts``, respectively. Their types have been changed from a string to an array of strings.
  207. The old parameter names will continue to work, however support for them will be removed in a future release so please update your values file.
  208. Default Airflow version is updated to ``2.1.4``
  209. """""""""""""""""""""""""""""""""""""""""""""""
  210. The default Airflow version that is installed with the Chart is now ``2.1.4``, previously it was ``2.1.2``.
  211. Removed ``ingress.flower.precedingPaths`` and ``ingress.flower.succeedingPaths`` parameters
  212. """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
  213. ``ingress.flower.precedingPaths`` and ``ingress.flower.succeedingPaths`` parameters have been removed as they had previously had no effect on rendered YAML output.
  214. Change of default ``path`` on Ingress
  215. """""""""""""""""""""""""""""""""""""
  216. With the move to support the stable Kubernetes Ingress API the default path has been changed from being unset to ``/``. For most Ingress controllers this should not change the behavior of the resulting Ingress resource.
  217. New Features
  218. ^^^^^^^^^^^^
  219. - Add Triggerer to Helm Chart (#17743)
  220. - Chart: warn when webserver secret key isn't set (#18306)
  221. - add ``extraContainers`` for ``migrateDatabaseJob`` (#18379)
  222. - Labels on job templates (#18403)
  223. - Chart: Allow running and waiting for DB Migrations using default image (#18218)
  224. - Chart: Make cleanup cronjob cmd/args configurable (#17970)
  225. - Chart: configurable number of retention days for log groomers (#17764)
  226. - Chart: Add ``loadBalancerSourceRanges`` in webserver and flower services (#17666)
  227. - Chart: Support ``extraContainers`` in k8s workers (#17562)
  228. Improvements
  229. ^^^^^^^^^^^^
  230. - Switch to latest version of PGBouncer-Exporter (#18429)
  231. - Chart: Ability to access http k8s via multiple hostnames (#18257)
  232. - Chart: Use stable API versions where available (#17211)
  233. - Chart: Allow ``podTemplate`` to be templated (#17560)
  234. Bug Fixes
  235. ^^^^^^^^^
  236. - Chart: Fix applying ``labels`` on Triggerer (#18299)
  237. - Fixes warm shutdown for celery worker. (#18068)
  238. - Chart: Fix minor Triggerer issues (#18105)
  239. - Chart: fix webserver secret key update (#18079)
  240. - Chart: fix running with ``uid`` ``0`` (#17688)
  241. - Chart: use ServiceAccount template for log reader RoleBinding (#17645)
  242. - Chart: Fix elasticsearch-secret template port default function (#17428)
  243. - KEDA task count query should ignore k8s queue (#17433)
  244. Doc only changes
  245. ^^^^^^^^^^^^^^^^
  246. - Chart Doc: Delete extra space in adding connections doc (#18424)
  247. - Improves installing from sources pages for all components (#18251)
  248. - Chart docs: Format ``loadBalancerSourceRanges`` using code-block (#17763)
  249. - Doc: Fix a broken link in an ssh-related warning message (#17294)
  250. - Chart: Add instructions to Update Helm Repo before upgrade (#17282)
  251. - Chart docs: better note for logs existing PVC permissions (#17177)
  252. Misc
  253. ^^^^
  254. - Chart: Update the default Airflow version to ``2.1.4`` (#18354)
  255. Airflow Helm Chart 1.1.0 (2021-07-26)
  256. -------------------------------------
  257. Significant Changes
  258. ^^^^^^^^^^^^^^^^^^^
  259. Run ``helm repo update`` before upgrading the chart to the latest version.
  260. Default Airflow version is updated to ``2.1.2``
  261. """""""""""""""""""""""""""""""""""""""""""""""
  262. The default Airflow version that is installed with the Chart is now ``2.1.2``, previously it was ``2.0.2``.
  263. Helm 2 no longer supported
  264. """"""""""""""""""""""""""
  265. This chart has dropped support for `Helm 2 as it has been deprecated <https://helm.sh/blog/helm-v2-deprecation-timeline/>`__ and no longer receiving security updates since November 2020.
  266. ``webserver.extraNetworkPolicies`` and ``flower.extraNetworkPolicies`` parameters have been renamed
  267. """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
  268. ``webserver.extraNetworkPolicies`` and ``flower.extraNetworkPolicies`` have been renamed to ``webserver.networkPolicy.ingress.from`` and ``flower.networkPolicy.ingress.from``, respectively. Their values and behavior are the same.
  269. The old parameter names will continue to work, however support for them will be removed in a future release so please update your values file.
  270. Removed ``dags.gitSync.root``, ``dags.gitSync.dest``, and ``dags.gitSync.excludeWebserver`` parameters
  271. """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
  272. The ``dags.gitSync.root`` and ``dags.gitSync.dest`` parameters did not provide any useful behaviors to chart users so they have been removed.
  273. If you have them set in your values file you can safely remove them.
  274. The ``dags.gitSync.excludeWebserver`` parameter was mistakenly included in the charts ``values.schema.json``. If you have it set in your values file,
  275. you can safely remove it.
  276. ``nodeSelector``, ``affinity`` and ``tolerations`` on ``migrateDatabaseJob`` and ``createUserJob`` jobs
  277. """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
  278. The ``migrateDatabaseJob`` and ``createUserJob`` jobs were incorrectly using the ``webserver``'s ``nodeSelector``, ``affinity``
  279. and ``tolerations`` (if set). Each job is now configured separately.
  280. New Features
  281. ^^^^^^^^^^^^
  282. - Chart: Allow using ``krb5.conf`` with ``CeleryExecutor`` (#16822)
  283. - Chart: Refactor webserver and flower NetworkPolicy (#16619)
  284. - Chart: Apply worker's node assigning settings to Pod Template File (#16663)
  285. - Chart: Support for overriding webserver and flower service ports (#16572)
  286. - Chart: Support ``extraContainers`` and ``extraVolumes`` in flower (#16515)
  287. - Chart: Allow configuration of pod resources in helm chart (#16425)
  288. - Chart: Support job level annotations; fix jobs scheduling config (#16331)
  289. - feat: Helm chart adding ``minReplicaCount`` to the KEDA ``worker-kedaautoscaler.yaml`` (#16262)
  290. - Chart: Adds support for custom command and args (#16153)
  291. - Chart: Add extra ini config to ``pgbouncer`` (#16120)
  292. - Chart: Add ``extraInitContainers`` to scheduler/webserver/workers (#16098)
  293. - Configurable resources for git-sync sidecar (#16080)
  294. - Chart: Template ``airflowLocalSettings`` and ``webserver.webserverConfig`` (#16074)
  295. - Support ``strategy``/``updateStrategy`` on scheduler (#16069)
  296. - Chart: Add both airflow and extra annotations to jobs (#16058)
  297. - ``loadBalancerIP`` and ``annotations`` for both Flower and Webserver (#15972)
  298. Improvements
  299. ^^^^^^^^^^^^
  300. - Chart: Update Postgres subchart to 10.5.3 (#17041)
  301. - Chart: Update the default Airflow version to ``2.1.2`` (#17013)
  302. - Update default image as ``2.1.1`` for Helm Chart (#16785)
  303. - Chart: warn when using default logging with ``KubernetesExecutor`` (#16784)
  304. - Drop support for Helm 2 (#16575)
  305. - Chart: ``podAntiAffinity`` for scheduler, webserver, and workers (#16315)
  306. - Chart: Update the default Airflow Version to ``2.1.0`` (#16273)
  307. - Chart: Only mount DAGs in webserver when required (#16229)
  308. - Chart: Remove ``git-sync``: ``root`` and ``dest`` params (#15955)
  309. - Chart: Add warning about missing ``knownHosts`` (#15950)
  310. Bug Fixes
  311. ^^^^^^^^^
  312. - Chart: Create a random secret for Webserver's flask secret key (#17142)
  313. - Chart: fix labels on cleanup ServiceAccount (#16722)
  314. - Chart: Fix overriding node assigning settings on Worker Deployment (#16670)
  315. - Chart: Always deploy a ``gitsync`` init container (#16339)
  316. - Chart: Fix updating from ``KubernetesExecutor`` to ``CeleryExecutor`` (#16242)
  317. - Chart: Adds labels to Kubernetes worker pods (#16203)
  318. - Chart: Allow ``webserver.base_url`` to be templated (#16126)
  319. - Chart: Fix ``PgBouncer`` exporter sidecar (#16099)
  320. - Remove ``dags.gitSync.excludeWebserver`` from chart ``values.schema.json`` (#16070)
  321. - Chart: Fix Elasticsearch secret created without Elasticsearch enabled (#16015)
  322. - Handle special characters in passwords for Helm Chart (#16004)
  323. - Fix flower ServiceAccount created without flower enable (#16011)
  324. - Chart: ``gitsync`` Clean Up for ``KubernetesExecutor`` (#15925)
  325. - Mount DAGs read only when using ``gitsync`` (#15953)
  326. Doc only changes
  327. ^^^^^^^^^^^^^^^^
  328. - Chart docs: note uid write permissions for existing PVC (#17170)
  329. - Chart Docs: Add single-line description for ``multiNamespaceMode`` (#17147)
  330. - Chart: Update description for Helm chart to include 'official' (#17040)
  331. - Chart: Better comment and example for ``podTemplate`` (#16859)
  332. - Chart: Add more clear docs for setting ``pod_template_file.yaml`` (#16632)
  333. - Fix description on ``scheduler.livenessprobe.periodSeconds`` (#16486)
  334. - Chart docs: Fix ``extrasecrets`` example (#16305)
  335. - Small improvements for ``README.md`` files (#16244)
  336. Misc
  337. ^^^^
  338. - Removes pylint from our toolchain (#16682)
  339. - Update link to match what is in pre-commit (#16408)
  340. - Chart: Update the ``appVersion`` to 2.1.0 in ``Chart.yaml`` (#16337)
  341. - Rename the main branch of the Airflow repo to be ``main`` (#16149)
  342. - Update Chart version to ``1.1.0-rc1`` (#16124)