apisix-helm-chart icon indicating copy to clipboard operation
apisix-helm-chart copied to clipboard

nginx connection configurage to values.yaml attribute

Open PGDream opened this issue 3 years ago • 18 comments

with main snippet dont modify nginx command worker_rlimit_nofile、events.worker_connections、events.use`

PGDream avatar Apr 19 '22 09:04 PGDream

values.yaml add events.use purpose APACHE APISIX ngx_tpl.lua file override events.use command on nginx.conf

PGDream avatar Apr 19 '22 09:04 PGDream

plz check the CI errors

tao12345666333 avatar Apr 19 '22 12:04 tao12345666333

plz check the CI errors

@tao12345666333 lost reviewer!

PGDream avatar Apr 19 '22 15:04 PGDream

This is more convenient for later expansion and structuring. Is it considered possible to change this way?

PGDream avatar Apr 28 '22 13:04 PGDream

@PGDream In order to maintain compatibility, we can support both configuration methods at the same time. After 3 versions, remove the old configuration.

tao12345666333 avatar Apr 28 '22 15:04 tao12345666333

@PGDream In order to maintain compatibility, we can support both configuration methods at the same time. After 3 versions, remove the old configuration.

good idea

PGDream avatar Apr 29 '22 02:04 PGDream

@PGDream In order to maintain compatibility, we can support both configuration methods at the same time. After 3 versions, remove the old configuration.

done

PGDream avatar May 04 '22 13:05 PGDream

It's on my queue, I will do the final review today.

tao12345666333 avatar May 07 '22 01:05 tao12345666333

@tokers where not change of log parameters?

PGDream avatar May 12 '22 12:05 PGDream

@tokers where not change of log parameters?

FYI: https://github.com/apache/apisix-helm-chart/blob/master/charts/apisix/templates/configmap.yaml#L166

tokers avatar May 13 '22 00:05 tokers

@tokers where not change of log parameters?

FYI: https://github.com/apache/apisix-helm-chart/blob/master/charts/apisix/templates/configmap.yaml#L166

modify more configure,account upgrade may error..

PGDream avatar May 13 '22 01:05 PGDream

No. If you don't modify them, what's the point of introducing the nginx_config.logs?

tokers avatar May 13 '22 08:05 tokers

@PGDream In order to maintain compatibility, we can support both configuration methods at the same time. After 3 versions, remove the old configuration.

No. If you don't modify them, what's the point of introducing the nginx_config.logs?

@PGDream In order to maintain compatibility, we can support both configuration methods at the same time. After 3 versions, remove the old configuration. ?

how to solve then above problems?

PGDream avatar May 13 '22 15:05 PGDream

@PGDream What problem are you having now?

tao12345666333 avatar May 24 '22 14:05 tao12345666333

In order to maintain compatibility, we can support both configuration methods at the same time. After 3 versions, remove the old configuration.

excuse me, how do it?

PGDream avatar May 26 '22 07:05 PGDream

In order to maintain compatibility, we can support both configuration methods at the same time. After 3 versions, remove the old configuration.

excuse me, how do it?

Let's add the nginx.log field but at the same time, don't change the log parameters.

tokers avatar May 26 '22 09:05 tokers

In order to maintain compatibility, we can support both configuration methods at the same time. After 3 versions, remove the old configuration.

excuse me, how do it?

Let's add the nginx.log field but at the same time, don't change the log parameters.

that`s it now

PGDream avatar May 27 '22 03:05 PGDream

In order to maintain compatibility, we can support both configuration methods at the same time. After 3 versions, remove the old configuration.

excuse me, how do it?

Let's add the nginx.log field but at the same time, don't change the log parameters.

that`s it now

See https://github.com/apache/apisix-helm-chart/pull/268/files#r871183026. You need to change all places that refer to the old log fields. And mark the log fields as deprecated.

tokers avatar May 27 '22 09:05 tokers