Merge pull request #1879 from r2d4/map_hash_bucket_size
Automatic merge from submit-queue Make map_hash_bucket_size configurable I was getting an error while trying to run the nginx controller in minikube. This allows this nginx configuration option to be passed in through a configmap. The default value depends on the processor's cache line size (32 | 64 | 128), however ServerNameHashBucketSize is determined similarly, so I've set it to the same default (64). Fixes #1817 ref https://github.com/kubernetes/minikube/issues/611 cc @bprashanth
This commit is contained in:
commit
bff5d0e5a2
2 changed files with 7 additions and 0 deletions
|
|
@ -59,6 +59,7 @@ http {
|
|||
types_hash_max_size 2048;
|
||||
server_names_hash_max_size {{ $cfg.serverNameHashMaxSize }};
|
||||
server_names_hash_bucket_size {{ $cfg.serverNameHashBucketSize }};
|
||||
map_hash_bucket_size {{ $cfg.mapHashBucketSize }};
|
||||
|
||||
include /etc/nginx/mime.types;
|
||||
default_type text/html;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue