Downloading a Helm chart version for agent versions up to v1.5.x
You can use a Helm chart to deploy, upgrade, and remove the Logging agent from a Kubernetes cluster or an Openshift cluster.
Complete the following steps to download a Helm chart version for agent versions up to v1.5.x:
-
Login to IBM Cloud using the CLI.
For detailed instructions about logging in using the IBM Cloud CLI, see ibmcloud login.
-
Check the Helm chart versions that are available. For more information, see Checking the available Helm chart versions.
-
Login to the Helm registry by running the helm registry login command:
helm registry login -u iambearer -p $(ibmcloud iam oauth-tokens --output json | jq -r .iam_token | cut -d " " -f2) icr.ioWindows Windows PowerShell users should use this command instead:
helm registry login -u iambearer -p ((ibmcloud iam oauth-tokens --output json | ConvertFrom-Json).iam_token -replace 'Bearer ', '') icr.io -
Run the following command to download a Helm chart:
helm pull oci://icr.io/ibm/observe/logs-agent-helm --version CHART_VERSIONA file named
logs-agent-helm-{CHART_VERSION}.tgzis downloaded.For example, when you run
helm pull oci://icr.io/ibm/observe/logs-agent-helm --version 1.5.0, the file logs-agent-helm-1.5.0.tgz is downloaded. -
Run the following command to extract the chart files:
tar -xvf logs-agent-helm-{CHART_VERSION}.tgz