From b034b64609153959ded6899258df62952d62f8c3 Mon Sep 17 00:00:00 2001 From: Chimbu Chinnadurai <112865563+Chimbu-DoiT@users.noreply.github.com> Date: Tue, 20 Feb 2024 11:43:05 +0000 Subject: [PATCH] Updated README.md with installation instructions --- README.md | 33 +++++++++++++++++++++++++++++---- 1 file changed, 29 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 57c29be..109691e 100644 --- a/README.md +++ b/README.md @@ -16,9 +16,9 @@ To generate templates: helm template doit-eks-lens-helm-chart/doit-eks-lens -To install the doit-eks-lens chart: +To install the doit-eks-lens chart with its own kube-state-metrics deployment: - helm install doit-eks-lens doit-eks-lens-helm-chart/doit-eks-lens --set region= \ + helm upgrade -install doit-eks-lens doit-eks-lens-helm-chart/doit-eks-lens --set region= \ --set metricsDeploymentId= \ --set s3_bucket= \ --set s3_prefix= \ @@ -28,7 +28,7 @@ To install the doit-eks-lens chart: Example: - helm install doit-eks-lens doit-eks-lens-helm-chart/doit-eks-lens --set region=us-east-1 \ + helm upgrade -install doit-eks-lens doit-eks-lens-helm-chart/doit-eks-lens --set region=us-east-1 \ --set metricsDeploymentId=2Dw7oXwSkgjwjsXGcSMr \ --set s3_bucket=doitintl-eks-metrics-410386763839-us-east-1 \ --set s3_prefix=eks-metrics/410386763839/us-east-1/public \ @@ -36,6 +36,31 @@ Example: --namespace doit-eks-metrics \ --create-namespace +To install the doit-eks-lens chart without kube-state-metrics deployment and use an existing kube-state-metrics in the cluster: + + helm upgrade -install doit-eks-lens doit-eks-lens-helm-chart/doit-eks-lens --set region= \ + --set metricsDeploymentId= \ + --set s3_bucket= \ + --set s3_prefix= \ + --set role_arn= \ + --set kubeStateMetrics.install=false \ + --set collector.otelcol.kubeStateMetrics.endpoint= \ + --namespace doit-eks-metrics \ + --create-namespace + +Example: + + helm upgrade -install doit-eks-lens doit-eks-lens-helm-chart/doit-eks-lens --set region=us-west-2 \ + --set metricsDeploymentId=2Dw7oXwSkgjwjsXGcSMr \ + --set s3_bucket=doitintl-eks-metrics-317630533282-us-west-2 \ + --set s3_prefix=eks-metrics/317630533282/us-west-2/wonderful-sheepdog-1708421720 \ + --set role_arn=arn:aws:iam::317630533282:role/doit_eks_us-west-2_wonderful-sheepdog-1708421720 \ + --set kubeStateMetrics.install=false \ + --set collector.otelcol.kubeStateMetrics.endpoint="kube-state-metrics.kube-system:8080" \ + --namespace doit-eks-metrics \ + --create-namespace + + To uninstall the chart: - helm delete doit-eks-lens --namespace doit-eks-metrics \ No newline at end of file + helm delete doit-eks-lens --namespace doit-eks-metrics