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

Set useGOMEMLIMIT to true for testing #4795

Merged
merged 6 commits into from
Oct 19, 2023
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ci/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ WORKDIR /src
ADD . /src
RUN make otelcontribcol

FROM 486234852809.dkr.ecr.us-east-1.amazonaws.com/base:xenial
FROM 486234852809.dkr.ecr.us-east-1.amazonaws.com/base:focal
USER root

RUN clean-apt install make \
Expand Down
4 changes: 2 additions & 2 deletions ci/scripts/ci-deploy-staging.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ install_collector() {

# if repo already exists, helm 3+ will skip
helm --debug repo add open-telemetry https://open-telemetry.github.io/opentelemetry-helm-charts

helm repo update open-telemetry
# --install will run `helm install` if not already present.
helm --debug upgrade "${release_name}" -n "${namespace}" open-telemetry/opentelemetry-collector --install \
-f ./ci/values.yaml \
-f "${values}" \
--set-string image.tag="otelcolcontrib-v$CI_COMMIT_SHORT_SHA" \
--set-string image.repository="601427279990.dkr.ecr.us-east-1.amazonaws.com/otel-collector-contrib"

helm list --all-namespaces
}

###########################################################################################################
Expand Down
4 changes: 4 additions & 0 deletions ci/values-staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@ nodeSelector:
presets:
logsCollection:
enabled: false
useGOMEMLIMIT: true
resources:
limits:
memory: 160Mi
mx-psi marked this conversation as resolved.
Show resolved Hide resolved
1 change: 1 addition & 0 deletions ci/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ config:
http:
endpoint: 0.0.0.0:4318
exporters:
debug: null
mx-psi marked this conversation as resolved.
Show resolved Hide resolved
logging:
verbosity: detailed
datadog:
Expand Down
Loading