...
This will initialize the contents of the persistent volume, however, additional setup is required for the DTP and Data Collector containers to run correctly.
Setup Set up DTP to connect to your database
...
Code Block | ||
---|---|---|
| ||
DTP_DATA_DIR/lib/thirdparty/ |
Initialize the DTP database. For example, if you are connecting to a MySQL databases that exist exists in the same cluster:
Code Block | ||
---|---|---|
| ||
kubectl exec dtp -c dtp-server -- cat dtp/grs/db/dtp/mysql/create.sql | kubectl exec -i <mysql pod name> -- mysql -u<username> -p<password> |
...