11{{/* image-updater-bot detects *image variables so use name with suffix to disable it for the main image */}}
22
3- {{ $main_image_updated_manually := "container-registry.zalando.net/teapot/skipper-internal:v0.27.39-1491 " }}
3+ {{ $main_image_updated_manually := "container-registry.zalando.net/teapot/skipper-internal:v0.27.43-1495 " }}
44{{ $canary_image := "container-registry.zalando.net/teapot/skipper-internal:v0.27.50-1502" }}
55
66{{/* Allow to override manually canary image by config item */}}
@@ -281,11 +281,38 @@ spec:
281281{{if ne .Cluster.ConfigItems.skipper_ingress_request_size_buckets ""}}
282282 - " -request-size-buckets={{ .Cluster.ConfigItems.skipper_ingress_request_size_buckets }}"
283283{{ end }}
284+ {{ if eq .Cluster.ConfigItems.skipper_ingress_open_telemetry_enabled "true" }}
285+ - -open-telemetry
286+ - |
287+ tracesExporter: otlp
288+ exporterOtlp:
289+ protocol: http/protobuf
290+ endpoint: "https://{{ .Cluster.ConfigItems.tracing_collector_host }}:{{ .Cluster.ConfigItems.tracing_collector_port }}"
291+ resourceAttributes:
292+ service.name: skipper-ingress
293+ application: skipper-ingress
294+ component: ingress
295+ account: {{ .Cluster.Alias }}
296+ cluster: {{ .Cluster.Alias }}
297+ k8s.cluster.name: {{ .Cluster.Alias }}
298+ artifact: {{ .image }}
299+ container.image.name: {{ index (split .image ":") 0 }}
300+ container.image.tags: {{ index (split .image ":") 1 }}
301+ k8s.pod.name: $(POD_NAME)
302+ cloud.availability_zone: $(KUBE_NODE_ZONE)
303+ otel-exporter: true
304+ propagators: [tracecontext, ottrace, b3multi, baggage]
305+ batchSpanProcessor:
306+ maxQueueSize: {{ .Cluster.ConfigItems.skipper_ingress_open_telemetry_bsp_max_queue_size }}
307+ maxExportBatchSize: {{ .Cluster.ConfigItems.skipper_ingress_open_telemetry_bsp_max_export_batch_size }}
308+ scheduleDelay: {{ .Cluster.ConfigItems.skipper_ingress_open_telemetry_bsp_schedule_delay }}
309+ exportTimeout: {{ .Cluster.ConfigItems.skipper_ingress_open_telemetry_bsp_export_timeout }}
310+ {{ else }}
284311 - >-
285312 -opentracing=lightstep
286313 component-name=skipper-ingress
287314 token=$(LIGHTSTEP_TOKEN)
288- collector={{ .Cluster.ConfigItems.tracing_collector_host }}:8444
315+ collector={{ .Cluster.ConfigItems.tracing_collector_host }}:{{ .Cluster.ConfigItems.tracing_collector_port }}
289316 cmd-line=skipper-ingress
290317 tag=application=skipper-ingress
291318 tag=account={{ .Cluster.Alias }}
@@ -305,6 +332,7 @@ spec:
305332 max-logs-per-span={{ .Cluster.ConfigItems.skipper_ingress_lightstep_max_logs_per_span }}
306333 propagators={{ .Cluster.ConfigItems.skipper_ingress_lightstep_propagators }}
307334 {{ .Cluster.ConfigItems.skipper_ingress_lightstep_log_events }}
335+ {{ end }}
308336 - " -opentracing-excluded-proxy-tags={{ .Cluster.ConfigItems.skipper_ingress_opentracing_excluded_proxy_tags }}"
309337{{ if eq .Cluster.ConfigItems.skipper_ingress_opentracing_client_trace_by_tag "true" }}
310338 - " -opentracing-client-trace-by-tag"
@@ -650,11 +678,38 @@ spec:
650678 - " -forwarded-headers=X-Forwarded-For,X-Forwarded-Proto=https,X-Forwarded-Port=443"
651679 - ' -forwarded-headers-exclude-cidrs={{ .cluster_internal_cidrs | join "," }}'
652680{{ end }}
681+ {{ if eq .Cluster.ConfigItems.skipper_ingress_open_telemetry_enabled "true" }}
682+ - -open-telemetry
683+ - |
684+ tracesExporter: otlp
685+ exporterOtlp:
686+ protocol: http/protobuf
687+ endpoint: "https://{{ .Cluster.ConfigItems.tracing_collector_host }}:{{ .Cluster.ConfigItems.tracing_collector_port }}"
688+ resourceAttributes:
689+ service.name: routesrv
690+ application: skipper-ingress
691+ component: routesrv
692+ account: {{ .Cluster.Alias }}
693+ cluster: {{ .Cluster.Alias }}
694+ k8s.cluster.name: {{ .Cluster.Alias }}
695+ artifact: {{ print .routesrv_image ":" .routesrv_version }}
696+ container.image.name: {{ .routesrv_image }}
697+ container.image.tags: {{ .routesrv_version }}
698+ k8s.pod.name: $(POD_NAME)
699+ cloud.availability_zone: $(KUBE_NODE_ZONE)
700+ otel-exporter: true
701+ propagators: [tracecontext, ottrace, b3multi, baggage]
702+ batchSpanProcessor:
703+ maxQueueSize: {{ .Cluster.ConfigItems.skipper_ingress_open_telemetry_bsp_max_queue_size }}
704+ maxExportBatchSize: {{ .Cluster.ConfigItems.skipper_ingress_open_telemetry_bsp_max_export_batch_size }}
705+ scheduleDelay: {{ .Cluster.ConfigItems.skipper_ingress_open_telemetry_bsp_schedule_delay }}
706+ exportTimeout: {{ .Cluster.ConfigItems.skipper_ingress_open_telemetry_bsp_export_timeout }}
707+ {{ else }}
653708 - >-
654709 -opentracing=lightstep
655710 component-name=routesrv
656711 token=$(LIGHTSTEP_TOKEN)
657- collector={{ .Cluster.ConfigItems.tracing_collector_host }}:8444
712+ collector={{ .Cluster.ConfigItems.tracing_collector_host }}:{{ .Cluster.ConfigItems.tracing_collector_port }}
658713 cmd-line=routesrv
659714 tag=application=skipper-ingress
660715 tag=component=routesrv
@@ -675,6 +730,7 @@ spec:
675730 max-logs-per-span={{ .Cluster.ConfigItems.skipper_ingress_lightstep_max_logs_per_span }}
676731 propagators={{ .Cluster.ConfigItems.skipper_ingress_lightstep_propagators }}
677732 {{ .Cluster.ConfigItems.skipper_ingress_lightstep_log_events }}
733+ {{ end }}
678734 env :
679735 - name : KUBE_NODE_ZONE
680736 valueFrom :
0 commit comments