Skip to content

Commit

Permalink
Ge read of last tarantool tails
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksandr Orekhov committed Jan 31, 2025
1 parent 60be29d commit 376c6bd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions internal/ingress/controller/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -703,16 +703,16 @@ type Configuration struct {
WallarmUpstreamService string `json:"wallarm-upstream-service"`

// The number of reconnection attempts to Wstore upstream.
// https://docs.wallarm.com/en/admin-en/configure-parameters-en.html#wallarmtarantoolconnectattempts
// https://docs.wallarm.com/en/admin-en/configure-parameters-en.html#wallarmwstoreconnectattempts
WallarmUpstreamConnectAttempts int `json:"wallarm-upstream-connect-attempts"`

// Wallarm prometheus metrics port
// By default 18080
WallarmMetricsPort int `json:"wallarm-metrics-port"`

// A delay in reconnecting to Tarantool after a number of failed attempts exceeds
// A delay in reconnecting to wStore after a number of failed attempts exceeds
// the threshold value set in WallarmUpstreamConnectAttempts
// https://docs.wallarm.com/en/admin-en/configure-parameters-en.html#wallarmtarantoolconnectinterval
// https://docs.wallarm.com/en/admin-en/configure-parameters-en.html#wallarmwstoreconnectinterval
WallarmUpstreamReconnectInterval string `json:"wallarm-upstream-reconnect-interval"`

// The time limit of a single request processing in milliseconds
Expand Down
4 changes: 2 additions & 2 deletions rootfs/etc/nginx/template/nginx.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -557,12 +557,12 @@ http {
{{ end }}

{{ if $cfg.EnableWallarm }}
upstream wallarm_tarantool {
upstream wallarm_wstore {
server {{ $cfg.WallarmUpstreamService }}:3313 max_fails=0 fail_timeout=0 max_conns=16;
keepalive 16;
keepalive_requests 100;
}
wallarm_tarantool_upstream wallarm_tarantool;
wallarm_wstore_upstream wallarm_wstore;
{{ end }}

upstream upstream_balancer {
Expand Down
2 changes: 1 addition & 1 deletion test/smoke/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ This document describes how to run smoke tests against wallarm-ingress installat
Routines described in the document create local test environment and run smoke tests by performing the following actions:
* Build ingress controller image
* Create local Kubernetes cluster using kind
* Download helper images: ruby, python, collectd and tarantool
* Download helper images: ruby, python, collectd and wstore
* Download image with pytest and smoke tests
* Deploy Helm chart
* Deploy test workload with Httpbin
Expand Down

0 comments on commit 376c6bd

Please sign in to comment.