Accessing kubeops-community packages

A brief overview of how you can access the kubeops-community packages.

Accessing kubeops-community packages

This documentation describes how to search for, install, and manage packages from the kubeops-community hub using the Kosi CLI.

Searching for Packages

To list all available packages within the KubeOps community, you use the search command.

Command:

kosi search --hub kubeops-community

Example Output:

User Name Version Description Install
kubeops-community hashicorp-vault 0.32.0 Official HashiCorp Vault Chart kubeops-community/hashicorp-vault:0.32.0
kubeops-community jenkins 5.8.142 Deploys jenkins via helm kubeops-community/jenkins:5.8.142
kubeops-community elasticsearch 8.5.1 Deploys elasticsearch via helm kubeops-community/elasticsearch:8.5.1

Note: This overview shows you the exact path needed for the installation step in addition to the package name and version.


Installing Packages

Once you have found a suitable package, you can deploy it into your Kubernetes cluster using the install command. You can assign a specific name to your deployment using the --dname flag.

General Syntax:

kosi install --hub <Hub_Name> <Install_Path> --dname <Deployment_Name>

Examples

Installing HashiCorp Vault:

kosi install --hub kubeops-community kubeops-community/hashicorp-vault:0.32.0 --dname hashicorp-vault

Installing Jenkins:

kosi install --hub kubeops-community kubeops-community/jenkins:5.8.142 --dname jenkins

Installing Elasticsearch:

kosi install --hub kubeops-community kubeops-community/elasticsearch:8.5.1 --dname elasticsearch

Listing Deployed Packages

To view all currently installed packages and their deployment names, use the list command. The deployment name is required for updates and deletions.

Command:

kosi list

Example Output:

Deployment Package PublicHub Hub
hashicorp-vault kubeops-community/hashicorp-vault:0.32.0 kubeops-community
jenkins kubeops-community/jenkins:5.8.142 kubeops-community
elasticsearch kubeops-community/elasticsearch:8.5.1 kubeops-community

Updating and Deleting Packages

To modify or remove an existing deployment, use the update or delete commands and include the --dname flag to specify which deployment you are targeting.

Updating a Package

The update command executes the update logic and updates the deployment in the Kubernetes cluster.

Example (Updating HashiCorp Vault):

kosi update --hub kubeops-community kubeops-community/hashicorp-vault:<new-version> --dname hashicorp-vault

Deleting a Package

The delete command executes the delete logic and removes the deployment from the Kubernetes cluster.

Example (Deleting HashiCorp Vault):

kosi delete --hub kubeops-community kubeops-community/hashicorp-vault:0.32.0 --dname hashicorp-vault