Skip to content

Commit

Permalink
Clarify docs on installing CRD and Windows (#356)
Browse files Browse the repository at this point in the history
Signed-off-by: Matej Gera <[email protected]>
  • Loading branch information
matej-g authored Jan 18, 2024
1 parent a2146f5 commit 3fcbd32
Showing 1 changed file with 27 additions and 6 deletions.
33 changes: 27 additions & 6 deletions otel-integration/k8s-helm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,11 +128,18 @@ In order to get the updated Helm charts from the added repository, please run:
helm repo update
```

Install the chart with the CRD `values-crd-override.yaml` file:
Install the chart with the CRD `values-crd-override.yaml` file. You can either provide the global values (secret key, cluster name) by adjusting the main `values.yaml` file and then passing the `values.yaml` file to the `helm upgrade` command as following:

```bash
helm upgrade --install otel-coralogix-integration coralogix-charts-virtual/otel-integration \
--render-subchart-notes -f values-crd-override.yaml
--render-subchart-notes -f values.yaml -f values-crd-override.yaml
```

Or you can provide the values directly in the command line by passing them with the `--set` flag:

```bash
helm upgrade --install otel-coralogix-integration coralogix-charts-virtual/otel-integration \
--render-subchart-notes -f values-crd-override.yaml --set global.clusterName=<cluster_name> --set global.domain=<domain>
```

### Enabling scraping of Prometheus custom resources (`ServiceMonitor` and `PodMonitor`)
Expand All @@ -159,11 +166,18 @@ In order to get the updated Helm charts from the added repository, please run:
helm repo update
```

Install the chart with the CRD `values-windows.yaml` file:
Install the chart with the CRD `values-windows.yaml` file. You can either provide the global values (secret key, cluster name) by adjusting the main `values.yaml` file and then passing the `values.yaml` file to the `helm upgrade` command as following:

```bash
helm upgrade --install otel-coralogix-integration coralogix-charts-virtual/otel-integration \
--render-subchart-notes -f values-windows.yaml
--render-subchart-notes -f values.yaml -f values-windows.yaml
```

Or you can provide the values directly in the command line by passing them with the `--set` flag:

```bash
helm upgrade --install otel-coralogix-integration coralogix-charts-virtual/otel-integration \
--render-subchart-notes -f values-windows.yaml --set global.clusterName=<cluster_name> --set global.domain=<domain>
```

### Installing the chart on GKE Autopilot clusters.
Expand Down Expand Up @@ -192,11 +206,18 @@ In order to get the updated Helm charts from the added repository, please run:
helm repo update
```

Install the chart with the CRD `gke-autopilot-values.yaml` file:
Install the chart with the CRD `gke-autopilot-values.yaml` file. You can either provide the global values (secret key, cluster name) by adjusting the main `values.yaml` file and then passing the `values.yaml` file to the `helm upgrade` command as following:

```bash
helm upgrade --install otel-coralogix-integration coralogix-charts-virtual/otel-integration \
--render-subchart-notes -f values.yaml -f gke-autopilot-values.yaml
```

Or you can provide the values directly in the command line by passing them with the `--set` flag:

```bash
helm upgrade --install otel-coralogix-integration coralogix-charts-virtual/otel-integration \
--render-subchart-notes -f gke-autopilot-values.yaml
--render-subchart-notes -f gke-autopilot-values.yaml --set global.clusterName=<cluster_name> --set global.domain=<domain>
```

# How to use it
Expand Down

0 comments on commit 3fcbd32

Please sign in to comment.