Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin support is required for air-gapped deployments #294

Open
anna-savchenko opened this issue Jan 29, 2024 · 2 comments
Open

Plugin support is required for air-gapped deployments #294

anna-savchenko opened this issue Jan 29, 2024 · 2 comments

Comments

@anna-savchenko
Copy link

Enhancement Proposal

Some plugins, such as Vonage, do not come pre-installed with the charm. If COS deployment is air-gapped, we first need to download the plugin zip file and then add it through the creation of a PVC. This is a lot of manual work.

A juju-supported way to install plugins from a zip file is required.

@IbraAoad
Copy link
Contributor

Enhancement Proposal

Some plugins, such as Vonage, do not come pre-installed with the charm. If COS deployment is air-gapped, we first need to download the plugin zip file and then add it through the creation of a PVC. This is a lot of manual work.

A juju-supported way to install plugins from a zip file is required.

Hi Anna,

  • grafana charm has a persistent storage already in place in /var/lib/grafana, is this where you can copy the plugins over or do you need to persist this to a different dir?
  • Are there any further actions you need to include in the manual flow to actually install the plugin?, is it (copy, unzip, restart the service?)

@anna-savchenko
Copy link
Author

Hey Ibrahim, my bad about creating the PVC, indeed this is not required.

This is how we add the plugins now:

$ juju scp --container grafana vonage-status-panel/ grafana/0:/var/lib/grafana/plugins
$ juju ssh --container grafana grafana/0
# grafana-cli plugins ls
installed plugins:
vonage-status-panel @ 1.0.11
Please restart Grafana after installing plugins. Refer to Grafana documentation for instructions if necessary.
# exit
$ juju exec --unit grafana/0 -- PEBBLE_SOCKET=/charm/containers/grafana/pebble.socket pebble restart grafana

But it would be ideal if we could add the plugins through charm resources. To avoid any additional steps after deploying the COS bundle.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants