Exit code of install/update of release postgres is 0
+ return 0
[yyyy-mm-dd hh:mm:ss] ERROR Release 'Pod Name' in namespace 'prelude' failed to come up
kubectl describe pod <Pod-Name-pod_id> -n prelude"
for each of the pods in pending status shows a message at the bottom similar to: "Warning FailedScheduling 10m default-scheduler 0/N node(s) are available: N node(s) were unschedulable
."
Running the command "kubectl get nodes"
on each node shows a SchedulingDisabled
status:
NAME STATUS ROLES AGE VERSION
AA-Node1 Ready,SchedulingDisabled control-plane,master 77d v1.20.11-1+1f8a47eae6d024-dirty
AA-Node2 Ready,SchedulingDisabled control-plane,master 77d v1.20.11-1+1f8a47eae6d024-dirty
AA-Node3 Ready,SchedulingDisabled control-plane,master 77d v1.20.11-1+1f8a47eae6d024-dirty
Status
" field shows "SchedulingDisabled
," which indicates that Kubernetes on the Aria Automation nodes is in Maintenance Mode.Unshedulable
" state, follow the below steps:To bring Kubernetes Out Of Maintenance Mode and make K8s schedulable again, execute the following commands:
In case of a 3 node clusterkubectl uncordon <AAnode1fqdn>
kubectl uncordon <AAnode2fqdn>
kubectl uncordon <AAnode3fqdn>
kubectl uncordon <AAnodefqdn>
Kubectl get nodes
" to verify that the STATUS
field now only shows "Ready
"After completing this, the pods should begin running again. If they still do not start, run the following command to rebuild the pods:/opt/scripts/deploy.sh