From 9e57dbbfb63ed552422be3f77bc23f5b93710fa2 Mon Sep 17 00:00:00 2001 From: emarsha94 <52013262+emarsha94@users.noreply.github.com> Date: Thu, 9 May 2024 17:22:30 -0500 Subject: [PATCH 1/4] Update agent_integration.md to add how to install wheels on container env --- content/en/developers/integrations/agent_integration.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/content/en/developers/integrations/agent_integration.md b/content/en/developers/integrations/agent_integration.md index 6033ba8c86065..b8dd0bd9c56c5 100644 --- a/content/en/developers/integrations/agent_integration.md +++ b/content/en/developers/integrations/agent_integration.md @@ -436,6 +436,12 @@ sudo datadog-agent integration install -w /path/to/wheel.whl ``` +For installing your wheel to test in containerized environments: +1. Mount the whl into a initContainer +2. Run the whl install in a init container +3. Mount the init container in the agent container + +For customer install commands for both host and container environments, please see [here.][35] ## Populate your tile and publish your integration Once you have created your Agent-based integration, see the [Create a tile][20] documentation for information on populating the remaining [required assets][31] that appear on your integration tile, and opening a pull request. @@ -506,3 +512,4 @@ In addition to any code changes, the following is required when bumping an integ [32]: https://partners.datadoghq.com/ [33]: https://docs.datadoghq.com/developers/integrations/check_references/ [34]: https://docs.datadoghq.com/metrics/ +[35]: https://docs.datadoghq.com/agent/guide/use-community-integrations/ From 306c44080e0494cb3112dfaf0ab6f7473ec9d391 Mon Sep 17 00:00:00 2001 From: emarsha94 <52013262+emarsha94@users.noreply.github.com> Date: Thu, 9 May 2024 17:23:35 -0500 Subject: [PATCH 2/4] Update content/en/developers/integrations/agent_integration.md --- content/en/developers/integrations/agent_integration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/developers/integrations/agent_integration.md b/content/en/developers/integrations/agent_integration.md index b8dd0bd9c56c5..8ee678366ef54 100644 --- a/content/en/developers/integrations/agent_integration.md +++ b/content/en/developers/integrations/agent_integration.md @@ -438,7 +438,7 @@ sudo datadog-agent integration install -w /path/to/wheel.whl For installing your wheel to test in containerized environments: 1. Mount the whl into a initContainer -2. Run the whl install in a init container +2. Run the whl install in the init container 3. Mount the init container in the agent container For customer install commands for both host and container environments, please see [here.][35] From acdc4d03f489431d4a6dfdc3204830d745f9e614 Mon Sep 17 00:00:00 2001 From: emarsha94 <52013262+emarsha94@users.noreply.github.com> Date: Thu, 9 May 2024 17:24:11 -0500 Subject: [PATCH 3/4] Update content/en/developers/integrations/agent_integration.md --- content/en/developers/integrations/agent_integration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/developers/integrations/agent_integration.md b/content/en/developers/integrations/agent_integration.md index 8ee678366ef54..6ee40176003ba 100644 --- a/content/en/developers/integrations/agent_integration.md +++ b/content/en/developers/integrations/agent_integration.md @@ -439,7 +439,7 @@ sudo datadog-agent integration install -w /path/to/wheel.whl For installing your wheel to test in containerized environments: 1. Mount the whl into a initContainer 2. Run the whl install in the init container -3. Mount the init container in the agent container +3. Mount the init container in the agent container while it's running For customer install commands for both host and container environments, please see [here.][35] ## Populate your tile and publish your integration From b794439e9125c6e992d870d405dd696636664e86 Mon Sep 17 00:00:00 2001 From: Heston Hoffman Date: Fri, 31 May 2024 09:30:14 -0700 Subject: [PATCH 4/4] Apply suggestions from code review Co-authored-by: emarsha94 <52013262+emarsha94@users.noreply.github.com> --- content/en/developers/integrations/agent_integration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/developers/integrations/agent_integration.md b/content/en/developers/integrations/agent_integration.md index 6ee40176003ba..39326ce5ed33f 100644 --- a/content/en/developers/integrations/agent_integration.md +++ b/content/en/developers/integrations/agent_integration.md @@ -436,7 +436,7 @@ sudo datadog-agent integration install -w /path/to/wheel.whl ``` -For installing your wheel to test in containerized environments: +For installing your wheel to test in Kubernetes environments: 1. Mount the whl into a initContainer 2. Run the whl install in the init container 3. Mount the init container in the agent container while it's running