title: How to use pod affinity
body: <p>I have this pod</p>
  <pre><code>apiVersion: apps/v1
  kind: StatefulSet
  metadata:
    name: mysql
    labels:
      app: myapp
      myapp: db
      subdomain: name
    annotations:
      app.myapp.com/uuid: some-uuid
      app.myapp.com/domain: domain
  </code></pre>
  <p>And I want to use <a href="https://kubernetes.io/docs/tasks/configure-pod-container/assign-pods-nodes-using-node-affinity/" rel="nofollow noreferrer">this</a> to make another pod wait for mysql, is it possible?</p>