[helm] Should use jobs instead of pods in helm templates. #38062
Labels
area/platform
issues related to the platform
community
helm
team/deployments
type/bug
Something isn't working
Helm Chart Version
0.64.388
What step the error happened?
None
Relevant information
Pods should not be directly referenced in helmcharts. Job wrapper should be applied to improve:
These are the locations of the pod definitions which should be updated to job.
https://github.com/airbytehq/airbyte-platform/blob/main/charts/airbyte/templates/minio.yaml#L106
https://github.com/airbytehq/airbyte-platform/blob/main/charts/airbyte-bootloader/templates/pod.yaml#L3
https://github.com/airbytehq/airbyte-platform/blob/main/charts/airbyte/templates/tests/test-webapp.yaml#L3
ref: https://whyk8s.substack.com/p/why-use-jobs-and-not-bare-pods
ref: https://spacelift.io/blog/kubernetes-jobs
ref: https://kubernetes.io/docs/concepts/workloads/controllers/job/#bare-pods -> "we recommend that you use a Job rather than a bare Pod, even if your application requires only a single Pod. "
Relevant log output
No response
The text was updated successfully, but these errors were encountered: