Deployment of CNC Console
This procedure describes the steps to deploy CNCC. The below steps need to be executed from a server which has access to Kubectl and helm commands.
Table 4-2 CNCC Deployment
Step No. | Procedure | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1.
|
Search helm chart | Execute the following command to search helm
chart.
helm search <deployment_name> |
||||||||||||
2.
|
Prepare
custom_
cncconsole_values.yaml file
|
Prepare a
custom_
cncconsole _values.yaml file with the required parameter information.
Note:
|
||||||||||||
3.
|
Deploy CNCConsole |
Installation using helm repository Execute the following command:helm install <helm-repo> -f custom-cncconsole_values.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 For example:helm
install ocscp-helm-repo/ocscp -f custom-cncconsole_values.yaml --name
cncconsole --namespace cncc --version1.0.0
|
||||||||||||
|
Installation using helm tar Execute the following command:
helm install -f custom-cncconsole_values.yaml --name cncconsole -- namespace <namespace> <chartpath>./<chart>.tgz |
|||||||||||||
4.
|
Check repository status | Execute following command to check the
deployment status.
|
||||||||||||
5.
|
Check service status | Check if all the services are deployed and
running:
kubectl -n <namespace_name> get services
Sample Output:
|
||||||||||||
6.
|
Check pod status | Check if all the pods are up and running:
kubectl -n <namespace_name> get pods sample output: NAME READY STATUS RESTARTS AGE cncc-cmservice-6f8c8d889-qskvk 1/1 Running 0 2d21h cncc-ingress-559844f754-g788s 1/1 Running 0 2d21h |