What is Glasskube ?
Glasskube is a kubernetes package manager which simplifies the package management a lot . It is an open source project and very simple to use. You can even use Glasskube UI to reduce complexity and increase transparency. The packages here are already dependency aware . You can explore the GitHUb repo here .
Features of Glasskube
- It supports both CLI and GUI .
- Packages here are dependency aware
- Packages are stored in Custom Resources and hence can be easily managed by any GitOps tool
- Make sure that your packages and apps are always up-to-date.
- You can use its central repository . Support for custom repo is also planned .
Getting started with Glasskube
To install glasskube via homebrew
brew install glasskube/tap/glasskube
To bootstrap it in your cluster
Glasskube is still in technical preview and thus requires manual bootstrap. Community will implement automatic bootstrapping in future versions. To install packages, you need to install the required server packages using the following commands, which most users can do..
glasskube bootstrap
Start the package manager
glasskube serve
After this you will be able to explore available packages on http://localhost:8580
Install packages using glasskube
glasskube install <package>
- To install latest version of a package :
-
glasskube install keptn
- To install the specific version you can use :
-
glasskube install keptn --version=<keptn-version>
- To enable auto-update and pass some value :
-
glasskube install keptn --version=<keptn-version> --enable-auto-update --value key=value
–enable-auto-update keep your packages automatically updated to the latest version and if you want to pass any value with installation you can use –value flag multiple times
Modify configuration of a package
glasskube configure <package> --value key=value
If you want to moduify the configuration of the installed packages you can use this
Uninstall packages
glasskube uninstall <package>
It will remove the package from your cluster.
There are multiple benefits of using this package manager over helm or other package manager . This project is still growing, and maintainers will include more and more packages in the future.
Thats all for this blog . If you want to explore more about glasskube you can refer to the official website. To explore more such blogs visit Nashtech blogs