ashb commented on a change in pull request #10996:
URL: https://github.com/apache/airflow/pull/10996#discussion_r493875583



##########
File path: airflow/executors/kubernetes_executor.py
##########
@@ -568,15 +601,14 @@ def _create_or_update_secret(secret_name, secret_path):
     def start(self) -> None:
         """Starts the executor"""
         self.log.info('Start Kubernetes executor')
-        self.worker_uuid = 
KubeWorkerIdentifier.get_or_create_current_kube_worker_uuid()
+        self.worker_uuid = self.job_id
         if not self.worker_uuid:
             raise AirflowException("Could not get worker uuid")
         self.log.debug('Start with worker_uuid: %s', self.worker_uuid)
         # always need to reset resource version since we don't know
         # when we last started, note for behavior below
         # 
https://github.com/kubernetes-client/python/blob/master/kubernetes/docs
         # /CoreV1Api.md#list_namespaced_pod

Review comment:
       Does this comment apply anymore now you've deleted the next line?




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to