controlplane ~ ➜ k get nodes
NAME STATUS ROLES AGE VERSION
controlplane Ready control-plane 44m v1.27.0
node01 Ready <none> 43m v1.27.0
NAME READY STATUS RESTARTS AGE
nginx 0/1 Pending 0 3s
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: taint-toleration
name: taint-toleration
spec:
replicas: 1
selector:
matchLabels:
app: taint-toleration
strategy: {}
template:
metadata:
labels:
app: taint-toleration
spec:
containers:
- image: nginx
name: nginx
resources: {}
tolerations:
- key: "storage"
operator: "Equal"
value: "ssd"
effect: "NoSchedule"
status: {}