配置应用之后, nginx没有写入响应的配置, 是什么原因呢?
[root@k-master ~]# cat nginx-config.yaml
kind: ConfigMap
apiVersion: v1
metadata:
name: nginx-configuration
namespace: ingress-nginx
labels:
app: ingress-nginx
data:
proxy-body-size: "64m"
proxy-read-timeout: "180"
proxy-send-timeout: "180"
[root@k-master ~]# kubectl apply -f nginx-config.yaml
configmap/nginx-configuration configured
[root@k-master ~]# kubectl exec -n ingress-nginx -it ingress-nginx-controller-xhjh2 -- cat /etc/nginx/nginx.conf | grep 64
# Configuration checksum: 16664229562195959359
server_names_hash_bucket_size 64;
map_hash_bucket_size 64;
proxy_headers_hash_bucket_size 64;