taherbohri commented on issue #2783:
URL:
https://github.com/apache/apisix-ingress-controller/issues/2783#issuecomment-4680658744
Hi @Baoyuantop
We understood the issue is related to the config size , since you mentioned
the config size by default supports only 10 mb and since our config is
increasing that 10m linit we are facing the config sync issue ,
so We tried updating the standalone-config as -
gateway values file -
metaLuaSharedDicts:
- name: standalone-config
size: 50m
and in gateway config template -
inside nginx_config -
meta:
lua_shared_dict:
{{- range $dict := .Values.apisix.nginx.metaLuaSharedDicts }}
{{ $dict.name }}: {{ $dict.size }}
{{- end }}
{{- end }}
It worked for us , I was able to see the config of 11.8 mb getting synced.
But then I noticed the out of 5 pods of gateway one by one pods were not
getting config again , like some were getting then some were not and then again
all were not , like this the pods were coming up and down.
Like the config size was getting set and reset from 50 to 10 mb during the
run time and similar in ingress controller , sometime it was able to sync the
config to the admin api and sometimes not.
@Baoyuantop Could you please recommend the solution for above as we will
have a large config in and it may also increase in future .
Note - we are on 3.14 and I have manually updated the gateway config
template to sync the config size.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]