Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[OTEL-1982] Support OTEL agent docker deployement #968

Merged
merged 10 commits into from
Jul 26, 2024

Conversation

KevinFairise2
Copy link
Member

@KevinFairise2 KevinFairise2 commented Jul 23, 2024

What does this PR do?

Add options to be able to deploy the otel-agent in Kubernetes environments

To make it easier it also slightly refactor the way we know which image we should fetch when running in the CI

Which scenarios this will impact?

Motivation

Additional Notes

Needs DataDog/helm-charts#1429

@KevinFairise2 KevinFairise2 force-pushed the kfairise/otel-agent-kubernetes branch from 73caf2f to 857574c Compare July 23, 2024 12:02
@KevinFairise2 KevinFairise2 marked this pull request as ready for review July 24, 2024 12:28
@KevinFairise2 KevinFairise2 requested a review from a team as a code owner July 24, 2024 12:28
if e.PipelineID() != "" && e.CommitSHA() != "" && imageTag == "" {
tag := fmt.Sprintf("%s-%s", e.PipelineID(), e.CommitSHA())
if otel {
tag = fmt.Sprintf("%s-7-ot-beta", tag)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI this beta suffix is subject to change and will eventually be removed or updated

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK. We should be able to modify it easily when needed. Do not think it is worth to do more here as I think the tag will not change every two days once this is no longer in beta

components/datadog/agent/kubernetes_helm.go Outdated Show resolved Hide resolved
components/datadog/kubernetesagentparams/params.go Outdated Show resolved Hide resolved
components/datadog/kubernetesagentparams/params.go Outdated Show resolved Hide resolved
components/datadog/kubernetesagentparams/params.go Outdated Show resolved Hide resolved
@KevinFairise2 KevinFairise2 enabled auto-merge (squash) July 26, 2024 12:55
@KevinFairise2 KevinFairise2 merged commit 6777957 into main Jul 26, 2024
8 checks passed
@KevinFairise2 KevinFairise2 deleted the kfairise/otel-agent-kubernetes branch July 26, 2024 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants