Can we use imperative command to apply Tolerations on a pod? kubectl run bee -- . . .

madhusmita:
Can we use imperative command to apply Tolerations on a pod?
kubectl run bee --image=nginx spray=mortein:NoSchedule

Hello @kodekloud,
No, it’s not possible. You have to define it in a declarative way.

Thanks,
KodeKloud Support