Add verification of Calico cluster state after upgrade
Simple verification of Calico cluster state and Calico components
is added to ensure that upgrade went fine.
Verification is done in several steps:
1. Check Calico cluster and clients' versions. Versions on different
nodes should match and should comply with "v3.x" pattern.
2. Check Calico nodes' statuses. Every cluster node should have
'calico-node' running and BGP peers of every node sholud be
reachable.
3. Check that 'calico-kube-controllers' pod is running. One such pod
should be running in the Kubernetes cluster.
Appropriate warning messages are issued for every failed verification
step.
Related-Prod: PROD-24925 (PROD:24925)
Change-Id: Ib7257894b73e4cb9c61e6c9f29dba0212afc40f4
1 file changed