-
Story
-
Resolution: Done
-
Normal
-
MCE 2.9.0
-
None
As part of the n-4 hosted cluster OCP version support, we need to update the existing hypershift MCE CI test scripts to verify that MCE can import n ~ n-4 hosted cluster versions and the MCE addon agents get installed and work in the hosted cluster.
Verify that the hosted cluster import works by using the following commands:
ManagedClusterJoined=`oc get managedcluster ${hostedClusterName} -o jsonpath='{.status.conditions[?(@.type=="ManagedClusterJoined")].status}'`
ManagedClusterConditionAvailable=`oc get managedcluster ${hostedClusterName} -o jsonpath='{.status.conditions[?(@.type=="ManagedClusterConditionAvailable")].status}'`
ManagedClusterURL=`oc get managedcluster ${hostedClusterName} -o jsonpath='{.spec.managedClusterClientConfigs[0].url}'`
Expect ManagedClusterJoined = True, ManagedClusterConditionAvailable=True, and ManagedClusterURL is not empty.
Verify that the MCE addon agents are installed and working in the hosted cluster by using the following commands.
ClusterProxyAddonAvailable=`oc get managedclusteraddon cluster-proxy -n ${hostedClusterName} -o jsonpath='{.status.conditions[?(@.type=="Available")].status}'`
MSAAddonAvailable=`oc get managedclusteraddon managed-serviceaccount -n ${hostedClusterName} -o jsonpath='{.status.conditions[?(@.type=="Available")].status}'`
WorkManagerAddonAvailable=`oc get managedclusteraddon work-manager -n ${hostedClusterName} -o jsonpath='{.status.conditions[?(@.type=="Available")].status}'`
Expect ClusterProxyAddonAvailable = MSAAddonAvailable = WorkManagerAddonAvailable = "True".
- is depended on by
-
OCPSTRAT-1650 Comprehensive testing strategy for HCP to ensure compatibility across versions and environments
-
- Closed
-
- links to