question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Chart: Add docs on using custom pod-template

See original GitHub issue

Currently, we allow users to use their own podTemplate yaml using the podTemplate key in values.yaml. Some users have passed the name of the file in podTemplate instead of YAML string.

We should have a dedicated page on how a user could do that and add an example in values.yaml file itself.

https://airflow.apache.org/docs/helm-chart/stable/parameters-ref.html

https://github.com/apache/airflow/blob/81fde5844de37e90917deaaff9576914cb2637ee/chart/values.yaml#L1123-L1125 https://github.com/apache/airflow/blob/81fde5844de37e90917deaaff9576914cb2637ee/chart/templates/configmaps/configmap.yaml#L59-L65

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
jedcunninghamcommented, Aug 13, 2021

@gmsantos, in the next release podTemplate can be templated and workers.extraContainers will be added to k8s workers automatically. Thanks!

1reaction
jedcunninghamcommented, Aug 10, 2021

Cool, thanks. For resources you can use workers.resources. workers.extraContainers isn’t automatically added to k8s workers, but it probably should be (with a warning that you are on your own for stopping the sidecar so Airflow can continue its shutdown process).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Pods and PodTemplates
Discusses formatting the Pod and PodTemplate portions in Chart manifests. ... A container image should use a fixed tag or the SHA of...
Read more >
Kubernetes plugin
podTemplate : Define a podTemplate to use in the kubernetes plugin. Defines a Kubernetes pod template that can be used to create nodes....
Read more >
Customize Pods | Elastic Cloud on Kubernetes [2.5]
The following example illustrates how to add a custom label, annotation, and an environment variable using the podTemplate field. Elasticsearch.
Read more >
Use "label" or define a pod template in jenkinsfile ...
You did not specified an image for stage with label k8s and windows . You can read in the docs that: The plugin...
Read more >
An easier way to create custom Jenkins containers
See the Jenkins documentation if you prefer using a scripted pipeline. ... you can add as many containers as you like to your...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found