In this blog, I would like to Introduce Helm Chart which I built for vRealize LogInsight Cloud.
It deploys fluentd as deamonset to collect logs from Kubernetes Cluster. I have verified with the following flavors
- Tanzu Kubernetes Grid (TKG) K8 Cluster
- Vanilla K8 Clusters deployed on vSphere/AWS
![](https://1.bp.blogspot.com/-lmkVxlnxKmo/X7R4QOKBmVI/AAAAAAAAJ3c/gAMhRircLmcsqEKN8dPbEhzmCOxYaDdigCNcBGAsYHQ/w640-h261/Screen%2BShot%2B2020-11-17%2Bat%2B5.22.17%2BPM.png)
What is Helm ?
Helm is a package manager for Kubernetes. Helm is the best way to find, share, and use software built for Kubernetes.
What are Helm charts?
Helm Charts are Kubernetes YAML manifests combined into a single package that can be deployed to on K8 environments. Once packaged, installing a Helm Chart into your cluster is as easy as running a single helm command, which simplifies the deployment & upgrade process
Architecture
![](https://1.bp.blogspot.com/-ZjD1TmL4vhA/X7WCrsRvGNI/AAAAAAAAJ34/H7kSo2kMczQGD5sIF9Z1G7g0cZXHhwREACNcBGAsYHQ/w640-h418/K8s-Logs.png)
Pre-requisites
You need to have the following pre-requisites
- vRealize LogInsight Cloud API Token
- Helm Version = ‘3.x’
- Admin access to the Kubernetes Cluster
Installing the Chart – Procedure 1
Step 1 – Add Chart Repo
helm repo add loginsight-cloud https://munishpalmakhija.github.io/loginsight-cloud-helm/
Step 2 – Get Values file in your working directory
helm show values loginsight-cloud/loginsight-cloud-helm > values.yaml
Step 3 – Update Values file with API Token and other relevant details.
cat values.yaml
Step 4 – Install Chart.
helm install test-vrlic loginsight-cloud/loginsight-cloud-helm -f values.yaml
![](https://1.bp.blogspot.com/-kGodMkWcl5k/X7Rv-JK1C-I/AAAAAAAAJ3I/FMbM6nwYZr43BDiCVVjVU94VIeyRBMBkQCNcBGAsYHQ/s320/Screen%2BShot%2B2020-11-17%2Bat%2B4.12.42%2BPM.png)
Step 5 – Verify Kubernetes Pods
kubectl get pods -A | grep test-vrlic
![](https://1.bp.blogspot.com/-D9hJ14ADl24/X7RwEDX_rcI/AAAAAAAAJ3M/9dnuQTVk45ECQMEN4MnCivAk1lZWRzttwCNcBGAsYHQ/w400-h19/Screen%2BShot%2B2020-11-17%2Bat%2B4.13.19%2BPM.png)
Step 6 – Verify Helm Release
helm list
![](https://1.bp.blogspot.com/-0N-kCJrhTYk/X7RwJ9-DBzI/AAAAAAAAJ3Q/FwpwaRd2wBs8nOx7rev_XLUlYVeDu2mNgCNcBGAsYHQ/w400-h28/Screen%2BShot%2B2020-11-17%2Bat%2B4.16.39%2BPM.png)
Installing the Chart – Procedure 2
Step 1 – Add Chart Repo
helm repo add loginsight-cloud https://munishpalmakhija.github.io/loginsight-cloud-helm/
Step 2 – Install Chart by setting values during run time.
helm install test-vrlic loginsight-cloud/loginsight-cloud-helm --set vrlic.apikey=SETME --set tag.environment=DEMO
Step 3 – Verify Kubernetes Pods
kubectl get pods -A | grep test-vrlic
Step 4 – Verify Helm Release
helm list
![](https://1.bp.blogspot.com/-zeeaDY0We9s/X7R40-lgbiI/AAAAAAAAJ3k/iwkTemty19oX9IJ3MeDH22yY7Ho6lKc9ACNcBGAsYHQ/w640-h102/Screen%2BShot%2B2020-11-17%2Bat%2B5.22.01%2BPM.png)
Verify Logs
![](https://1.bp.blogspot.com/-yROROO8hTUs/X7R5G35TqjI/AAAAAAAAJ3s/zwLz9d83m_Y_gi8bGiIdLL1KHwRfdhnrACNcBGAsYHQ/w640-h120/Screen%2BShot%2B2020-11-17%2Bat%2B5.07.26%2BPM.png)
Getting Started with vRealize LogInsight Cloud
For a free trial, you can click here or reach out to your account team
To learn more about vRealize Log Insight Cloud please visit here