Skip to content

Commit

Permalink
GITBOOK-88: No subject
Browse files Browse the repository at this point in the history
  • Loading branch information
doppleware authored and gitbook-bot committed Apr 5, 2024
1 parent 83eed68 commit 43bd279
Showing 1 changed file with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,14 @@ If your application is running on Kubernetes you can easily instrument it using

1. Install [Kustimize](https://kubectl.docs.kubernetes.io/installation/kustomize/). 
2. Clone or download our [helper](https://github.com/digma-ai/digma-helm-helper) repo 
3. Run the `create_customization.sh` script. You'll need to pass it some parameters based on the application and the Digma `collector-api` IP/DNS address (read more [here](../../installation/central-on-prem-install.md)). Once you run this command, the helper scripts will generate a patch that can be applied with your Helm file to instrument the application.  
3. Make sure the scripts have execution permission

```
sudo chmod +x ./kustomize/kustomize_build.sh
sudo chmod +x ./kustomize/prepare.sh
```

4. Run the `create_customization.sh` script. You'll need to pass it some parameters based on the application and the Digma `collector-api` IP/DNS address (read more [here](../../installation/central-on-prem-install.md)). Once you run this command, the helper scripts will generate a patch that can be applied with your Helm file to instrument the application.  

{% code overflow="wrap" %}
```bash
Expand All @@ -21,7 +28,7 @@ If your application is running on Kubernetes you can easily instrument it using

Following the last step, you should have two generated files in your local directory: `patch.yaml` and `kustomization.yaml` these will be used to patch in the instrumentation logic when you run the Helm file in the step.

4. Finally, run your helm file with an additional `--post-renderer` argument
5. Finally, run your helm file with an additional `--post-renderer` argument

{% code overflow="wrap" %}
```bash
Expand Down

0 comments on commit 43bd279

Please sign in to comment.