13.2.3 Finding Required Domain Details
The YAML files for ELK require certain domain values to be added.
- Run the following command to get the
mountPathof your domain:
For example:kubectl describe domains <domain_uid> -n <domain_namespace> | grep "Mount Path"
If you deployed OIG using WLST, the output will look similar to the following:kubectl describe domains governancedomain -n oigns | grep "Mount Path"
If you deployed OIG using WDT, the output will look similar to the following:Mount Path: /u01/oracle/user_projects/domainsMount Path: /u01/oracle/user_projects - Run the following command to get the
Domain HomeandLog Homeof your domain:
For example:kubectl describe domains <domain_uid> -n <domain_namespace> | egrep "Domain Home: | Log Home:"
The output will look similar to the following:kubectl describe domains governancedomain -n oigns | egrep "Domain Home: | Log Home:"Domain Home: /u01/oracle/user_projects/domains/governancedomain Http Access Log In Log Home: true Log Home: /u01/oracle/user_projects/domains/logs/governancedomain - Run the following command to get the OIG domain persistence volume
details:
For example:kubectl get pv -n <domain_namespace>
The output will look similar to the following:kubectl get pv -n oigns
Make note of theNAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE governancedomain-domain-pv 10Gi RWX Retain Bound oigns/governancedomain-domain-pvc governancedomain-oim-storage-class 28hCLAIMvalue. In the example above the value isgovernancedomain-domain-pvc.