The cloudbolt-collector
chart deploys an application that extracts Kubernetes cluster utilization data
and sends it to the CloudBolt platform.
- Helm 3: To install Helm, run the following commands:
curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 chmod 700 get_helm.sh ./get_helm.sh
Below is a table of various parameters that can be set in the values.yaml
file of the cloudbolt-collector-helm
chart, along with their required status and default values:
Parameter | Required | Description | Default Value |
---|---|---|---|
DEBUG |
No | Debug mode flag | "" (empty string) |
IMAGE_VERSION |
No | Version of the image | "<helm-chart-version>" |
INGESTION_API_URL |
Yes | Ingestion API URL | "" (empty string) |
Before you begin, ensure you have access to an OpenShift Cluster and have Helm installed in your environment.
Execute the following command to log in to your OpenShift Cluster. Replace <username>
, <cluster-ip>
, and <cluster-port>
with your actual OpenShift credentials and cluster information.
oc login --username <username> <cluster-ip>:<cluster-port>
Add the CloudBolt Collector Helm repository to your Helm configuration:
helm repo add cloudbolt-collector https://cloudboltsoftware.github.io/cloudbolt-collector-helm/
helm repo update
Create a new project or namespace in your OpenShift cluster:
oc new-project cloudbolt-collector
Select the project in which we are going deploy with following command:
oc project cloudbolt-collector
Replace <placeholders>
with appropriate values:
export IMAGE_VERSION="<release-version>" # Default is chart version
export INGESTION_API_URL="<ingestion-api-url>"
Create the necessary secrets for API access:
oc create secret generic cb-ingestion-token \
--from-literal=INGESTION_API_TOKEN=<ingestion-api-token> \
-n cloudbolt-collector
Install the latest CloudBolt Collector Helm chart from the cloudbolt-collector
repository.
If you want to install version v0.20.0
, you can specify it using the --version
flag:
helm install cloudbolt-collector cloudbolt-collector/cloudbolt-collector \
--set INGESTION_API_URL=$INGESTION_API_URL
To upgrade the CloudBolt Collector Helm chart to a newer version, first ensure your local Helm repository index is updated:
helm repo update cloudbolt-collector
Then, upgrade the release to the desired version. If you want to upgrade to the latest version available in the repository, use the following command:
helm upgrade cloudbolt-collector cloudbolt-collector/cloudbolt-collector \
--set INGESTION_API_URL=$INGESTION_API_URL
If you wish to upgrade to a specific version, use the --version
flag:
helm upgrade cloudbolt-collector cloudbolt-collector/cloudbolt-collector \
--version v0.21.0 \
--set IMAGE_VERSION=$IMAGE_VERSION \
--set INGESTION_API_URL=$INGESTION_API_URL