Kubernetes Job Affinity

Hi all, Prefect 2.0 looks amazing but I must say documentation is confusing. Hard to find latest docs for Prefect 2;
For example most of the docs refers deployment with ‘prefect deployment’ and not ‘prefect deploy’ and if I try to follow ‘prefect deployment’ I got a deprecation message.

Im trying to setup to run Kubernetes Jobs on specific nodes, I use something like affinity on yaml files like:

      affinity:
        nodeAffinity:
          requiredDuringSchedulingIgnoredDuringExecution:
            nodeSelectorTerms:
              - matchExpressions:
                  - key: kubernetes.io/hostname
                    operator: In
                    values:
                      - hostname1
                      - hostname2

Anyone has a good example for Prefect 2 and setup Kubernetes Job template ? thanks