k8s n00b question: if I want to define the resourc...
# deployment-kubernetes
c
k8s n00b question: if I want to define the resource requirements only for pods created for a specific job, is this the correct way to go about it?
Copy code
@job(
    tags={
        "dagster-k8s/config": {
            "job_spec_config": {
                "template": {
                    "spec": {
                        "container":   {
                            "resources": {
                                "limits": {
                                    "cpu": "1000m",
                                    "ephemeral-storage": "1Gi",
                                    "memory": "2Gi"
                                },
                                "requests": {
                                    "cpu": "1000m",
                                    "ephemeral-storage": "1Gi",
                                    "memory": "2Gi"
                                },
                            },
                            "name": "dagster",
                        }
                    }
                }
            }
        }
    }
)
*edit: added the
resources
key
d
c
oh ok that simplifies things
and it should only affect the pod that's running the job
d
That's right
👌 1