/opt/scripts/deploy.sh --shutdownRunning check eth0-ip
Running check node-name
Running check non-default-hostname
Running check single-aptr
Running check nodes-readymake: *** [/opt/health/Makefile:56: nodes-ready] Error 1Running check nodes-count
Running check fips
make: Target 'deploy' not remade because of errors.
kubectl get nodes shows one node in a NotReady statekubectl -n prelude get pods -o wide shows the postgres-0 pod in a pending statekubectl describe nodes | grep "Name:\|Taints:" shows that the node where postgres-0 is running is taintedNotReady state. This causes the health check scripts to fail when deploy.sh is runkubectl get nodes to determine which node is a NotReady state kubectl -n prelude get pods -o wide to verify that the postgres-0 pod in a pending statekubectl describe nodes | grep "Name:\|Taints:" verify that the node where postgres-0 is running is taintedroot@servername01 [ ~ ]# kubectl describe nodes | grep "Name:\|Taints:"Name: servername01.example.localTaints: node.kubernetes.io/unreachable:NoScheduleName: servername02.example.localTaints: <none>Name: servername03.example.localTaints: <none>
kubectl taint nodes servername01.example.local node.kubernetes.io/unreachable:NoSchedule-
kubectl describe nodes | grep "Name:\|Taints:" It should now show that there is no taint:
root@servername01 [ ~ ]# kubectl describe nodes | grep "Name:\|Taints:"Name: servername01.example.localTaints: <none>Name: servername02.example.localTaints: <none>Name: servername03.example.localTaints: <none>
Note: In some cases the taint may still show up, rerun the command until the taint no longer shows on the affected node or any of the nodes.
kubectl get nodes"Ready", the shutdown command can be run again. /opt/scripts/deploy.sh --shutdown