vchiapaikeo commented on code in PR #28942:
URL: https://github.com/apache/airflow/pull/28942#discussion_r1071283902


##########
airflow/providers/cncf/kubernetes/decorators/kubernetes.py:
##########
@@ -82,15 +84,35 @@ def _get_python_source(self):
         res = remove_task_decorator(res, "@task.kubernetes")
         return res
 
+    def _generate_cmds(self):
+        return [
+            "bash",
+            "-cx",
+            (
+                f"{_generate_decoded_command('%s', '%s')} && " % 
(_PYTHON_SCRIPT_ENV, _FILENAME_IN_CONTAINER)

Review Comment:
   Just wondering if you know of any character limits to `cmds` in K8s? That's 
the only concern I have here because long functions can have very long b64 
contents.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to