anchor.diff:      --set tolerations[0].key="key" \
       --set tolerations[0].operator="Equal" \
       --set tolerations[0].value="value" \
  -    --set tolerations[0].effect="NoSchedule"
  +    --set tolerations[0].effect="NoSchedule" \
  +    --set nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[0].matchExpressions[0].key="tag" \
  +    --set nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[0].matchExpressions[0].operator=In \
  +    --set nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[0].matchExpressions[0].values[0]=devops \
  +    --set antiAffinity="hard" \  #该值可为soft
  +    --set antiAffinityTopologyKey="kubernetes.io/hostname" \
   
       # 若使用xpack security,请加上以下参数
       --set-string extraEnvs[0]."name"="xpack\.security\.enabled" \
  
positive.code: 
  [source,bash]
  ----
  # 在NFS服务器上加上文件路径,并创建需要的目录
  
  vi /etc/exports
  
  /data/nfs/prometheus-operator    *(rw,sync,no_root_squash,no_all_squash)
  
  # 重启NFS
  systemctl restart nfs-server
  # 查看结果
  showmount -e localhost
  
  
  # 创建PV,注意label的对应
  
  app=prometheus-operator
  
negative.code:     --set runners.privileged=true \
      .
  ----
  .gitlab pod的调度
  可通过helm安装时，设置以下各具体值来指定pod要调度的node。 +
  具体可参考：<<podAssignment,pod的调度参考模板>> 或 <<prometheus-pod-assignment,prometheus pod的调度>>
  [source,bash]
  ----
     --set affinity: {}
     --set nodeSelector: {}
     --set tolerations: []
  ----
  
  ==== nginx Ingress Controller
  
  