diff --git a/charts/vald/README.md b/charts/vald/README.md index a191e244d5b..3d326300b2a 100644 --- a/charts/vald/README.md +++ b/charts/vald/README.md @@ -159,10 +159,10 @@ Run the following command to install the chart, | agent.sidecar.config.client.net.socket_option.ip_transparent | bool | `false` | server listen socket option for ip_transparent functionality | | agent.sidecar.config.client.net.socket_option.reuse_addr | bool | `true` | server listen socket option for reuse_addr functionality | | agent.sidecar.config.client.net.socket_option.reuse_port | bool | `true` | server listen socket option for reuse_port functionality | -| agent.sidecar.config.client.net.socket_option.tcp_cork | bool | `true` | server listen socket option for tcp_cork functionality | -| agent.sidecar.config.client.net.socket_option.tcp_defer_accept | bool | `false` | server listen socket option for tcp_defer_accept functionality | -| agent.sidecar.config.client.net.socket_option.tcp_fast_open | bool | `false` | server listen socket option for tcp_fast_open functionality | -| agent.sidecar.config.client.net.socket_option.tcp_no_delay | bool | `false` | server listen socket option for tcp_no_delay functionality | +| agent.sidecar.config.client.net.socket_option.tcp_cork | bool | `false` | server listen socket option for tcp_cork functionality | +| agent.sidecar.config.client.net.socket_option.tcp_defer_accept | bool | `true` | server listen socket option for tcp_defer_accept functionality | +| agent.sidecar.config.client.net.socket_option.tcp_fast_open | bool | `true` | server listen socket option for tcp_fast_open functionality | +| agent.sidecar.config.client.net.socket_option.tcp_no_delay | bool | `true` | server listen socket option for tcp_no_delay functionality | | agent.sidecar.config.client.net.socket_option.tcp_quick_ack | bool | `true` | server listen socket option for tcp_quick_ack functionality | | agent.sidecar.config.client.net.tls.ca | string | `"/path/to/ca"` | TLS ca path | | agent.sidecar.config.client.net.tls.cert | string | `"/path/to/cert"` | TLS cert path | @@ -253,12 +253,12 @@ Run the following command to install the chart, | defaults.grpc.client.dial_option.backoff_max_delay | string | `"120s"` | gRPC client dial option max backoff delay | | defaults.grpc.client.dial_option.backoff_multiplier | float | `1.6` | gRPC client dial option base backoff delay | | defaults.grpc.client.dial_option.enable_backoff | bool | `false` | gRPC client dial option backoff enabled | -| defaults.grpc.client.dial_option.initial_connection_window_size | int | `2097152` | gRPC client dial option initial connection window size | -| defaults.grpc.client.dial_option.initial_window_size | int | `1048576` | gRPC client dial option initial window size | +| defaults.grpc.client.dial_option.initial_connection_window_size | int | `0` | gRPC client dial option initial connection window size | +| defaults.grpc.client.dial_option.initial_window_size | int | `0` | gRPC client dial option initial window size | | defaults.grpc.client.dial_option.insecure | bool | `true` | gRPC client dial option insecure enabled | | defaults.grpc.client.dial_option.interceptors | list | `[]` | gRPC client interceptors | -| defaults.grpc.client.dial_option.keepalive.permit_without_stream | bool | `false` | gRPC client keep alive permit without stream | -| defaults.grpc.client.dial_option.keepalive.time | string | `""` | gRPC client keep alive time | +| defaults.grpc.client.dial_option.keepalive.permit_without_stream | bool | `true` | gRPC client keep alive permit without stream | +| defaults.grpc.client.dial_option.keepalive.time | string | `"120s"` | gRPC client keep alive time | | defaults.grpc.client.dial_option.keepalive.timeout | string | `"30s"` | gRPC client keep alive timeout | | defaults.grpc.client.dial_option.max_msg_size | int | `0` | gRPC client dial option max message size | | defaults.grpc.client.dial_option.min_connection_timeout | string | `"20s"` | gRPC client dial option minimum connection timeout | @@ -272,10 +272,10 @@ Run the following command to install the chart, | defaults.grpc.client.dial_option.net.socket_option.ip_transparent | bool | `false` | server listen socket option for ip_transparent functionality | | defaults.grpc.client.dial_option.net.socket_option.reuse_addr | bool | `true` | server listen socket option for reuse_addr functionality | | defaults.grpc.client.dial_option.net.socket_option.reuse_port | bool | `true` | server listen socket option for reuse_port functionality | -| defaults.grpc.client.dial_option.net.socket_option.tcp_cork | bool | `true` | server listen socket option for tcp_cork functionality | -| defaults.grpc.client.dial_option.net.socket_option.tcp_defer_accept | bool | `false` | server listen socket option for tcp_defer_accept functionality | -| defaults.grpc.client.dial_option.net.socket_option.tcp_fast_open | bool | `false` | server listen socket option for tcp_fast_open functionality | -| defaults.grpc.client.dial_option.net.socket_option.tcp_no_delay | bool | `false` | server listen socket option for tcp_no_delay functionality | +| defaults.grpc.client.dial_option.net.socket_option.tcp_cork | bool | `false` | server listen socket option for tcp_cork functionality | +| defaults.grpc.client.dial_option.net.socket_option.tcp_defer_accept | bool | `true` | server listen socket option for tcp_defer_accept functionality | +| defaults.grpc.client.dial_option.net.socket_option.tcp_fast_open | bool | `true` | server listen socket option for tcp_fast_open functionality | +| defaults.grpc.client.dial_option.net.socket_option.tcp_no_delay | bool | `true` | server listen socket option for tcp_no_delay functionality | | defaults.grpc.client.dial_option.net.socket_option.tcp_quick_ack | bool | `true` | server listen socket option for tcp_quick_ack functionality | | defaults.grpc.client.dial_option.net.tls.ca | string | `"/path/to/ca"` | TLS ca path | | defaults.grpc.client.dial_option.net.tls.cert | string | `"/path/to/cert"` | TLS cert path | @@ -344,7 +344,7 @@ Run the following command to install the chart, | defaults.server_config.healths.liveness.server.socket_option.reuse_addr | bool | `true` | server listen socket option for reuse_addr functionality | | defaults.server_config.healths.liveness.server.socket_option.reuse_port | bool | `true` | server listen socket option for reuse_port functionality | | defaults.server_config.healths.liveness.server.socket_option.tcp_cork | bool | `false` | server listen socket option for tcp_cork functionality | -| defaults.server_config.healths.liveness.server.socket_option.tcp_defer_accept | bool | `false` | server listen socket option for tcp_defer_accept functionality | +| defaults.server_config.healths.liveness.server.socket_option.tcp_defer_accept | bool | `true` | server listen socket option for tcp_defer_accept functionality | | defaults.server_config.healths.liveness.server.socket_option.tcp_fast_open | bool | `true` | server listen socket option for tcp_fast_open functionality | | defaults.server_config.healths.liveness.server.socket_option.tcp_no_delay | bool | `true` | server listen socket option for tcp_no_delay functionality | | defaults.server_config.healths.liveness.server.socket_option.tcp_quick_ack | bool | `true` | server listen socket option for tcp_quick_ack functionality | @@ -375,7 +375,7 @@ Run the following command to install the chart, | defaults.server_config.healths.readiness.server.socket_option.reuse_addr | bool | `true` | server listen socket option for reuse_addr functionality | | defaults.server_config.healths.readiness.server.socket_option.reuse_port | bool | `true` | server listen socket option for reuse_port functionality | | defaults.server_config.healths.readiness.server.socket_option.tcp_cork | bool | `false` | server listen socket option for tcp_cork functionality | -| defaults.server_config.healths.readiness.server.socket_option.tcp_defer_accept | bool | `false` | server listen socket option for tcp_defer_accept functionality | +| defaults.server_config.healths.readiness.server.socket_option.tcp_defer_accept | bool | `true` | server listen socket option for tcp_defer_accept functionality | | defaults.server_config.healths.readiness.server.socket_option.tcp_fast_open | bool | `true` | | | defaults.server_config.healths.readiness.server.socket_option.tcp_no_delay | bool | `true` | server listen socket option for tcp_no_delay functionality | | defaults.server_config.healths.readiness.server.socket_option.tcp_quick_ack | bool | `true` | server listen socket option for tcp_quick_ack functionality | @@ -407,10 +407,10 @@ Run the following command to install the chart, | defaults.server_config.metrics.pprof.server.socket_option.ip_transparent | bool | `false` | server listen socket option for ip_transparent functionality | | defaults.server_config.metrics.pprof.server.socket_option.reuse_addr | bool | `true` | server listen socket option for reuse_addr functionality | | defaults.server_config.metrics.pprof.server.socket_option.reuse_port | bool | `true` | server listen socket option for reuse_port functionality | -| defaults.server_config.metrics.pprof.server.socket_option.tcp_cork | bool | `true` | server listen socket option for tcp_cork functionality | -| defaults.server_config.metrics.pprof.server.socket_option.tcp_defer_accept | bool | `false` | server listen socket option for tcp_defer_accept functionality | -| defaults.server_config.metrics.pprof.server.socket_option.tcp_fast_open | bool | `false` | server listen socket option for tcp_fast_open functionality | -| defaults.server_config.metrics.pprof.server.socket_option.tcp_no_delay | bool | `false` | server listen socket option for tcp_no_delay functionality | +| defaults.server_config.metrics.pprof.server.socket_option.tcp_cork | bool | `false` | server listen socket option for tcp_cork functionality | +| defaults.server_config.metrics.pprof.server.socket_option.tcp_defer_accept | bool | `true` | server listen socket option for tcp_defer_accept functionality | +| defaults.server_config.metrics.pprof.server.socket_option.tcp_fast_open | bool | `true` | server listen socket option for tcp_fast_open functionality | +| defaults.server_config.metrics.pprof.server.socket_option.tcp_no_delay | bool | `true` | server listen socket option for tcp_no_delay functionality | | defaults.server_config.metrics.pprof.server.socket_option.tcp_quick_ack | bool | `true` | server listen socket option for tcp_quick_ack functionality | | defaults.server_config.metrics.pprof.server.socket_path | string | `""` | mysql socket_path | | defaults.server_config.metrics.pprof.servicePort | int | `6060` | pprof server service port | @@ -421,16 +421,16 @@ Run the following command to install the chart, | defaults.server_config.servers.grpc.server.grpc.connection_timeout | string | `""` | gRPC server connection timeout | | defaults.server_config.servers.grpc.server.grpc.enable_reflection | bool | `true` | gRPC server reflection option | | defaults.server_config.servers.grpc.server.grpc.header_table_size | int | `0` | gRPC server header table size | -| defaults.server_config.servers.grpc.server.grpc.initial_conn_window_size | int | `2097152` | gRPC server initial connection window size | -| defaults.server_config.servers.grpc.server.grpc.initial_window_size | int | `1048576` | gRPC server initial window size | +| defaults.server_config.servers.grpc.server.grpc.initial_conn_window_size | int | `0` | gRPC server initial connection window size | +| defaults.server_config.servers.grpc.server.grpc.initial_window_size | int | `0` | gRPC server initial window size | | defaults.server_config.servers.grpc.server.grpc.interceptors | list | `["RecoverInterceptor"]` | gRPC server interceptors | | defaults.server_config.servers.grpc.server.grpc.keepalive.max_conn_age | string | `""` | gRPC server keep alive max connection age | | defaults.server_config.servers.grpc.server.grpc.keepalive.max_conn_age_grace | string | `""` | gRPC server keep alive max connection age grace | | defaults.server_config.servers.grpc.server.grpc.keepalive.max_conn_idle | string | `""` | gRPC server keep alive max connection idle | -| defaults.server_config.servers.grpc.server.grpc.keepalive.min_time | string | `"10m"` | gRPC server keep alive min_time | -| defaults.server_config.servers.grpc.server.grpc.keepalive.permit_without_stream | bool | `false` | gRPC server keep alive permit_without_stream | -| defaults.server_config.servers.grpc.server.grpc.keepalive.time | string | `"3h"` | gRPC server keep alive time | -| defaults.server_config.servers.grpc.server.grpc.keepalive.timeout | string | `"60s"` | gRPC server keep alive timeout | +| defaults.server_config.servers.grpc.server.grpc.keepalive.min_time | string | `"60s"` | gRPC server keep alive min_time | +| defaults.server_config.servers.grpc.server.grpc.keepalive.permit_without_stream | bool | `true` | gRPC server keep alive permit_without_stream | +| defaults.server_config.servers.grpc.server.grpc.keepalive.time | string | `"120s"` | gRPC server keep alive time | +| defaults.server_config.servers.grpc.server.grpc.keepalive.timeout | string | `"30s"` | gRPC server keep alive timeout | | defaults.server_config.servers.grpc.server.grpc.max_header_list_size | int | `0` | gRPC server max header list size | | defaults.server_config.servers.grpc.server.grpc.max_receive_message_size | int | `0` | gRPC server max receive message size | | defaults.server_config.servers.grpc.server.grpc.max_send_message_size | int | `0` | gRPC server max send message size | @@ -444,10 +444,10 @@ Run the following command to install the chart, | defaults.server_config.servers.grpc.server.socket_option.ip_transparent | bool | `false` | server listen socket option for ip_transparent functionality | | defaults.server_config.servers.grpc.server.socket_option.reuse_addr | bool | `true` | server listen socket option for reuse_addr functionality | | defaults.server_config.servers.grpc.server.socket_option.reuse_port | bool | `true` | server listen socket option for reuse_port functionality | -| defaults.server_config.servers.grpc.server.socket_option.tcp_cork | bool | `true` | server listen socket option for tcp_cork functionality | -| defaults.server_config.servers.grpc.server.socket_option.tcp_defer_accept | bool | `false` | server listen socket option for tcp_defer_accept functionality | -| defaults.server_config.servers.grpc.server.socket_option.tcp_fast_open | bool | `false` | server listen socket option for tcp_fast_open functionality | -| defaults.server_config.servers.grpc.server.socket_option.tcp_no_delay | bool | `false` | server listen socket option for tcp_no_delay functionality | +| defaults.server_config.servers.grpc.server.socket_option.tcp_cork | bool | `false` | server listen socket option for tcp_cork functionality | +| defaults.server_config.servers.grpc.server.socket_option.tcp_defer_accept | bool | `true` | server listen socket option for tcp_defer_accept functionality | +| defaults.server_config.servers.grpc.server.socket_option.tcp_fast_open | bool | `true` | server listen socket option for tcp_fast_open functionality | +| defaults.server_config.servers.grpc.server.socket_option.tcp_no_delay | bool | `true` | server listen socket option for tcp_no_delay functionality | | defaults.server_config.servers.grpc.server.socket_option.tcp_quick_ack | bool | `true` | server listen socket option for tcp_quick_ack functionality | | defaults.server_config.servers.grpc.server.socket_path | string | `""` | mysql socket_path | | defaults.server_config.servers.grpc.servicePort | int | `8081` | gRPC server service port | @@ -467,10 +467,10 @@ Run the following command to install the chart, | defaults.server_config.servers.rest.server.socket_option.ip_transparent | bool | `false` | server listen socket option for ip_transparent functionality | | defaults.server_config.servers.rest.server.socket_option.reuse_addr | bool | `true` | server listen socket option for reuse_addr functionality | | defaults.server_config.servers.rest.server.socket_option.reuse_port | bool | `true` | server listen socket option for reuse_port functionality | -| defaults.server_config.servers.rest.server.socket_option.tcp_cork | bool | `true` | server listen socket option for tcp_cork functionality | -| defaults.server_config.servers.rest.server.socket_option.tcp_defer_accept | bool | `false` | server listen socket option for tcp_defer_accept functionality | -| defaults.server_config.servers.rest.server.socket_option.tcp_fast_open | bool | `false` | server listen socket option for tcp_fast_open functionality | -| defaults.server_config.servers.rest.server.socket_option.tcp_no_delay | bool | `false` | server listen socket option for tcp_no_delay functionality | +| defaults.server_config.servers.rest.server.socket_option.tcp_cork | bool | `false` | server listen socket option for tcp_cork functionality | +| defaults.server_config.servers.rest.server.socket_option.tcp_defer_accept | bool | `true` | server listen socket option for tcp_defer_accept functionality | +| defaults.server_config.servers.rest.server.socket_option.tcp_fast_open | bool | `true` | server listen socket option for tcp_fast_open functionality | +| defaults.server_config.servers.rest.server.socket_option.tcp_no_delay | bool | `true` | server listen socket option for tcp_no_delay functionality | | defaults.server_config.servers.rest.server.socket_option.tcp_quick_ack | bool | `true` | server listen socket option for tcp_quick_ack functionality | | defaults.server_config.servers.rest.server.socket_path | string | `""` | mysql socket_path | | defaults.server_config.servers.rest.servicePort | int | `8080` | REST server service port | diff --git a/charts/vald/templates/_helpers.tpl b/charts/vald/templates/_helpers.tpl index c224fb62548..5e0a304bbb4 100755 --- a/charts/vald/templates/_helpers.tpl +++ b/charts/vald/templates/_helpers.tpl @@ -440,22 +440,6 @@ startup_strategy: {{- if $readinessEnabled }} - readiness {{- end }} -shutdown_strategy: - {{- if $readinessEnabled }} - - readiness - {{- end }} - {{- if $restEnabled }} - - rest - {{- end }} - {{- if $grpcEnabled }} - - grpc - {{- end }} - {{- if $pprofEnabled }} - - pprof - {{- end }} - {{- if $livenessEnabled }} - - liveness - {{- end }} full_shutdown_duration: {{ default .default.full_shutdown_duration .Values.full_shutdown_duration }} tls: {{- if .Values.tls }} diff --git a/charts/vald/values.schema.json b/charts/vald/values.schema.json index 6afe895d452..1bf9f9884dd 100644 --- a/charts/vald/values.schema.json +++ b/charts/vald/values.schema.json @@ -569,33 +569,33 @@ "properties": { "handler_timeout": { "type": "string", - "description": "REST server handler timeout" + "description": "liveness server handler timeout" }, "idle_timeout": { "type": "string", - "description": "REST server idle timeout" + "description": "liveness server idle timeout" }, "read_header_timeout": { "type": "string", - "description": "REST server read header timeout" + "description": "liveness server read header timeout" }, "read_timeout": { "type": "string", - "description": "REST server read timeout" + "description": "liveness server read timeout" }, "shutdown_duration": { "type": "string", - "description": "REST server shutdown duration" + "description": "liveness server shutdown duration" }, "write_timeout": { "type": "string", - "description": "REST server write timeout" + "description": "liveness server write timeout" } } }, "mode": { "type": "string", - "description": "REST server server mode" + "description": "liveness server mode" }, "network": { "type": "string", @@ -614,7 +614,7 @@ }, "probe_wait_time": { "type": "string", - "description": "REST server probe wait time" + "description": "liveness server probe wait time" }, "socket_option": { "type": "object", @@ -738,33 +738,33 @@ "properties": { "handler_timeout": { "type": "string", - "description": "REST server handler timeout" + "description": "readiness server handler timeout" }, "idle_timeout": { "type": "string", - "description": "REST server idle timeout" + "description": "readiness server idle timeout" }, "read_header_timeout": { "type": "string", - "description": "REST server read header timeout" + "description": "readiness server read header timeout" }, "read_timeout": { "type": "string", - "description": "REST server read timeout" + "description": "readiness server read timeout" }, "shutdown_duration": { "type": "string", - "description": "REST server shutdown duration" + "description": "readiness server shutdown duration" }, "write_timeout": { "type": "string", - "description": "REST server write timeout" + "description": "readiness server write timeout" } } }, "mode": { "type": "string", - "description": "REST server server mode" + "description": "readiness server mode" }, "network": { "type": "string", @@ -783,7 +783,7 @@ }, "probe_wait_time": { "type": "string", - "description": "REST server probe wait time" + "description": "readiness server probe wait time" }, "socket_option": { "type": "object", @@ -927,33 +927,33 @@ "properties": { "handler_timeout": { "type": "string", - "description": "REST server handler timeout" + "description": "pprof server handler timeout" }, "idle_timeout": { "type": "string", - "description": "REST server idle timeout" + "description": "pprof server idle timeout" }, "read_header_timeout": { "type": "string", - "description": "REST server read header timeout" + "description": "pprof server read header timeout" }, "read_timeout": { "type": "string", - "description": "REST server read timeout" + "description": "pprof server read timeout" }, "shutdown_duration": { "type": "string", - "description": "REST server shutdown duration" + "description": "pprof server shutdown duration" }, "write_timeout": { "type": "string", - "description": "REST server write timeout" + "description": "pprof server write timeout" } } }, "mode": { "type": "string", - "description": "REST server server mode" + "description": "pprof server mode" }, "network": { "type": "string", @@ -972,7 +972,7 @@ }, "probe_wait_time": { "type": "string", - "description": "REST server probe wait time" + "description": "pprof server probe wait time" }, "socket_option": { "type": "object", @@ -2059,33 +2059,33 @@ "properties": { "handler_timeout": { "type": "string", - "description": "REST server handler timeout" + "description": "liveness server handler timeout" }, "idle_timeout": { "type": "string", - "description": "REST server idle timeout" + "description": "liveness server idle timeout" }, "read_header_timeout": { "type": "string", - "description": "REST server read header timeout" + "description": "liveness server read header timeout" }, "read_timeout": { "type": "string", - "description": "REST server read timeout" + "description": "liveness server read timeout" }, "shutdown_duration": { "type": "string", - "description": "REST server shutdown duration" + "description": "liveness server shutdown duration" }, "write_timeout": { "type": "string", - "description": "REST server write timeout" + "description": "liveness server write timeout" } } }, "mode": { "type": "string", - "description": "REST server server mode" + "description": "liveness server mode" }, "network": { "type": "string", @@ -2104,7 +2104,7 @@ }, "probe_wait_time": { "type": "string", - "description": "REST server probe wait time" + "description": "liveness server probe wait time" }, "socket_option": { "type": "object", @@ -2228,33 +2228,33 @@ "properties": { "handler_timeout": { "type": "string", - "description": "REST server handler timeout" + "description": "readiness server handler timeout" }, "idle_timeout": { "type": "string", - "description": "REST server idle timeout" + "description": "readiness server idle timeout" }, "read_header_timeout": { "type": "string", - "description": "REST server read header timeout" + "description": "readiness server read header timeout" }, "read_timeout": { "type": "string", - "description": "REST server read timeout" + "description": "readiness server read timeout" }, "shutdown_duration": { "type": "string", - "description": "REST server shutdown duration" + "description": "readiness server shutdown duration" }, "write_timeout": { "type": "string", - "description": "REST server write timeout" + "description": "readiness server write timeout" } } }, "mode": { "type": "string", - "description": "REST server server mode" + "description": "readiness server mode" }, "network": { "type": "string", @@ -2273,7 +2273,7 @@ }, "probe_wait_time": { "type": "string", - "description": "REST server probe wait time" + "description": "readiness server probe wait time" }, "socket_option": { "type": "object", @@ -2417,33 +2417,33 @@ "properties": { "handler_timeout": { "type": "string", - "description": "REST server handler timeout" + "description": "pprof server handler timeout" }, "idle_timeout": { "type": "string", - "description": "REST server idle timeout" + "description": "pprof server idle timeout" }, "read_header_timeout": { "type": "string", - "description": "REST server read header timeout" + "description": "pprof server read header timeout" }, "read_timeout": { "type": "string", - "description": "REST server read timeout" + "description": "pprof server read timeout" }, "shutdown_duration": { "type": "string", - "description": "REST server shutdown duration" + "description": "pprof server shutdown duration" }, "write_timeout": { "type": "string", - "description": "REST server write timeout" + "description": "pprof server write timeout" } } }, "mode": { "type": "string", - "description": "REST server server mode" + "description": "pprof server mode" }, "network": { "type": "string", @@ -2462,7 +2462,7 @@ }, "probe_wait_time": { "type": "string", - "description": "REST server probe wait time" + "description": "pprof server probe wait time" }, "socket_option": { "type": "object", @@ -3487,33 +3487,33 @@ "properties": { "handler_timeout": { "type": "string", - "description": "REST server handler timeout" + "description": "liveness server handler timeout" }, "idle_timeout": { "type": "string", - "description": "REST server idle timeout" + "description": "liveness server idle timeout" }, "read_header_timeout": { "type": "string", - "description": "REST server read header timeout" + "description": "liveness server read header timeout" }, "read_timeout": { "type": "string", - "description": "REST server read timeout" + "description": "liveness server read timeout" }, "shutdown_duration": { "type": "string", - "description": "REST server shutdown duration" + "description": "liveness server shutdown duration" }, "write_timeout": { "type": "string", - "description": "REST server write timeout" + "description": "liveness server write timeout" } } }, "mode": { "type": "string", - "description": "REST server server mode" + "description": "liveness server mode" }, "network": { "type": "string", @@ -3532,7 +3532,7 @@ }, "probe_wait_time": { "type": "string", - "description": "REST server probe wait time" + "description": "liveness server probe wait time" }, "socket_option": { "type": "object", @@ -3656,33 +3656,33 @@ "properties": { "handler_timeout": { "type": "string", - "description": "REST server handler timeout" + "description": "readiness server handler timeout" }, "idle_timeout": { "type": "string", - "description": "REST server idle timeout" + "description": "readiness server idle timeout" }, "read_header_timeout": { "type": "string", - "description": "REST server read header timeout" + "description": "readiness server read header timeout" }, "read_timeout": { "type": "string", - "description": "REST server read timeout" + "description": "readiness server read timeout" }, "shutdown_duration": { "type": "string", - "description": "REST server shutdown duration" + "description": "readiness server shutdown duration" }, "write_timeout": { "type": "string", - "description": "REST server write timeout" + "description": "readiness server write timeout" } } }, "mode": { "type": "string", - "description": "REST server server mode" + "description": "readiness server mode" }, "network": { "type": "string", @@ -3701,7 +3701,7 @@ }, "probe_wait_time": { "type": "string", - "description": "REST server probe wait time" + "description": "readiness server probe wait time" }, "socket_option": { "type": "object", @@ -3845,33 +3845,33 @@ "properties": { "handler_timeout": { "type": "string", - "description": "REST server handler timeout" + "description": "pprof server handler timeout" }, "idle_timeout": { "type": "string", - "description": "REST server idle timeout" + "description": "pprof server idle timeout" }, "read_header_timeout": { "type": "string", - "description": "REST server read header timeout" + "description": "pprof server read header timeout" }, "read_timeout": { "type": "string", - "description": "REST server read timeout" + "description": "pprof server read timeout" }, "shutdown_duration": { "type": "string", - "description": "REST server shutdown duration" + "description": "pprof server shutdown duration" }, "write_timeout": { "type": "string", - "description": "REST server write timeout" + "description": "pprof server write timeout" } } }, "mode": { "type": "string", - "description": "REST server server mode" + "description": "pprof server mode" }, "network": { "type": "string", @@ -3890,7 +3890,7 @@ }, "probe_wait_time": { "type": "string", - "description": "REST server probe wait time" + "description": "pprof server probe wait time" }, "socket_option": { "type": "object", @@ -4887,33 +4887,33 @@ "properties": { "handler_timeout": { "type": "string", - "description": "REST server handler timeout" + "description": "liveness server handler timeout" }, "idle_timeout": { "type": "string", - "description": "REST server idle timeout" + "description": "liveness server idle timeout" }, "read_header_timeout": { "type": "string", - "description": "REST server read header timeout" + "description": "liveness server read header timeout" }, "read_timeout": { "type": "string", - "description": "REST server read timeout" + "description": "liveness server read timeout" }, "shutdown_duration": { "type": "string", - "description": "REST server shutdown duration" + "description": "liveness server shutdown duration" }, "write_timeout": { "type": "string", - "description": "REST server write timeout" + "description": "liveness server write timeout" } } }, "mode": { "type": "string", - "description": "REST server server mode" + "description": "liveness server mode" }, "network": { "type": "string", @@ -4932,7 +4932,7 @@ }, "probe_wait_time": { "type": "string", - "description": "REST server probe wait time" + "description": "liveness server probe wait time" }, "socket_option": { "type": "object", @@ -5056,33 +5056,33 @@ "properties": { "handler_timeout": { "type": "string", - "description": "REST server handler timeout" + "description": "readiness server handler timeout" }, "idle_timeout": { "type": "string", - "description": "REST server idle timeout" + "description": "readiness server idle timeout" }, "read_header_timeout": { "type": "string", - "description": "REST server read header timeout" + "description": "readiness server read header timeout" }, "read_timeout": { "type": "string", - "description": "REST server read timeout" + "description": "readiness server read timeout" }, "shutdown_duration": { "type": "string", - "description": "REST server shutdown duration" + "description": "readiness server shutdown duration" }, "write_timeout": { "type": "string", - "description": "REST server write timeout" + "description": "readiness server write timeout" } } }, "mode": { "type": "string", - "description": "REST server server mode" + "description": "readiness server mode" }, "network": { "type": "string", @@ -5101,7 +5101,7 @@ }, "probe_wait_time": { "type": "string", - "description": "REST server probe wait time" + "description": "readiness server probe wait time" }, "socket_option": { "type": "object", @@ -5245,33 +5245,33 @@ "properties": { "handler_timeout": { "type": "string", - "description": "REST server handler timeout" + "description": "pprof server handler timeout" }, "idle_timeout": { "type": "string", - "description": "REST server idle timeout" + "description": "pprof server idle timeout" }, "read_header_timeout": { "type": "string", - "description": "REST server read header timeout" + "description": "pprof server read header timeout" }, "read_timeout": { "type": "string", - "description": "REST server read timeout" + "description": "pprof server read timeout" }, "shutdown_duration": { "type": "string", - "description": "REST server shutdown duration" + "description": "pprof server shutdown duration" }, "write_timeout": { "type": "string", - "description": "REST server write timeout" + "description": "pprof server write timeout" } } }, "mode": { "type": "string", - "description": "REST server server mode" + "description": "pprof server mode" }, "network": { "type": "string", @@ -5290,7 +5290,7 @@ }, "probe_wait_time": { "type": "string", - "description": "REST server probe wait time" + "description": "pprof server probe wait time" }, "socket_option": { "type": "object", @@ -7184,33 +7184,33 @@ "properties": { "handler_timeout": { "type": "string", - "description": "REST server handler timeout" + "description": "liveness server handler timeout" }, "idle_timeout": { "type": "string", - "description": "REST server idle timeout" + "description": "liveness server idle timeout" }, "read_header_timeout": { "type": "string", - "description": "REST server read header timeout" + "description": "liveness server read header timeout" }, "read_timeout": { "type": "string", - "description": "REST server read timeout" + "description": "liveness server read timeout" }, "shutdown_duration": { "type": "string", - "description": "REST server shutdown duration" + "description": "liveness server shutdown duration" }, "write_timeout": { "type": "string", - "description": "REST server write timeout" + "description": "liveness server write timeout" } } }, "mode": { "type": "string", - "description": "REST server server mode" + "description": "liveness server mode" }, "network": { "type": "string", @@ -7229,7 +7229,7 @@ }, "probe_wait_time": { "type": "string", - "description": "REST server probe wait time" + "description": "liveness server probe wait time" }, "socket_option": { "type": "object", @@ -7353,33 +7353,33 @@ "properties": { "handler_timeout": { "type": "string", - "description": "REST server handler timeout" + "description": "readiness server handler timeout" }, "idle_timeout": { "type": "string", - "description": "REST server idle timeout" + "description": "readiness server idle timeout" }, "read_header_timeout": { "type": "string", - "description": "REST server read header timeout" + "description": "readiness server read header timeout" }, "read_timeout": { "type": "string", - "description": "REST server read timeout" + "description": "readiness server read timeout" }, "shutdown_duration": { "type": "string", - "description": "REST server shutdown duration" + "description": "readiness server shutdown duration" }, "write_timeout": { "type": "string", - "description": "REST server write timeout" + "description": "readiness server write timeout" } } }, "mode": { "type": "string", - "description": "REST server server mode" + "description": "readiness server mode" }, "network": { "type": "string", @@ -7398,7 +7398,7 @@ }, "probe_wait_time": { "type": "string", - "description": "REST server probe wait time" + "description": "readiness server probe wait time" }, "socket_option": { "type": "object", @@ -7542,33 +7542,33 @@ "properties": { "handler_timeout": { "type": "string", - "description": "REST server handler timeout" + "description": "pprof server handler timeout" }, "idle_timeout": { "type": "string", - "description": "REST server idle timeout" + "description": "pprof server idle timeout" }, "read_header_timeout": { "type": "string", - "description": "REST server read header timeout" + "description": "pprof server read header timeout" }, "read_timeout": { "type": "string", - "description": "REST server read timeout" + "description": "pprof server read timeout" }, "shutdown_duration": { "type": "string", - "description": "REST server shutdown duration" + "description": "pprof server shutdown duration" }, "write_timeout": { "type": "string", - "description": "REST server write timeout" + "description": "pprof server write timeout" } } }, "mode": { "type": "string", - "description": "REST server server mode" + "description": "pprof server mode" }, "network": { "type": "string", @@ -7587,7 +7587,7 @@ }, "probe_wait_time": { "type": "string", - "description": "REST server probe wait time" + "description": "pprof server probe wait time" }, "socket_option": { "type": "object", @@ -9132,33 +9132,33 @@ "properties": { "handler_timeout": { "type": "string", - "description": "REST server handler timeout" + "description": "liveness server handler timeout" }, "idle_timeout": { "type": "string", - "description": "REST server idle timeout" + "description": "liveness server idle timeout" }, "read_header_timeout": { "type": "string", - "description": "REST server read header timeout" + "description": "liveness server read header timeout" }, "read_timeout": { "type": "string", - "description": "REST server read timeout" + "description": "liveness server read timeout" }, "shutdown_duration": { "type": "string", - "description": "REST server shutdown duration" + "description": "liveness server shutdown duration" }, "write_timeout": { "type": "string", - "description": "REST server write timeout" + "description": "liveness server write timeout" } } }, "mode": { "type": "string", - "description": "REST server server mode" + "description": "liveness server mode" }, "network": { "type": "string", @@ -9177,7 +9177,7 @@ }, "probe_wait_time": { "type": "string", - "description": "REST server probe wait time" + "description": "liveness server probe wait time" }, "socket_option": { "type": "object", @@ -9301,33 +9301,33 @@ "properties": { "handler_timeout": { "type": "string", - "description": "REST server handler timeout" + "description": "readiness server handler timeout" }, "idle_timeout": { "type": "string", - "description": "REST server idle timeout" + "description": "readiness server idle timeout" }, "read_header_timeout": { "type": "string", - "description": "REST server read header timeout" + "description": "readiness server read header timeout" }, "read_timeout": { "type": "string", - "description": "REST server read timeout" + "description": "readiness server read timeout" }, "shutdown_duration": { "type": "string", - "description": "REST server shutdown duration" + "description": "readiness server shutdown duration" }, "write_timeout": { "type": "string", - "description": "REST server write timeout" + "description": "readiness server write timeout" } } }, "mode": { "type": "string", - "description": "REST server server mode" + "description": "readiness server mode" }, "network": { "type": "string", @@ -9346,7 +9346,7 @@ }, "probe_wait_time": { "type": "string", - "description": "REST server probe wait time" + "description": "readiness server probe wait time" }, "socket_option": { "type": "object", @@ -9490,33 +9490,33 @@ "properties": { "handler_timeout": { "type": "string", - "description": "REST server handler timeout" + "description": "pprof server handler timeout" }, "idle_timeout": { "type": "string", - "description": "REST server idle timeout" + "description": "pprof server idle timeout" }, "read_header_timeout": { "type": "string", - "description": "REST server read header timeout" + "description": "pprof server read header timeout" }, "read_timeout": { "type": "string", - "description": "REST server read timeout" + "description": "pprof server read timeout" }, "shutdown_duration": { "type": "string", - "description": "REST server shutdown duration" + "description": "pprof server shutdown duration" }, "write_timeout": { "type": "string", - "description": "REST server write timeout" + "description": "pprof server write timeout" } } }, "mode": { "type": "string", - "description": "REST server server mode" + "description": "pprof server mode" }, "network": { "type": "string", @@ -9535,7 +9535,7 @@ }, "probe_wait_time": { "type": "string", - "description": "REST server probe wait time" + "description": "pprof server probe wait time" }, "socket_option": { "type": "object", @@ -11059,33 +11059,33 @@ "properties": { "handler_timeout": { "type": "string", - "description": "REST server handler timeout" + "description": "liveness server handler timeout" }, "idle_timeout": { "type": "string", - "description": "REST server idle timeout" + "description": "liveness server idle timeout" }, "read_header_timeout": { "type": "string", - "description": "REST server read header timeout" + "description": "liveness server read header timeout" }, "read_timeout": { "type": "string", - "description": "REST server read timeout" + "description": "liveness server read timeout" }, "shutdown_duration": { "type": "string", - "description": "REST server shutdown duration" + "description": "liveness server shutdown duration" }, "write_timeout": { "type": "string", - "description": "REST server write timeout" + "description": "liveness server write timeout" } } }, "mode": { "type": "string", - "description": "REST server server mode" + "description": "liveness server mode" }, "network": { "type": "string", @@ -11104,7 +11104,7 @@ }, "probe_wait_time": { "type": "string", - "description": "REST server probe wait time" + "description": "liveness server probe wait time" }, "socket_option": { "type": "object", @@ -11228,33 +11228,33 @@ "properties": { "handler_timeout": { "type": "string", - "description": "REST server handler timeout" + "description": "readiness server handler timeout" }, "idle_timeout": { "type": "string", - "description": "REST server idle timeout" + "description": "readiness server idle timeout" }, "read_header_timeout": { "type": "string", - "description": "REST server read header timeout" + "description": "readiness server read header timeout" }, "read_timeout": { "type": "string", - "description": "REST server read timeout" + "description": "readiness server read timeout" }, "shutdown_duration": { "type": "string", - "description": "REST server shutdown duration" + "description": "readiness server shutdown duration" }, "write_timeout": { "type": "string", - "description": "REST server write timeout" + "description": "readiness server write timeout" } } }, "mode": { "type": "string", - "description": "REST server server mode" + "description": "readiness server mode" }, "network": { "type": "string", @@ -11273,7 +11273,7 @@ }, "probe_wait_time": { "type": "string", - "description": "REST server probe wait time" + "description": "readiness server probe wait time" }, "socket_option": { "type": "object", @@ -11417,33 +11417,33 @@ "properties": { "handler_timeout": { "type": "string", - "description": "REST server handler timeout" + "description": "pprof server handler timeout" }, "idle_timeout": { "type": "string", - "description": "REST server idle timeout" + "description": "pprof server idle timeout" }, "read_header_timeout": { "type": "string", - "description": "REST server read header timeout" + "description": "pprof server read header timeout" }, "read_timeout": { "type": "string", - "description": "REST server read timeout" + "description": "pprof server read timeout" }, "shutdown_duration": { "type": "string", - "description": "REST server shutdown duration" + "description": "pprof server shutdown duration" }, "write_timeout": { "type": "string", - "description": "REST server write timeout" + "description": "pprof server write timeout" } } }, "mode": { "type": "string", - "description": "REST server server mode" + "description": "pprof server mode" }, "network": { "type": "string", @@ -11462,7 +11462,7 @@ }, "probe_wait_time": { "type": "string", - "description": "REST server probe wait time" + "description": "pprof server probe wait time" }, "socket_option": { "type": "object", diff --git a/charts/vald/values.yaml b/charts/vald/values.yaml index 45529107254..50e9c03ccea 100644 --- a/charts/vald/values.yaml +++ b/charts/vald/values.yaml @@ -57,7 +57,7 @@ defaults: # @schema {"name": "defaults.server_config.servers.rest.servicePort", "type": "integer", "minimum": 0, "maximum": 65535} # defaults.server_config.servers.rest.servicePort -- REST server service port servicePort: 8080 - # @schema {"name": "defaults.server_config.servers.rest.server", "type": "object", "anchor": "rest_server"} + # @schema {"name": "defaults.server_config.servers.rest.server", "type": "object"} server: # @schema {"name": "defaults.server_config.servers.rest.server.mode", "type": "string"} # defaults.server_config.servers.rest.server.mode -- REST server server mode @@ -71,7 +71,7 @@ defaults: # @schema {"name": "defaults.server_config.servers.rest.server.socket_path", "type": "string"} # defaults.server_config.servers.rest.server.socket_path -- mysql socket_path socket_path: "" - # @schema {"name": "defaults.server_config.servers.rest.server.http", "type": "object", "anchor": "http_server_config"} + # @schema {"name": "defaults.server_config.servers.rest.server.http", "type": "object"} http: # @schema {"name": "defaults.server_config.servers.rest.server.http.shutdown_duration", "type": "string"} # defaults.server_config.servers.rest.server.http.shutdown_duration -- REST server shutdown duration @@ -101,19 +101,19 @@ defaults: reuse_addr: true # @schema {"name": "defaults.server_config.servers.rest.server.socket_option.tcp_fast_open", "type": "boolean"} # defaults.server_config.servers.rest.server.socket_option.tcp_fast_open -- server listen socket option for tcp_fast_open functionality - tcp_fast_open: false + tcp_fast_open: true # @schema {"name": "defaults.server_config.servers.rest.server.socket_option.tcp_no_delay", "type": "boolean"} # defaults.server_config.servers.rest.server.socket_option.tcp_no_delay -- server listen socket option for tcp_no_delay functionality - tcp_no_delay: false + tcp_no_delay: true # @schema {"name": "defaults.server_config.servers.rest.server.socket_option.tcp_cork", "type": "boolean"} # defaults.server_config.servers.rest.server.socket_option.tcp_cork -- server listen socket option for tcp_cork functionality - tcp_cork: true + tcp_cork: false # @schema {"name": "defaults.server_config.servers.rest.server.socket_option.tcp_quick_ack", "type": "boolean"} # defaults.server_config.servers.rest.server.socket_option.tcp_quick_ack -- server listen socket option for tcp_quick_ack functionality tcp_quick_ack: true # @schema {"name": "defaults.server_config.servers.rest.server.socket_option.tcp_defer_accept", "type": "boolean"} # defaults.server_config.servers.rest.server.socket_option.tcp_defer_accept -- server listen socket option for tcp_defer_accept functionality - tcp_defer_accept: false + tcp_defer_accept: true # @schema {"name": "defaults.server_config.servers.rest.server.socket_option.ip_transparent", "type": "boolean"} # defaults.server_config.servers.rest.server.socket_option.ip_transparent -- server listen socket option for ip_transparent functionality ip_transparent: false @@ -134,7 +134,7 @@ defaults: # @schema {"name": "defaults.server_config.servers.grpc.servicePort", "type": "integer", "minimum": 0, "maximum": 65535} # defaults.server_config.servers.grpc.servicePort -- gRPC server service port servicePort: 8081 - # @schema {"name": "defaults.server_config.servers.grpc.server", "type": "object", "anchor": "grpc_server"} + # @schema {"name": "defaults.server_config.servers.grpc.server", "type": "object"} server: # @schema {"name": "defaults.server_config.servers.grpc.server.mode", "type": "string"} # defaults.server_config.servers.grpc.server.mode -- gRPC server server mode @@ -148,7 +148,7 @@ defaults: # @schema {"name": "defaults.server_config.servers.grpc.server.socket_path", "type": "string"} # defaults.server_config.servers.grpc.server.socket_path -- mysql socket_path socket_path: "" - # @schema {"name": "defaults.server_config.servers.grpc.server.grpc", "type": "object", "anchor": "grpc_server_config"} + # @schema {"name": "defaults.server_config.servers.grpc.server.grpc", "type": "object"} grpc: # @schema {"name": "defaults.server_config.servers.grpc.server.grpc.bidirectional_stream_concurrency", "type": "integer"} # defaults.server_config.servers.grpc.server.grpc.bidirectional_stream_concurrency -- gRPC server bidirectional stream concurrency @@ -161,10 +161,10 @@ defaults: max_send_message_size: 0 # @schema {"name": "defaults.server_config.servers.grpc.server.grpc.initial_window_size", "type": "integer"} # defaults.server_config.servers.grpc.server.grpc.initial_window_size -- gRPC server initial window size - initial_window_size: 1048576 + initial_window_size: 0 # @schema {"name": "defaults.server_config.servers.grpc.server.grpc.initial_conn_window_size", "type": "integer"} # defaults.server_config.servers.grpc.server.grpc.initial_conn_window_size -- gRPC server initial connection window size - initial_conn_window_size: 2097152 + initial_conn_window_size: 0 # @schema {"name": "defaults.server_config.servers.grpc.server.grpc.keepalive", "type": "object"} keepalive: # @schema {"name": "defaults.server_config.servers.grpc.server.grpc.keepalive.max_conn_idle", "type": "string"} @@ -178,16 +178,16 @@ defaults: max_conn_age_grace: "" # @schema {"name": "defaults.server_config.servers.grpc.server.grpc.keepalive.time", "type": "string"} # defaults.server_config.servers.grpc.server.grpc.keepalive.time -- gRPC server keep alive time - time: "3h" + time: "120s" # @schema {"name": "defaults.server_config.servers.grpc.server.grpc.keepalive.timeout", "type": "string"} # defaults.server_config.servers.grpc.server.grpc.keepalive.timeout -- gRPC server keep alive timeout - timeout: "60s" + timeout: "30s" # @schema {"name": "defaults.server_config.servers.grpc.server.grpc.keepalive.min_time", "type": "string"} # defaults.server_config.servers.grpc.server.grpc.keepalive.min_time -- gRPC server keep alive min_time - min_time: "10m" + min_time: "60s" # @schema {"name": "defaults.server_config.servers.grpc.server.grpc.keepalive.permit_without_stream", "type": "boolean"} # defaults.server_config.servers.grpc.server.grpc.keepalive.permit_without_stream -- gRPC server keep alive permit_without_stream - permit_without_stream: false + permit_without_stream: true # @schema {"name": "defaults.server_config.servers.grpc.server.grpc.write_buffer_size", "type": "integer"} # defaults.server_config.servers.grpc.server.grpc.write_buffer_size -- gRPC server write buffer size write_buffer_size: 0 @@ -217,15 +217,15 @@ defaults: # defaults.server_config.servers.grpc.server.socket_option.reuse_addr -- server listen socket option for reuse_addr functionality reuse_addr: true # defaults.server_config.servers.grpc.server.socket_option.tcp_fast_open -- server listen socket option for tcp_fast_open functionality - tcp_fast_open: false + tcp_fast_open: true # defaults.server_config.servers.grpc.server.socket_option.tcp_no_delay -- server listen socket option for tcp_no_delay functionality - tcp_no_delay: false + tcp_no_delay: true # defaults.server_config.servers.grpc.server.socket_option.tcp_cork -- server listen socket option for tcp_cork functionality - tcp_cork: true + tcp_cork: false # defaults.server_config.servers.grpc.server.socket_option.tcp_quick_ack -- server listen socket option for tcp_quick_ack functionality tcp_quick_ack: true # defaults.server_config.servers.grpc.server.socket_option.tcp_defer_accept -- server listen socket option for tcp_defer_accept functionality - tcp_defer_accept: false + tcp_defer_accept: true # defaults.server_config.servers.grpc.server.socket_option.ip_transparent -- server listen socket option for ip_transparent functionality ip_transparent: false # defaults.server_config.servers.grpc.server.socket_option.ip_recover_destination_addr -- server listen socket option for ip_recover_destination_addr functionality @@ -313,7 +313,7 @@ defaults: # @schema {"name": "defaults.server_config.healths.liveness.livenessProbe.periodSeconds", "type": "integer"} # defaults.server_config.healths.liveness.livenessProbe.periodSeconds -- liveness probe period seconds periodSeconds: 3 - # @schema {"name": "defaults.server_config.healths.liveness.server", "type": "object", "alias": "rest_server"} + # @schema {"name": "defaults.server_config.healths.liveness.server", "type": "object"} server: # @schema {"name": "defaults.server_config.healths.liveness.server.mode", "type": "string"} # defaults.server_config.healths.liveness.server.mode -- liveness server mode @@ -327,7 +327,7 @@ defaults: # @schema {"name": "defaults.server_config.healths.liveness.server.socket_path", "type": "string"} # defaults.server_config.healths.liveness.server.socket_path -- mysql socket_path socket_path: "" - # @schema {"name": "defaults.server_config.healths.liveness.server.http", "type": "object", "alias": "http_server_config"} + # @schema {"name": "defaults.server_config.healths.liveness.server.http", "type": "object"} http: # @schema {"name": "defaults.server_config.healths.liveness.server.http.shutdown_duration", "type": "string"} # defaults.server_config.healths.liveness.server.http.shutdown_duration -- liveness server shutdown duration @@ -362,7 +362,7 @@ defaults: # defaults.server_config.healths.liveness.server.socket_option.tcp_quick_ack -- server listen socket option for tcp_quick_ack functionality tcp_quick_ack: true # defaults.server_config.healths.liveness.server.socket_option.tcp_defer_accept -- server listen socket option for tcp_defer_accept functionality - tcp_defer_accept: false + tcp_defer_accept: true # defaults.server_config.healths.liveness.server.socket_option.ip_transparent -- server listen socket option for ip_transparent functionality ip_transparent: false # defaults.server_config.healths.liveness.server.socket_option.ip_recover_destination_addr -- server listen socket option for ip_recover_destination_addr functionality @@ -409,7 +409,7 @@ defaults: # @schema {"name": "defaults.server_config.healths.readiness.readinessProbe.periodSeconds", "type": "integer"} # defaults.server_config.healths.readiness.readinessProbe.periodSeconds -- readiness probe period seconds periodSeconds: 3 - # @schema {"name": "defaults.server_config.healths.readiness.server", "type": "object", "alias": "rest_server"} + # @schema {"name": "defaults.server_config.healths.readiness.server", "type": "object"} server: # @schema {"name": "defaults.server_config.healths.readiness.server.mode", "type": "string"} # defaults.server_config.healths.readiness.server.mode -- readiness server mode @@ -423,7 +423,7 @@ defaults: # @schema {"name": "defaults.server_config.healths.readiness.server.socket_path", "type": "string"} # defaults.server_config.healths.readiness.server.socket_path -- mysql socket_path socket_path: "" - # @schema {"name": "defaults.server_config.healths.readiness.server.http", "type": "object", "alias": "http_server_config"} + # @schema {"name": "defaults.server_config.healths.readiness.server.http", "type": "object"} http: # @schema {"name": "defaults.server_config.healths.readiness.server.http.shutdown_duration", "type": "string"} # defaults.server_config.healths.readiness.server.http.shutdown_duration -- readiness server shutdown duration @@ -458,7 +458,7 @@ defaults: # defaults.server_config.healths.readiness.server.socket_option.tcp_quick_ack -- server listen socket option for tcp_quick_ack functionality tcp_quick_ack: true # defaults.server_config.healths.readiness.server.socket_option.tcp_defer_accept -- server listen socket option for tcp_defer_accept functionality - tcp_defer_accept: false + tcp_defer_accept: true # defaults.server_config.healths.readiness.server.socket_option.ip_transparent -- server listen socket option for ip_transparent functionality ip_transparent: false # defaults.server_config.healths.readiness.server.socket_option.ip_recover_destination_addr -- server listen socket option for ip_recover_destination_addr functionality @@ -479,7 +479,7 @@ defaults: # @schema {"name": "defaults.server_config.metrics.pprof.servicePort", "type": "integer", "minimum": 0, "maximum": 65535} # defaults.server_config.metrics.pprof.servicePort -- pprof server service port servicePort: 6060 - # @schema {"name": "defaults.server_config.metrics.pprof.server", "type": "object", "alias": "rest_server"} + # @schema {"name": "defaults.server_config.metrics.pprof.server", "type": "object"} server: # @schema {"name": "defaults.server_config.metrics.pprof.server.mode", "type": "string"} # defaults.server_config.metrics.pprof.server.mode -- pprof server mode @@ -493,7 +493,7 @@ defaults: # @schema {"name": "defaults.server_config.metrics.pprof.server.socket_path", "type": "string"} # defaults.server_config.metrics.pprof.server.socket_path -- mysql socket_path socket_path: "" - # @schema {"name": "defaults.server_config.metrics.pprof.server.http", "type": "object", "alias": "http_server_config"} + # @schema {"name": "defaults.server_config.metrics.pprof.server.http", "type": "object"} http: # @schema {"name": "defaults.server_config.metrics.pprof.server.http.shutdown_duration", "type": "string"} # defaults.server_config.metrics.pprof.server.http.shutdown_duration -- pprof server shutdown duration @@ -520,15 +520,15 @@ defaults: # defaults.server_config.metrics.pprof.server.socket_option.reuse_addr -- server listen socket option for reuse_addr functionality reuse_addr: true # defaults.server_config.metrics.pprof.server.socket_option.tcp_fast_open -- server listen socket option for tcp_fast_open functionality - tcp_fast_open: false + tcp_fast_open: true # defaults.server_config.metrics.pprof.server.socket_option.tcp_no_delay -- server listen socket option for tcp_no_delay functionality - tcp_no_delay: false + tcp_no_delay: true # defaults.server_config.metrics.pprof.server.socket_option.tcp_cork -- server listen socket option for tcp_cork functionality - tcp_cork: true + tcp_cork: false # defaults.server_config.metrics.pprof.server.socket_option.tcp_quick_ack -- server listen socket option for tcp_quick_ack functionality tcp_quick_ack: true # defaults.server_config.metrics.pprof.server.socket_option.tcp_defer_accept -- server listen socket option for tcp_defer_accept functionality - tcp_defer_accept: false + tcp_defer_accept: true # defaults.server_config.metrics.pprof.server.socket_option.ip_transparent -- server listen socket option for ip_transparent functionality ip_transparent: false # defaults.server_config.metrics.pprof.server.socket_option.ip_recover_destination_addr -- server listen socket option for ip_recover_destination_addr functionality @@ -644,10 +644,10 @@ defaults: read_buffer_size: 0 # @schema {"name": "defaults.grpc.client.dial_option.initial_window_size", "type": "integer"} # defaults.grpc.client.dial_option.initial_window_size -- gRPC client dial option initial window size - initial_window_size: 1048576 + initial_window_size: 0 # @schema {"name": "defaults.grpc.client.dial_option.initial_connection_window_size", "type": "integer"} # defaults.grpc.client.dial_option.initial_connection_window_size -- gRPC client dial option initial connection window size - initial_connection_window_size: 2097152 + initial_connection_window_size: 0 # @schema {"name": "defaults.grpc.client.dial_option.max_msg_size", "type": "integer"} # defaults.grpc.client.dial_option.max_msg_size -- gRPC client dial option max message size max_msg_size: 0 @@ -721,15 +721,15 @@ defaults: # defaults.grpc.client.dial_option.net.socket_option.reuse_addr -- server listen socket option for reuse_addr functionality reuse_addr: true # defaults.grpc.client.dial_option.net.socket_option.tcp_fast_open -- server listen socket option for tcp_fast_open functionality - tcp_fast_open: false + tcp_fast_open: true # defaults.grpc.client.dial_option.net.socket_option.tcp_no_delay -- server listen socket option for tcp_no_delay functionality - tcp_no_delay: false + tcp_no_delay: true # defaults.grpc.client.dial_option.net.socket_option.tcp_cork -- server listen socket option for tcp_cork functionality - tcp_cork: true + tcp_cork: false # defaults.grpc.client.dial_option.net.socket_option.tcp_quick_ack -- server listen socket option for tcp_quick_ack functionality tcp_quick_ack: true # defaults.grpc.client.dial_option.net.socket_option.tcp_defer_accept -- server listen socket option for tcp_defer_accept functionality - tcp_defer_accept: false + tcp_defer_accept: true # defaults.grpc.client.dial_option.net.socket_option.ip_transparent -- server listen socket option for ip_transparent functionality ip_transparent: false # defaults.grpc.client.dial_option.net.socket_option.ip_recover_destination_addr -- server listen socket option for ip_recover_destination_addr functionality @@ -738,13 +738,13 @@ defaults: keepalive: # @schema {"name": "defaults.grpc.client.dial_option.keepalive.time", "type": "string"} # defaults.grpc.client.dial_option.keepalive.time -- gRPC client keep alive time - time: "" + time: "120s" # @schema {"name": "defaults.grpc.client.dial_option.keepalive.timeout", "type": "string"} # defaults.grpc.client.dial_option.keepalive.timeout -- gRPC client keep alive timeout timeout: "30s" # @schema {"name": "defaults.grpc.client.dial_option.keepalive.permit_without_stream", "type": "boolean"} # defaults.grpc.client.dial_option.keepalive.permit_without_stream -- gRPC client keep alive permit without stream - permit_without_stream: false + permit_without_stream: true # @schema {"name": "defaults.grpc.client.tls", "alias": "tls"} tls: # defaults.grpc.client.tls.enabled -- TLS enabled @@ -844,6 +844,7 @@ defaults: # @schema {"name": "defaults.networkPolicy.custom.egress", "type": "object"} # defaults.networkPolicy.custom.egress -- custom egress network policies that a user can add egress: {} + # @schema {"name": "gateway", "type": "object"} gateway: # @schema {"name": "gateway.lb", "type": "object"} @@ -1412,6 +1413,7 @@ gateway: # @schema {"name": "gateway.filter.gateway_config.egress_filter.distance_filters", "type": "array", "items": {"type": "string"}} # gateway.filter.gateway_config.egress_filter.distance_filters -- distance egress vector filter targets distance_filters: [] + # @schema {"name": "agent", "type": "object"} agent: # @schema {"name": "agent.enabled", "type": "boolean"} @@ -1998,15 +2000,15 @@ agent: # agent.sidecar.config.client.net.socket_option.reuse_addr -- server listen socket option for reuse_addr functionality reuse_addr: true # agent.sidecar.config.client.net.socket_option.tcp_fast_open -- server listen socket option for tcp_fast_open functionality - tcp_fast_open: false + tcp_fast_open: true # agent.sidecar.config.client.net.socket_option.tcp_no_delay -- server listen socket option for tcp_no_delay functionality - tcp_no_delay: false + tcp_no_delay: true # agent.sidecar.config.client.net.socket_option.tcp_cork -- server listen socket option for tcp_cork functionality - tcp_cork: true + tcp_cork: false # agent.sidecar.config.client.net.socket_option.tcp_quick_ack -- server listen socket option for tcp_quick_ack functionality tcp_quick_ack: true # agent.sidecar.config.client.net.socket_option.tcp_defer_accept -- server listen socket option for tcp_defer_accept functionality - tcp_defer_accept: false + tcp_defer_accept: true # agent.sidecar.config.client.net.socket_option.ip_transparent -- server listen socket option for ip_transparent functionality ip_transparent: false # agent.sidecar.config.client.net.socket_option.ip_recover_destination_addr -- server listen socket option for ip_recover_destination_addr functionality @@ -2083,6 +2085,7 @@ agent: retry_count: 100 # agent.sidecar.config.restore_backoff.enable_error_log -- restore backoff log enabled enable_error_log: true + # @schema {"name": "discoverer", "type": "object"} discoverer: # @schema {"name": "discoverer.enabled", "type": "boolean"} @@ -2401,6 +2404,7 @@ discoverer: # @schema {"name": "discoverer.serviceAccount.name", "type": "string"} # discoverer.serviceAccount.name -- name of service account name: vald + # @schema {"name": "manager", "type": "object"} manager: # @schema {"name": "manager.index", "type": "object"} diff --git a/go.mod b/go.mod index aeccbce84f9..41bb2d2163a 100755 --- a/go.mod +++ b/go.mod @@ -43,7 +43,7 @@ replace ( github.com/ajstarks/svgo => github.com/ajstarks/svgo v0.0.0-20211024235047-1546f124cd8b github.com/antihax/optional => github.com/antihax/optional v1.0.0 github.com/armon/go-socks5 => github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5 - github.com/aws/aws-sdk-go => github.com/aws/aws-sdk-go v1.44.293 + github.com/aws/aws-sdk-go => github.com/aws/aws-sdk-go v1.44.295 github.com/aws/aws-sdk-go-v2 => github.com/aws/aws-sdk-go-v2 v1.18.1 github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream => github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.10 github.com/aws/aws-sdk-go-v2/config => github.com/aws/aws-sdk-go-v2/config v1.18.27 @@ -190,7 +190,7 @@ replace ( github.com/jstemmer/go-junit-report => github.com/jstemmer/go-junit-report v1.0.0 github.com/kisielk/errcheck => github.com/kisielk/errcheck v1.6.3 github.com/kisielk/gotool => github.com/kisielk/gotool v1.0.0 - github.com/klauspost/compress => github.com/klauspost/compress v1.16.7-0.20230622111944-67a538e2b4df + github.com/klauspost/compress => github.com/klauspost/compress v1.16.7 github.com/klauspost/cpuid/v2 => github.com/klauspost/cpuid/v2 v2.2.5 github.com/kpango/fastime => github.com/kpango/fastime v1.1.9 github.com/kpango/fuid => github.com/kpango/fuid v0.0.0-20221203053508-503b5ad89aa1 @@ -244,7 +244,7 @@ replace ( github.com/quasilyte/gogrep => github.com/quasilyte/gogrep v0.5.0 github.com/quasilyte/stdinfo => github.com/quasilyte/stdinfo v0.0.0-20220114132959-f7386bf02567 github.com/rogpeppe/fastuuid => github.com/rogpeppe/fastuuid v1.2.0 - github.com/rogpeppe/go-internal => github.com/rogpeppe/go-internal v1.10.0 + github.com/rogpeppe/go-internal => github.com/rogpeppe/go-internal v1.11.0 github.com/rs/xid => github.com/rs/xid v1.5.0 github.com/rs/zerolog => github.com/rs/zerolog v1.29.1 github.com/russross/blackfriday/v2 => github.com/russross/blackfriday/v2 v2.1.0 @@ -254,8 +254,8 @@ replace ( github.com/scylladb/gocqlx => github.com/scylladb/gocqlx v1.5.0 github.com/sergi/go-diff => github.com/sergi/go-diff v1.3.1 github.com/shopspring/decimal => github.com/shopspring/decimal v1.3.1 - github.com/shurcooL/httpfs => github.com/shurcooL/httpfs v0.0.0-20190707220628-8d4bc4ba7749 - github.com/shurcooL/vfsgen => github.com/shurcooL/vfsgen v0.0.0-20200824052919-0d455de96546 + github.com/shurcooL/httpfs => github.com/shurcooL/httpfs v0.0.0-20230704072500-f1e31cf0ba5c + github.com/shurcooL/vfsgen => github.com/shurcooL/vfsgen v0.0.0-20230704071429-0000e147ea92 github.com/sirupsen/logrus => github.com/sirupsen/logrus v1.9.3 github.com/spf13/afero => github.com/spf13/afero v1.9.5 github.com/spf13/cobra => github.com/spf13/cobra v1.7.0 @@ -296,13 +296,13 @@ replace ( golang.org/x/image => golang.org/x/image v0.8.0 golang.org/x/lint => golang.org/x/lint v0.0.0-20210508222113-6edffad5e616 golang.org/x/mobile => golang.org/x/mobile v0.0.0-20230531173138-3c911d8e3eda - golang.org/x/mod => golang.org/x/mod v0.11.0 + golang.org/x/mod => golang.org/x/mod v0.12.0 golang.org/x/net => golang.org/x/net v0.11.0 golang.org/x/oauth2 => golang.org/x/oauth2 v0.9.0 golang.org/x/sync => golang.org/x/sync v0.3.0 - golang.org/x/sys => golang.org/x/sys v0.9.0 + golang.org/x/sys => golang.org/x/sys v0.10.0 golang.org/x/term => golang.org/x/term v0.9.0 - golang.org/x/text => golang.org/x/text v0.10.0 + golang.org/x/text => golang.org/x/text v0.11.0 golang.org/x/time => golang.org/x/time v0.3.0 golang.org/x/tools => golang.org/x/tools v0.10.0 golang.org/x/xerrors => golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 diff --git a/go.sum b/go.sum index 5c96c6a078b..4b63d3dae0f 100644 --- a/go.sum +++ b/go.sum @@ -201,8 +201,8 @@ github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kd github.com/apache/arrow/go/v12 v12.0.0/go.mod h1:d+tV/eHZZ7Dz7RPrFKtPK02tpr+c9/PEd/zm8mDS9Vg= github.com/apache/thrift v0.16.0/go.mod h1:PHK3hniurgQaNMZYaCLEqXKsYK8upmhPbmdP2FXSqgU= github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5 h1:0CwZNZbxp69SHPdPJAN/hZIm0C4OItdklCFmMRWYpio= -github.com/aws/aws-sdk-go v1.44.293 h1:oBPrQqsyMYe61Sl/xKVvQFflXjPwYH11aKi8QR3Nhts= -github.com/aws/aws-sdk-go v1.44.293/go.mod h1:aVsgQcEevwlmQ7qHE9I3h+dtQgpqhFB+i8Phjh7fkwI= +github.com/aws/aws-sdk-go v1.44.295 h1:SGjU1+MqttXfRiWHD6WU0DRhaanJgAFY+xIhEaugV8Y= +github.com/aws/aws-sdk-go v1.44.295/go.mod h1:aVsgQcEevwlmQ7qHE9I3h+dtQgpqhFB+i8Phjh7fkwI= github.com/aws/aws-sdk-go-v2 v1.18.1 h1:+tefE750oAb7ZQGzla6bLkOwfcQCEtC5y2RqoqCeqKo= github.com/aws/aws-sdk-go-v2 v1.18.1/go.mod h1:uzbQtefpm44goOPmdKyAlXSNcwlRgF3ePWVW6EtJvvw= github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.10 h1:dK82zF6kkPeCo8J1e+tGx4JdvDIQzj7ygIoLg8WMuGs= @@ -495,8 +495,8 @@ github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51/go.mod h1:C github.com/kisielk/errcheck v1.6.3/go.mod h1:nXw/i/MfnvRHqXa7XXmQMUB0oNFGuBrNI8d8NLy0LPw= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= github.com/klauspost/asmfmt v1.3.2/go.mod h1:AG8TuvYojzulgDAMCnYn50l/5QV3Bs/tp6j0HLHbNSE= -github.com/klauspost/compress v1.16.7-0.20230622111944-67a538e2b4df h1:YVmtlF3q1+H7fzHO2iCZ6n/LmfF3HfqshO/jIqbqpRU= -github.com/klauspost/compress v1.16.7-0.20230622111944-67a538e2b4df/go.mod h1:ntbaceVETuRiXiv4DpjP66DpAtAGkEQskQzEyD//IeE= +github.com/klauspost/compress v1.16.7 h1:2mk3MPGNzKyxErAw8YaohYh69+pa4sIQSC0fPGCFR9I= +github.com/klauspost/compress v1.16.7/go.mod h1:ntbaceVETuRiXiv4DpjP66DpAtAGkEQskQzEyD//IeE= github.com/klauspost/cpuid/v2 v2.2.5 h1:0E5MSMDEoAulmXNFquVs//DdoomxaoTY1kUhbc/qbZg= github.com/klauspost/cpuid/v2 v2.2.5/go.mod h1:Lcz8mBdAVJIBVzewtcLocK12l3Y+JytZYpaMropDUws= github.com/kpango/fastime v1.1.9 h1:xVQHcqyPt5M69DyFH7g1EPRns1YQNap9d5eLhl/Jy84= @@ -604,8 +604,8 @@ github.com/rakyll/embedmd v0.0.0-20171029212350-c8060a0752a2/go.mod h1:7jOTMgqac github.com/remyoudompheng/bigfft v0.0.0-20200410134404-eec4a21b6bb0/go.mod h1:qqbHyh8v60DhA7CoWK5oRCqLrMHRGoxYCSS9EjAz6Eo= github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec/go.mod h1:qqbHyh8v60DhA7CoWK5oRCqLrMHRGoxYCSS9EjAz6Eo= github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= -github.com/rogpeppe/go-internal v1.10.0 h1:TMyTOH3F/DB16zRVcYyreMH6GnZZrwQVAoYjRBZyWFQ= -github.com/rogpeppe/go-internal v1.10.0/go.mod h1:UQnix2H7Ngw/k4C5ijL5+65zddjncjaFoBhdsK/akog= +github.com/rogpeppe/go-internal v1.11.0 h1:cWPaGQEPrBb5/AsnsZesgZZ9yb1OQ+GOISoDNXVBh4M= +github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUzkipdSkR5nkCZA= github.com/rs/xid v1.5.0/go.mod h1:trrq9SKmegXys3aeAKXMUTdJsYXVwGY3RLcfgqegfbg= github.com/rs/zerolog v1.29.1/go.mod h1:Le6ESbR7hc+DP6Lt1THiV8CQSdkkNrd3R0XbEgp3ZBU= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= @@ -618,8 +618,8 @@ github.com/scylladb/gocqlx v1.5.0/go.mod h1:QarZcw5kpYh31MXfxiN2JWWvF1cgZbYqfTfX github.com/sergi/go-diff v1.3.1 h1:xkr+Oxo4BOQKmkn/B9eMK0g5Kg/983T9DqqPHwYqD+8= github.com/shopspring/decimal v1.3.1/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o= github.com/shurcooL/go v0.0.0-20200502201357-93f07166e636/go.mod h1:TDJrrUr11Vxrven61rcy3hJMUqaf/CLWYhHNPmT14Lk= -github.com/shurcooL/httpfs v0.0.0-20190707220628-8d4bc4ba7749/go.mod h1:ZY1cvUeJuFPAdZ/B6v7RHavJWZn2YPVFQ1OSXhCGOkg= -github.com/shurcooL/vfsgen v0.0.0-20200824052919-0d455de96546/go.mod h1:TrYk7fJVaAttu97ZZKrO9UbRa8izdowaMIZcxYMbVaw= +github.com/shurcooL/httpfs v0.0.0-20230704072500-f1e31cf0ba5c/go.mod h1:owqhoLW1qZoYLZzLnBw+QkPP9WZnjlSWihhxAJC1+/M= +github.com/shurcooL/vfsgen v0.0.0-20230704071429-0000e147ea92/go.mod h1:7/OT02F6S6I7v6WXb+IjhMuZEYfH/RJ5RwEWnEo5BMg= github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ= github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ= github.com/spf13/afero v1.9.5/go.mod h1:UBogFpq8E9Hx+xc5CNTTEpTnuHVmXDwZcZcE1eb/UhQ= @@ -706,20 +706,20 @@ golang.org/x/image v0.8.0 h1:agUcRXV/+w6L9ryntYYsF2x9fQTMd4T8fiiYXAVW6Jg= golang.org/x/image v0.8.0/go.mod h1:PwLxp3opCYg4WR2WO9P0L6ESnsD6bLTWcw8zanLMVFM= golang.org/x/lint v0.0.0-20210508222113-6edffad5e616/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= golang.org/x/mobile v0.0.0-20230531173138-3c911d8e3eda/go.mod h1:aAjjkJNdrh3PMckS4B10TGS2nag27cbKR1y2BpUxsiY= -golang.org/x/mod v0.11.0 h1:bUO06HqtnRcc/7l71XBe4WcqTZ+3AH1J59zWDDwLKgU= -golang.org/x/mod v0.11.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= +golang.org/x/mod v0.12.0 h1:rmsUpXtvNzj340zd98LZ4KntptpfRHwpFOHG188oHXc= +golang.org/x/mod v0.12.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/net v0.11.0 h1:Gi2tvZIJyBtO9SDr1q9h5hEQCp/4L2RQ+ar0qjx2oNU= golang.org/x/net v0.11.0/go.mod h1:2L/ixqYpgIVXmeoSA/4Lu7BzTG4KIyPIryS4IsOd1oQ= golang.org/x/oauth2 v0.9.0 h1:BPpt2kU7oMRq3kCHAA1tbSEshXRw1LpG2ztgDwrzuAs= golang.org/x/oauth2 v0.9.0/go.mod h1:qYgFZaFiu6Wg24azG8bdV52QJXJGbZzIIsRCdVKzbLw= golang.org/x/sync v0.3.0 h1:ftCYgMx6zT/asHUrPw8BLLscYtGznsLAnjq5RH9P66E= golang.org/x/sync v0.3.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y= -golang.org/x/sys v0.9.0 h1:KS/R3tvhPqvJvwcKfnBHJwwthS11LRhmM5D59eEXa0s= -golang.org/x/sys v0.9.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.10.0 h1:SqMFp9UcQJZa+pmYuAKjd9xq1f0j5rLcDIk0mj4qAsA= +golang.org/x/sys v0.10.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.9.0 h1:GRRCnKYhdQrD8kfRAdQ6Zcw1P0OcELxGLKJvtjVMZ28= golang.org/x/term v0.9.0/go.mod h1:M6DEAAIenWoTxdKrOltXcmDY3rSplQUkrvaDU5FcQyo= -golang.org/x/text v0.10.0 h1:UpjohKhiEgNc0CSauXmwYftY1+LlaC75SJwh0SgCX58= -golang.org/x/text v0.10.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= +golang.org/x/text v0.11.0 h1:LAntKIrcmeSKERyiOh0XMV39LXS8IE9UL2yP7+f5ij4= +golang.org/x/text v0.11.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/time v0.3.0 h1:rg5rLMjNzMS1RkNLzCG38eapWhnYLFYXDXj2gOlr8j4= golang.org/x/time v0.3.0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/tools v0.10.0 h1:tvDr/iQoUqNdohiYm0LmmKcBk+q86lb9EprIUFhHHGg= diff --git a/internal/core/algorithm/ngt/ngt.go b/internal/core/algorithm/ngt/ngt.go index 99d73fac3d3..7ecdc3c3c48 100644 --- a/internal/core/algorithm/ngt/ngt.go +++ b/internal/core/algorithm/ngt/ngt.go @@ -664,8 +664,9 @@ func (n *ngt) BulkRemove(ids ...uint) (errs error) { } // GetVector returns vector stored in NGT index. -func (n *ngt) GetVector(id uint) (ret []float32, err error) { +func (n *ngt) GetVector(id uint) ([]float32, error) { dimension := int(n.dimension) + var ret []float32 ebuf := n.GetErrorBuffer() switch n.objectType { case Float: diff --git a/k8s/agent/configmap.yaml b/k8s/agent/configmap.yaml index 2551e454139..841443e8a28 100644 --- a/k8s/agent/configmap.yaml +++ b/k8s/agent/configmap.yaml @@ -44,18 +44,18 @@ data: connection_timeout: "" enable_reflection: true header_table_size: 0 - initial_conn_window_size: 2097152 - initial_window_size: 1048576 + initial_conn_window_size: 0 + initial_window_size: 0 interceptors: - RecoverInterceptor keepalive: max_conn_age: "" max_conn_age_grace: "" max_conn_idle: "" - min_time: 10m - permit_without_stream: false - time: 3h - timeout: 60s + min_time: 60s + permit_without_stream: true + time: 120s + timeout: 30s max_header_list_size: 0 max_receive_message_size: 0 max_send_message_size: 0 @@ -70,10 +70,10 @@ data: ip_transparent: false reuse_addr: true reuse_port: true - tcp_cork: true - tcp_defer_accept: false - tcp_fast_open: false - tcp_no_delay: false + tcp_cork: false + tcp_defer_accept: true + tcp_fast_open: true + tcp_no_delay: true tcp_quick_ack: true socket_path: "" health_check_servers: @@ -96,7 +96,7 @@ data: reuse_addr: true reuse_port: true tcp_cork: false - tcp_defer_accept: false + tcp_defer_accept: true tcp_fast_open: true tcp_no_delay: true tcp_quick_ack: true @@ -120,7 +120,7 @@ data: reuse_addr: true reuse_port: true tcp_cork: false - tcp_defer_accept: false + tcp_defer_accept: true tcp_fast_open: true tcp_no_delay: true tcp_quick_ack: true @@ -144,10 +144,10 @@ data: ip_transparent: false reuse_addr: true reuse_port: true - tcp_cork: true - tcp_defer_accept: false - tcp_fast_open: false - tcp_no_delay: false + tcp_cork: false + tcp_defer_accept: true + tcp_fast_open: true + tcp_no_delay: true tcp_quick_ack: true socket_path: "" startup_strategy: @@ -155,11 +155,6 @@ data: - pprof - grpc - readiness - shutdown_strategy: - - readiness - - grpc - - pprof - - liveness full_shutdown_duration: 600s tls: ca: /path/to/ca diff --git a/k8s/discoverer/configmap.yaml b/k8s/discoverer/configmap.yaml index bc887bbd309..5a128f6f705 100644 --- a/k8s/discoverer/configmap.yaml +++ b/k8s/discoverer/configmap.yaml @@ -44,18 +44,18 @@ data: connection_timeout: "" enable_reflection: true header_table_size: 0 - initial_conn_window_size: 2097152 - initial_window_size: 1048576 + initial_conn_window_size: 0 + initial_window_size: 0 interceptors: - RecoverInterceptor keepalive: max_conn_age: "" max_conn_age_grace: "" max_conn_idle: "" - min_time: 10m - permit_without_stream: false - time: 3h - timeout: 60s + min_time: 60s + permit_without_stream: true + time: 120s + timeout: 30s max_header_list_size: 0 max_receive_message_size: 0 max_send_message_size: 0 @@ -70,10 +70,10 @@ data: ip_transparent: false reuse_addr: true reuse_port: true - tcp_cork: true - tcp_defer_accept: false - tcp_fast_open: false - tcp_no_delay: false + tcp_cork: false + tcp_defer_accept: true + tcp_fast_open: true + tcp_no_delay: true tcp_quick_ack: true socket_path: "" health_check_servers: @@ -96,7 +96,7 @@ data: reuse_addr: true reuse_port: true tcp_cork: false - tcp_defer_accept: false + tcp_defer_accept: true tcp_fast_open: true tcp_no_delay: true tcp_quick_ack: true @@ -120,7 +120,7 @@ data: reuse_addr: true reuse_port: true tcp_cork: false - tcp_defer_accept: false + tcp_defer_accept: true tcp_fast_open: true tcp_no_delay: true tcp_quick_ack: true @@ -144,10 +144,10 @@ data: ip_transparent: false reuse_addr: true reuse_port: true - tcp_cork: true - tcp_defer_accept: false - tcp_fast_open: false - tcp_no_delay: false + tcp_cork: false + tcp_defer_accept: true + tcp_fast_open: true + tcp_no_delay: true tcp_quick_ack: true socket_path: "" startup_strategy: @@ -155,11 +155,6 @@ data: - pprof - grpc - readiness - shutdown_strategy: - - readiness - - grpc - - pprof - - liveness full_shutdown_duration: 600s tls: ca: /path/to/ca diff --git a/k8s/discoverer/deployment.yaml b/k8s/discoverer/deployment.yaml index c83cb70f4a2..26f9a5a0970 100644 --- a/k8s/discoverer/deployment.yaml +++ b/k8s/discoverer/deployment.yaml @@ -47,7 +47,7 @@ spec: app.kubernetes.io/instance: release-name app.kubernetes.io/component: discoverer annotations: - checksum/configmap: 93b7c3aa6b8f0c29c84cb8f89df27119858e4174f0956120fdc63b944ec85d11 + checksum/configmap: 0b472fffedcc5bfab8f66d948b086fa1a016e1221a034f7794525bdf67b46827 profefe.com/enable: "true" profefe.com/port: "6060" profefe.com/service: vald-discoverer diff --git a/k8s/gateway/lb/configmap.yaml b/k8s/gateway/lb/configmap.yaml index 18bd5f5f24c..718ca219193 100644 --- a/k8s/gateway/lb/configmap.yaml +++ b/k8s/gateway/lb/configmap.yaml @@ -44,18 +44,18 @@ data: connection_timeout: "" enable_reflection: true header_table_size: 0 - initial_conn_window_size: 2097152 - initial_window_size: 1048576 + initial_conn_window_size: 0 + initial_window_size: 0 interceptors: - RecoverInterceptor keepalive: max_conn_age: "" max_conn_age_grace: "" max_conn_idle: "" - min_time: 10m - permit_without_stream: false - time: 3h - timeout: 60s + min_time: 60s + permit_without_stream: true + time: 120s + timeout: 30s max_header_list_size: 0 max_receive_message_size: 0 max_send_message_size: 0 @@ -70,10 +70,10 @@ data: ip_transparent: false reuse_addr: true reuse_port: true - tcp_cork: true - tcp_defer_accept: false - tcp_fast_open: false - tcp_no_delay: false + tcp_cork: false + tcp_defer_accept: true + tcp_fast_open: true + tcp_no_delay: true tcp_quick_ack: true socket_path: "" health_check_servers: @@ -96,7 +96,7 @@ data: reuse_addr: true reuse_port: true tcp_cork: false - tcp_defer_accept: false + tcp_defer_accept: true tcp_fast_open: true tcp_no_delay: true tcp_quick_ack: true @@ -120,7 +120,7 @@ data: reuse_addr: true reuse_port: true tcp_cork: false - tcp_defer_accept: false + tcp_defer_accept: true tcp_fast_open: true tcp_no_delay: true tcp_quick_ack: true @@ -144,10 +144,10 @@ data: ip_transparent: false reuse_addr: true reuse_port: true - tcp_cork: true - tcp_defer_accept: false - tcp_fast_open: false - tcp_no_delay: false + tcp_cork: false + tcp_defer_accept: true + tcp_fast_open: true + tcp_no_delay: true tcp_quick_ack: true socket_path: "" startup_strategy: @@ -155,11 +155,6 @@ data: - pprof - grpc - readiness - shutdown_strategy: - - readiness - - grpc - - pprof - - liveness full_shutdown_duration: 600s tls: ca: /path/to/ca @@ -242,13 +237,13 @@ data: backoff_max_delay: 120s backoff_multiplier: 1.6 enable_backoff: false - initial_connection_window_size: 2097152 - initial_window_size: 1048576 + initial_connection_window_size: 0 + initial_window_size: 0 insecure: true interceptors: [] keepalive: - permit_without_stream: false - time: "" + permit_without_stream: true + time: 120s timeout: 30s max_msg_size: 0 min_connection_timeout: 20s @@ -266,10 +261,10 @@ data: ip_transparent: false reuse_addr: true reuse_port: true - tcp_cork: true - tcp_defer_accept: false - tcp_fast_open: false - tcp_no_delay: false + tcp_cork: false + tcp_defer_accept: true + tcp_fast_open: true + tcp_no_delay: true tcp_quick_ack: true tls: ca: /path/to/ca @@ -320,13 +315,13 @@ data: backoff_max_delay: 120s backoff_multiplier: 1.6 enable_backoff: false - initial_connection_window_size: 2097152 - initial_window_size: 1048576 + initial_connection_window_size: 0 + initial_window_size: 0 insecure: true interceptors: [] keepalive: - permit_without_stream: false - time: "" + permit_without_stream: true + time: 120s timeout: 30s max_msg_size: 0 min_connection_timeout: 20s @@ -344,10 +339,10 @@ data: ip_transparent: false reuse_addr: true reuse_port: true - tcp_cork: true - tcp_defer_accept: false - tcp_fast_open: false - tcp_no_delay: false + tcp_cork: false + tcp_defer_accept: true + tcp_fast_open: true + tcp_no_delay: true tcp_quick_ack: true tls: ca: /path/to/ca diff --git a/k8s/gateway/lb/deployment.yaml b/k8s/gateway/lb/deployment.yaml index c588528365e..45cb8cde06f 100644 --- a/k8s/gateway/lb/deployment.yaml +++ b/k8s/gateway/lb/deployment.yaml @@ -46,7 +46,7 @@ spec: app.kubernetes.io/instance: release-name app.kubernetes.io/component: gateway-lb annotations: - checksum/configmap: f44923f86ffccf4b017a05493f282f179d663e4f51dde8807bbd82a98bcb298a + checksum/configmap: dc5cf90161696b8f5fcf0ca2936570bc4c315b2951bf54e6adef919f071db45d profefe.com/enable: "true" profefe.com/port: "6060" profefe.com/service: vald-lb-gateway diff --git a/k8s/manager/index/configmap.yaml b/k8s/manager/index/configmap.yaml index 368338c4e58..f7bb11a5390 100644 --- a/k8s/manager/index/configmap.yaml +++ b/k8s/manager/index/configmap.yaml @@ -44,18 +44,18 @@ data: connection_timeout: "" enable_reflection: true header_table_size: 0 - initial_conn_window_size: 2097152 - initial_window_size: 1048576 + initial_conn_window_size: 0 + initial_window_size: 0 interceptors: - RecoverInterceptor keepalive: max_conn_age: "" max_conn_age_grace: "" max_conn_idle: "" - min_time: 10m - permit_without_stream: false - time: 3h - timeout: 60s + min_time: 60s + permit_without_stream: true + time: 120s + timeout: 30s max_header_list_size: 0 max_receive_message_size: 0 max_send_message_size: 0 @@ -70,10 +70,10 @@ data: ip_transparent: false reuse_addr: true reuse_port: true - tcp_cork: true - tcp_defer_accept: false - tcp_fast_open: false - tcp_no_delay: false + tcp_cork: false + tcp_defer_accept: true + tcp_fast_open: true + tcp_no_delay: true tcp_quick_ack: true socket_path: "" health_check_servers: @@ -96,7 +96,7 @@ data: reuse_addr: true reuse_port: true tcp_cork: false - tcp_defer_accept: false + tcp_defer_accept: true tcp_fast_open: true tcp_no_delay: true tcp_quick_ack: true @@ -120,7 +120,7 @@ data: reuse_addr: true reuse_port: true tcp_cork: false - tcp_defer_accept: false + tcp_defer_accept: true tcp_fast_open: true tcp_no_delay: true tcp_quick_ack: true @@ -144,10 +144,10 @@ data: ip_transparent: false reuse_addr: true reuse_port: true - tcp_cork: true - tcp_defer_accept: false - tcp_fast_open: false - tcp_no_delay: false + tcp_cork: false + tcp_defer_accept: true + tcp_fast_open: true + tcp_no_delay: true tcp_quick_ack: true socket_path: "" startup_strategy: @@ -155,11 +155,6 @@ data: - pprof - grpc - readiness - shutdown_strategy: - - readiness - - grpc - - pprof - - liveness full_shutdown_duration: 600s tls: ca: /path/to/ca @@ -241,13 +236,13 @@ data: backoff_max_delay: 120s backoff_multiplier: 1.6 enable_backoff: false - initial_connection_window_size: 2097152 - initial_window_size: 1048576 + initial_connection_window_size: 0 + initial_window_size: 0 insecure: true interceptors: [] keepalive: - permit_without_stream: false - time: "" + permit_without_stream: true + time: 120s timeout: 30s max_msg_size: 0 min_connection_timeout: 20s @@ -265,10 +260,10 @@ data: ip_transparent: false reuse_addr: true reuse_port: true - tcp_cork: true - tcp_defer_accept: false - tcp_fast_open: false - tcp_no_delay: false + tcp_cork: false + tcp_defer_accept: true + tcp_fast_open: true + tcp_no_delay: true tcp_quick_ack: true tls: ca: /path/to/ca @@ -316,8 +311,8 @@ data: dial_option: write_buffer_size: 0 read_buffer_size: 0 - initial_window_size: 1.048576e+06 - initial_connection_window_size: 2.097152e+06 + initial_window_size: 0 + initial_connection_window_size: 0 max_msg_size: 0 backoff_max_delay: "120s" backoff_base_delay: "1s" @@ -348,14 +343,14 @@ data: ip_transparent: false reuse_addr: true reuse_port: true - tcp_cork: true - tcp_defer_accept: false - tcp_fast_open: false - tcp_no_delay: false + tcp_cork: false + tcp_defer_accept: true + tcp_fast_open: true + tcp_no_delay: true tcp_quick_ack: true keepalive: - permit_without_stream: false - time: "" + permit_without_stream: true + time: 120s timeout: 30s tls: ca: /path/to/ca diff --git a/k8s/manager/index/deployment.yaml b/k8s/manager/index/deployment.yaml index aa540909d88..3a4bd4a7fb7 100644 --- a/k8s/manager/index/deployment.yaml +++ b/k8s/manager/index/deployment.yaml @@ -47,7 +47,7 @@ spec: app.kubernetes.io/instance: release-name app.kubernetes.io/component: manager-index annotations: - checksum/configmap: 48604cf92536492933ac63941bb1e6cff3f72bf461b97742a524788363a0c13e + checksum/configmap: 25f27c58701b1fe5a448442301b66d41896dc74f438d21b126b3d2b42c6737eb profefe.com/enable: "true" profefe.com/port: "6060" profefe.com/service: vald-manager-index diff --git a/pkg/gateway/lb/handler/grpc/aggregation.go b/pkg/gateway/lb/handler/grpc/aggregation.go index a3abe71bf52..047a2540a16 100644 --- a/pkg/gateway/lb/handler/grpc/aggregation.go +++ b/pkg/gateway/lb/handler/grpc/aggregation.go @@ -363,7 +363,6 @@ type valdStdAggr struct { num int wg sync.WaitGroup dch chan DistPayload - closed atomic.Bool maxDist atomic.Value visited sync.Map result []*payload.Object_Distance @@ -371,7 +370,7 @@ type valdStdAggr struct { } func newStd(num, replica int) Aggregator { - vsa := &valdStdAggr{ + return &valdStdAggr{ num: num, dch: make(chan DistPayload, num*replica), maxDist: func() (av atomic.Value) { @@ -380,8 +379,6 @@ func newStd(num, replica int) Aggregator { }(), result: make([]*payload.Object_Distance, 0, num*replica), } - vsa.closed.Store(false) - return vsa } func (v *valdStdAggr) Start(ctx context.Context) { @@ -440,7 +437,6 @@ func (v *valdStdAggr) Start(ctx context.Context) { for { select { case <-ctx.Done(): - v.closed.Store(true) close(v.dch) for dist := range v.dch { add(dist.distance, dist.raw) @@ -466,9 +462,6 @@ func (v *valdStdAggr) Send(ctx context.Context, data *payload.Search_Response) { return } if _, already := v.visited.LoadOrStore(dist.GetId(), struct{}{}); !already { - if v.closed.Load() { - return - } select { case <-ctx.Done(): return diff --git a/versions/NGT_VERSION b/versions/NGT_VERSION index 82bd22f9cc3..3d45b5c65a6 100644 --- a/versions/NGT_VERSION +++ b/versions/NGT_VERSION @@ -1 +1 @@ -2.0.13 +2.0.14 diff --git a/versions/PROMETHEUS_STACK_VERSION b/versions/PROMETHEUS_STACK_VERSION index c734575a828..4d654743c2d 100644 --- a/versions/PROMETHEUS_STACK_VERSION +++ b/versions/PROMETHEUS_STACK_VERSION @@ -1 +1 @@ -47.1.0 +47.3.0 diff --git a/versions/TELEPRESENCE_VERSION b/versions/TELEPRESENCE_VERSION index edcfe40d198..9c32cc631df 100644 --- a/versions/TELEPRESENCE_VERSION +++ b/versions/TELEPRESENCE_VERSION @@ -1 +1 @@ -2.14.0 +2.14.1-rc.0