Deployment of CNC Console-IAM

Table 3-2 Deployment of CNC Console-IAM

Step.No Procedure Description
1 Search helm chart Execute the following command to check the version of the helm chart installation.

helm search <deployment_name>

2 Prepare custom-cncc-iam_values<version>.yaml file Prepare a custom-cncc-iam_values_<version>.yaml file with the required parameter information.
3 Deploy cncc-iam Installation using helm repository

Execute the following command:

helm install <helm-repo> -f <custom-cncc-iam_values_<version>.yaml --name <deployment_name> --namespace <namespace_name> -- version <helm_version>

Where:

helm-repo: repository name where the helm images, charts are stored

values: helm configuration file which needs to be updated based on the docker registry

deployment_name and namespace_name : depends on customer configuration

Example: helm install ocscp-helm-repo/ocscp -f custom-cncc-iam_values_1.0.0.yaml --name cncc-iam --namespace cncc-iam --version1.0.0

Note: Update dbVendor, dbHost , dbName fields in custom-cncc-iam_values_1.0.0.yaml

Example:

dbVendor: mysql

dbName: cnccDb

dbHost: mysql-sds.default.svc.cluster.local

dbPort: 3306

Note: DB must be created first and its DB account name must be mentioned

Installation using helm tar

Execute the following command:

helm install -f custom-cncc-iam_values_<version>.yaml --name cncc-iam --namespace <namespace> <chartpath>./<chart>.tgz

Example:helm install -f custom-cncc-iam_values_1.0.0.yaml --name cncc-iam --namespace cncc-iam ./cncc-iam.tgz

4 Check repository status Execute the following command to check the deployment status.

helm status <deployment_name>

5 Check service status Check if all the services are deployed and running:

kubectl -n <namespace_name> get services

NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
kc-cncc-iam-headless ClusterIP None <none> 8285/TCP,8443/TCP 44h
kc-cncc-iam-http NodePort 10.104.122.5 <none> 8285:30024/TCP,8443:30408/TCP 44h
6 Check pod status Check if all the pods are up and running:

kubectl -n <namespace_name> get pods

NAME READY STATUS RESTARTS AGE
kc-cncc-iam-0 1/1 Running 0 44h