potiuk commented on PR #40568:
URL: https://github.com/apache/airflow/pull/40568#issuecomment-2211106549

   > Unfortunately, in K8S, the pod status route returns the full pod manifest, 
so the result of read_namespaced_pod_status is the same as read_namespaced_pod 
with the same performance/cost:
   
   Well. As I wrote I am not the expert in those APIs :). But that's 
interesting. The API  URLs for those are clearly different ("/status" is added 
in the status one) and the two indeed return V1Pod object. But I thought there 
must be a reason why there are two different calls - my intuition (yes not 
based on documentation - because the documentation is pretty enigmatic:
   
   * read the specified Pod 
   
   vs.
   
   * read status of the specified Pod
   
   And while in simple cases, it might be the same - I was wondering if there 
are no cases where the Pod returned by the first method is way bigger and 
contain more information than Pod status returned by the second
   
   I could not find any docs about it or discussions though :)


-- 
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: [email protected]

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

Reply via email to