Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow bytewax materialization engine to use in_cluster config #3746

Closed
james-crabtree-sp opened this issue Aug 24, 2023 · 0 comments · Fixed by #3754
Closed

Allow bytewax materialization engine to use in_cluster config #3746

james-crabtree-sp opened this issue Aug 24, 2023 · 0 comments · Fixed by #3754
Labels
kind/feature New feature or request

Comments

@james-crabtree-sp
Copy link
Contributor

Is your feature request related to a problem? Please describe.
The bytewax_materialization_engine uses the kubernetes.config.load_kube_config method to load kubernetes config. This method only supports loading config from kubeconfig file. We want to run this materialization in an airflow task running in EKS and use in_cluster config so that we don't have to mount the config inside of our image.

Describe the solution you'd like
The bytewax_materialization_config should use the kubernetes.config.load_config method to try loading from a kubeconfig file and fall back to in_cluster config if it is not found.

Describe alternatives you've considered
The current work around is to create a secret file in kubernetes with your kubeconfig file and mount it inside your image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature New feature or request
Projects
None yet
1 participant