text: Example 7-15 Yaml file for the MongoDB Pod 
  
  apiVersion: v1 
  kind: Pod 
  metadata: 
   annotations: 
   productName: MongoDB 
   productVersion: 3.6.3 
   labels: 
   app: appmongo-ibm-mongodb-dev 
   name: appmongo-ibm-mongodb-dev 
   namespace: default 
  spec: 
   affinity: 
   nodeAffinity: 
   preferredDuringSchedulingIgnoredDuringExecution: 
   - preference: 
   matchExpressions: 
   - key: beta.kubernetes.io/arch 
   operator: In 
   values: 
   - amd64 
   weight: 2 
   - preference: 
   matchExpressions: 
   - key: beta.kubernetes.io/arch 
   operator: In 
   values: 
   - ppc64le 
   weight: 2 
   requiredDuringSchedulingIgnoredDuringExecution: 
   nodeSelectorTerms: 
   - matchExpressions: 
   - key: beta.kubernetes.io/arch 
   operator: In 
   values: 
   - amd64 
   - ppc64le 
   containers: 