...
Rename the obtained metadata (XML) file from the customer to “kfuse.xml” exactly.
OR
If the customer provided you with a url to the metadata file, then do a curl on the url and save its output to the “kfuse.xml” file name exactly. Save this directly in the customer’s terminal.
Code Block curl {metadata xml file url} > kfuse.xml
In the customer’s cluster and appropriate namespace, run this command
Code Block kubectl create secret generic kfuse-xml --from-file=kfuse.xml
...
Exec into kfuse-configdb shell . using command -
Code Block k exec -it kfuse-configdb-0 -- bash
psql into the postgres using command -
Code Block psql -U postgres
It will ask for password for kfuse-configdbpostgres. Provide that.
Check all tables and if
samldb
exist database exists using the command-Code Block \l
Delete and create the table
samldb
Code Block dropDROP databaseDATABASE samldb; CREATE createdbDATABASE samldb;