Update checks.md

image-warning-sha256
John Mulhausen 2019-09-13 15:54:01 -07:00 committed by GitHub
parent 1a5ece18c3
commit ae26297477
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 17 additions and 0 deletions

View File

@ -485,3 +485,20 @@ spec:
- name: nginx
image: nginx:1.7.9
```
## Node Labels and Taints
- Name: `node-labels-and-taints`
- Groups: `doks`
When a DOKS cluster is upgraded, all worker nodes are replaced, and replacement nodes do not retain any custom labels or taints that were previously set by the user on the nodes. This check reports any labels or taints that will be lost on upgrade.
### How to Fix
```bash
kubectl label node <node-name> <label-key>-
kubectl taint node <node-name> <taint-key>-
```
Note the trailing `-` on the key; this causes `kubectl` to delete the label or taint.