INNER CODE UNIT · Python

LightweightJobInfo

robusta-dev/krr · robusta_krr/core/integrations/kubernetes/__init__.py:27

class LightweightJobInfo:
    """Lightweight job object containing only the fields needed for GroupedJob processing."""

    def __init__(self, name: str, namespace: str):
        self.name = name
        self.namespace = namespace


from . import config_patch as _

logger = logging.getLogger("krr")

AnyKubernetesAPIObject = Union[V1Deployment, V1DaemonSet, V1StatefulSet, V1Pod, V1Job]
HPAKey = tuple[str, str, str]


class ClusterLoader:
    def __init__(self, cluster: Optional[str] = None):

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…