apiVersion: v1
kind: Pod
metadata:
  name: tolerator
  labels:
    env: test
spec:
  containers:
  - name: nginx
    image: nginx
    imagePullPolicy: IfNotPresent
  tolerations:
  - key: "example-key"
    operator: "Equal"
    value: "value1"
    effect: "NoSchedule"

