-
Notifications
You must be signed in to change notification settings - Fork 280
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
Bump nginx to v1.10.1 #6022
Bump nginx to v1.10.1 #6022
Conversation
Signed-off-by: Derek Nola <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #6022 +/- ##
===========================================
+ Coverage 9.86% 26.20% +16.34%
===========================================
Files 32 32
Lines 2686 2686
===========================================
+ Hits 265 704 +439
+ Misses 2399 1936 -463
- Partials 22 46 +24
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Hello, I have checked using the release v1.27.15-rc3+rke2r1 and by overriding apiVersion: helm.cattle.io/v1
kind: HelmChartConfig
metadata:
name: rke2-ingress-nginx
namespace: kube-system
spec:
bootstrap: true
valuesContent: |
controller:
opentelemetry:
enabled: true
containerSecurityContext:
allowPrivilegeEscalation: false
config:
enable-opentelemetry: true
opentelemetry-config: /etc/nginx/opentelemetry.toml
opentelemetry-operation-name: HTTP $request_method $service_name $uri
opentelemetry-trust-incoming-span: 'true'
otlp-collector-host: tempo.tempo # or otel-coll-collector.otel.svc
otlp-collector-port: '4317'
otel-max-queuesize: '2048'
otel-schedule-delay-millis: '5000'
otel-max-export-batch-size: '512'
otel-service-name: nginx-proxy
otel-sampler: AlwaysOn
otel-sampler-ratio: '1.0'
otel-sampler-parent-based: false
server-snippet: |
opentelemetry_attribute "ingress.namespace" "$namespace";
opentelemetry_attribute "ingress.service_name" "$service_name";
opentelemetry_attribute "ingress.name" "$ingress_name";
opentelemetry_attribute "ingress.upstream" "$proxy_upstream_name"; It has worked perfectly, thanks a lot !!! 👍 By the way @dereknola, in your example here, you did not indent correctly ...
spec:
valuesContent: |-
controller:
opentelemetry:
enabled: true
containerSecurityContext:
allowPrivilegeEscalation: false
... Maybe you could edit your comment and change it to: ...
spec:
valuesContent: |-
controller:
opentelemetry:
enabled: true
containerSecurityContext:
allowPrivilegeEscalation: false
... |
Fixed! Thanks for validating the feature. |
Proposed Changes
Verification
Use https://github.com/esigo/nginx-example and the following manifest to validate Opentelemetry support:
Based of a modified version of https://kubernetes.github.io/ingress-nginx/user-guide/third-party-addons/opentelemetry/
Pull down the https://github.com/esigo/nginx-example repo and modify the collector:
Modify
observability/collector.yaml
and remove all mention of jaeger and zipkin, leave just otlp exporter, then applyThen run:
Then access grafana dashboard
Linked Issues
#5539
User-Facing Change
Further Comments