6 CNC Console Helm Test
Helm Test is a feature which validates CNCC Successful Installation along with readiness (Readiness probe url configured will be checked for success) of all the pods. The pods to be checked will be based on the namespace and label selector configured for the helm test configurations.
Note:
Helm3 is mandatory for the Helm Test feature to work.The following instructions needs to be followed to execute the Helm test functionality.
The configurations mentioned in the step below must be done before executing the helm
install command.
- Configure the helm test configurations which are under global
sections in values. Refer the configurations below:
CNCC Core Helm Test
global: # Helm test related configurations test: nfName: cncc-core image: name: cncc/nf_test tag: 1.3.0 config: logLevel: WARN timeout: 40CNCC IAM Helm Test
# Helm test related configurations test: nfName: cncc-iam image: name: cncc/nf_test tag: 1.3.0 config: logLevel: WARN timeout: 40 - Execute the below command to run Helm test on the installation
done:
helm3 test <helm_release_name> -n <k8s namespace> Example: helm3 test cncc-core -n cncc NAME: cncc-core LAST DEPLOYED: Tue Aug 4 07:52:08 2020 NAMESPACE: cncc STATUS: deployed REVISION: 1 TEST SUITE: cncc-core-test Last Started: Tue Aug 11 07:16:09 2020 Last Completed: Tue Aug 11 07:16:20 2020 Phase: Succeeded NOTES: # Copyright 2020 (C), Oracle and/or its affiliates. All rights reserved. Thank you for installing cncc-core. Your release is named cncc-core , Release Revision: 1. To learn more about the release, try: $ helm status cncc-core $ helm get cncc-core - Wait for the helm test to complete. Check for the output to see if the test job is successful.