This section shows how to upgrade Elasticsearch and Kibana.
To determine if this step is required for the version you are upgrading to, refer to the Release Notes.
Download the latest code repository as follows:
Create a working directory to setup the source code.
$ mkdir <workdir>
$ mkdir /scratch/OUDSMK8Slatest
Download the latest OUDSM deployment scripts from the OUDSM repository.
$ cd <workdir> $ git clone https://github.com/oracle/fmw-kubernetes.git
$ cd /scratch/OUDSMK8Slatest $ git clone https://github.com/oracle/fmw-kubernetes.git
$WORKDIR environment variable as follows:
$ export WORKDIR=<workdir>/fmw-kubernetes/OracleUnifiedDirectorySM
$ export WORKDIR=/scratch/OUDSMK8Slatest/fmw-kubernetes/OracleUnifiedDirectorySM
From October 22 (22.4.1) onwards, OUDSM logs should be stored on a centralized Elasticsearch and Kibana (ELK) stack.
Deployments prior to October 22 (22.4.1) used local deployments of Elasticsearch and Kibana.
If you are upgrading from July 22 (22.3.1) or earlier, to January 23 (23.1.1) or later, you must first undeploy Elasticsearch and Kibana using the steps below:
Navigate to the
$WORKDIR/kubernetes/helm directory and create a
logging-override-values-uninstall.yaml with the following:
elk: enabled: false
Run the following command to remove the existing ELK deployment:
$ helm upgrade --namespace <domain_namespace> --values <valuesfile.yaml> <releasename> oudsm --reuse-values
$ helm upgrade --namespace oudsmns --values logging-override-values-uninstall.yaml oudsm oudsm --reuse-values