Closed audip closed 3 years ago
/remove-kind bug /triage needs-information
datadog-collector-host: datadog-agent.default.svc.cluster.local
kubectl -n <namespace> get cm <configmapname> -o yaml
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale
.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close
.
Send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.
This bot triages issues and PRs according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle rotten
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle rotten
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.
This bot triages issues and PRs according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/reopen
/remove-lifecycle rotten
Please send feedback to sig-contributor-experience at kubernetes/community.
/close
@k8s-triage-robot: Closing this issue.
NGINX Ingress controller version: 0.34.1
Kubernetes version (use
kubectl version
): 1.18.15Environment:
uname -a
):Linux ip-172-24-1-2 5.4.0-1035-aws #37-Ubuntu SMP Wed Jan 6 21:01:57 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
What happened:
100% of datadog traces were being sent to datadog, so we tried to configure sampling rate to 1% using these two flags: datadog-priority-sampling set to
false
and datadog-sample-rate to0.01
.Despite of that change, datadog continues to report 100% trace ingestion and nginx-ingress is picking up the default configuration values instead of the value being set in the configmap (reference: https://github.com/kubernetes/ingress-nginx/blob/controller-v0.34.1/internal/ingress/controller/config/config.go#L814-L815)
What you expected to happen:
Nginx ingress should load the new configuration when configmap has updated values for datadog opentracing module
How to reproduce it:
Install minikube/kind
Install the ingress controller
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/deploy/static/provider/baremetal/deploy.yaml
Setup a configmap to have similar values
Install datadog agent with configuration
Install an application that will act as default backend (is just an echo app)
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/docs/examples/http-svc.yaml
Create an ingress (please add any additional annotation required)
make a request
--->
Anything else we need to know:
Locally, I am able to reproduce it with 0.44.0 version
/kind bug