How to enable zstd in ingress controller
I really want to enable the zstd module to my nginx_ingress_controller. that I downloaded and installed from kubernetes/nginx_ingress. I doubt what step I took and the results failed me.
what I did:
-
download your dynamic script in one group directory, and put all the files together in dir
/my directory/ingress nginx/zstd-nginx-module/config
ngx_http_zstd_static_module.c -
I edited my daemonset/deployment file and add extra line to load the file.
- --add-module=/my directory/ingress nginx/zstd-nginx-module/ -
I log in to my ingress
kubectl exec -it ingress-nginx-controller-name -n namespace -- sh -ls -
after login inside one of the nginx-controller , I could check the Nginx modules, and it is located inside the container
/etc/nginx/modules$
ngx_http_auth_digest_module.so ngx_http_brotli_static_module.so ngx_http_influxdb_module.so ngx_http_opentracing_module.so
I did not find the zstd module and all the extension file is .so
- I edited my configmap data:
allow-snippet-annotations: "true"
i tried this , it is acceptable zstd: "on" zstd_comp_level: "3" zstd_min_length: "256"
but this code is not working zstd on; zstd_comp_level 3;
I belive I dis big mistake and I don't understand enough, thank you for the help, I hope you got my point
@rthamrin Did you solve this? Did you check the so file mounting in the container?