m

    Michał Augoff

    2 months ago
    hi all, 2.0 question, is it possible to set certain k8s job properties at the agent level (e.g. service account, namespace) as it is possible in 1.0 or everything needs to be configured via
    Deployment
    ’s KubernetesFlowRunner properties?
    redsquare

    redsquare

    2 months ago
    I can access this info via prefect.context.get_run_context() inside the job
    m

    Michał Augoff

    2 months ago
    I do not necessarily need access to this, just want to take some burden of my users, so that some parameters don’t have to be defined inside each Deployment
    redsquare

    redsquare

    2 months ago
    Ah sorry misread your Q, I have a similar issue with secrets and having to customise patch them in for each deployment (spec)
    Kevin Kho

    Kevin Kho

    2 months ago
    I think because we have one agent interface now, this is not possible at the moment. I think it has to go through the DeploymentSpec
    m

    Michał Augoff

    2 months ago
    that was my assumption, thanks for confirming Kevin 🙏