Using multiple k8s cloud

Hello.
If you are using multiple Kubernetes cloud agent configuration. how I can choose preferred agent to run job in it. here is snippet code what I have now:

agent {
kubernetes {
idleMinutes 3
yamlFile “build-pod.yaml”
defaultContainer ‘maven’
}
}

resolved: with
cloud ‘name’ parameter in

kubernetes {

cloud ‘some-name’
}