airflow.providers.cncf.kubernetes.backcompat.pod
¶
Classes for interacting with Kubernetes API
Module Contents¶
-
class
airflow.providers.cncf.kubernetes.backcompat.pod.
Resources
(request_memory=None, request_cpu=None, request_ephemeral_storage=None, limit_memory=None, limit_cpu=None, limit_gpu=None, limit_ephemeral_storage=None)[source]¶ backwards compat for Resources
-
__slots__
= ['request_memory', 'request_cpu', 'limit_memory', 'limit_cpu', 'limit_gpu', 'request_ephemeral_storage', 'limit_ephemeral_storage'][source]¶ - Parameters
request_memory (str) -- requested memory
request_cpu (float | str) -- requested CPU number
request_ephemeral_storage (str) -- requested ephemeral storage
limit_memory (str) -- limit for memory usage
limit_cpu (float | str) -- Limit for CPU used
limit_gpu (int) -- Limits for GPU used
limit_ephemeral_storage (float | str) -- Limit for ephemeral storage
-