Integrate with applications¶
This guide shows how to integrate Charmed Apache Kyuubi K8s with both charmed and non-charmed applications.
Charmed applications¶
Integrations with charmed applications are supported via the kyuubi_client interface.
Note
You can see which existing charms are compatible with Kyuubi in the Integrations tab on Charmhub.
The kyuubi_client interface¶
To integrate, run
juju integrate kyuubi-k8s:database <charm>
To remove the integration, run
juju remove-relation kyuubi-k8s <charm>
Non-charmed applications¶
To integrate with an application outside of Juju, use the data-integrator charm to create the required credentials and endpoints.
Deploy the data-integrator charm:
juju deploy data-integrator --config database-name=<name>
Integrate with Charmed Apache Kyuubi K8s:
juju integrate data-integrator kyuubi-k8s
Use the get-credentials action to retrieve credentials from data-integrator:
juju run data-integrator/leader get-credentials
Note
Obtaining credentials in LDAP authentication mode
The data-integrator charm’s get-credentials action does not return username and password in the results when LDAP authentication is used. This is because in LDAP, the users are managed externally, and thus the username and password should be received externally from the LDAP provider.
Rotate application password¶
To rotate the passwords of a user created for an integrated application, the associated integration must be removed and created again. This process will generate a new user and password for the application.
juju remove-relation <charm> kyuubi-k8s
juju integrate <charm> kyuubi-k8s
For a non-charmed application, the data-integrator is the <charm> to remove and re-create the integration with.