Why is this toleration not working on the bee pod? Mega confused I have it neste . . .

Adam Wilkinson:
Why is this toleration not working on the bee pod? Mega confused I have it nested under the spec…
image.png


Memo Toro:
Make sure you delete the pod and recreate it. It seems the pod doesn’t have the toleration config.

Adam Wilkinson:
@Memo Toro have deleted it and recreated from file several times but get same message

Adam Wilkinson:
**edit still broken same error

Tej_Singh_Rana:
Hello, @Adam Wilkinson
I checked and bee pod is running.

controlplane $ kubectl get po
NAME       READY   STATUS    RESTARTS   AGE
bee        1/1     Running   0          9s
mosquito   0/1     Pending   0          113s
controlplane $ ls
go  nine.yaml
controlplane $ cat nine.yaml
apiVersion: v1
kind: Pod
metadata:
  name: bee
spec:
  tolerations:
  - key: spray
    value: mortein
    effect: NoSchedule
    operator: Equal
  containers:
  - image: nginx
    name: bee

mohammed iqbal:
give a try with double quote

mohammed iqbal:

- key: "key1"
  operator: "Equal"
  value: "value1"

Adam Wilkinson:
Still not working guys even with double quotes. Anyone any other ideas this is really bugging me :tired_face:


image.png

Adam Wilkinson:
Hi @Tej_Singh_Rana! Have just tried your config file and still getting exact same issue (I deleted the bee pod before creating it again with the new config) . is there a bug in this lab or is it me doing something wrong?


image.png

Tej_Singh_Rana:
Hello, @Adam Wilkinson
I will check and let you know.

Adam Wilkinson:
@Tej_Singh_Rana very much appreciated