Install Additional Services/Network Functions

This assumes the service has docker images located on a docker registry that is reachable by the cluster's bastion, and associated helm charts located at a URL also accessible by the bastion.

Run the following commands from the cluster bastion.

Table B-18 Install Additional Services/Network Functions

Step No # Procedure Description
1.

Copy docker images needed for the service into the bastion-host docker registry
  1. Create a file docker_images.txt listing the required docker images and tags
    dockerRepo:5000/<serviceNameImage>
    Example
    dockerRepo:5000/serviceNameImage2:1.2.2
  2. Load these images into the cluster-local docker registry by running:
    $ /var/occne/cluster/<cluster>/artifacts/retrieve_docker.sh <central-repo>:<central-repo-docker-port> ${HOSTNAME}:5000 < docker_images.txt
2.

Copy helm charts needed for the service into the bastion-host helm chart repository
  1. Create a file helm_charts.txt listing the required helm charts and versions:
    helmRepoName/chart_name <version>
  2. Add the source helm repository to the cluster-local helm configuration (this need only be done once for each repo):
    $ helm repo add helmRepoName https://someUrl.oracle.com
  3. Load the chart(s) into the cluster-local helm chart repository by running:
    $ /var/occne/cluster/<cluster>/artifacts/retrieve_helm.sh http://<central-repo>/occne/charts /var/www/html/occne /var/occne/cluster/${OCCNE_CLUSTER}/artifacts/ < helm_charts.txt
3.

Install the service

Create a values.yaml file on the Bastion Host that contains the values needed by the Helm chart

To install the service run:

$ helm install --name <release-name> --namespace <service-namespace> -f values.yaml <chart_name>
4.

Updating an already installed service To update the service run:
$ helm upgrade -f values.yaml <release-name> <chart_name>
5.

Removing an already installed service To remove the service run:
$ helm del <release-name> --purge