Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to configure bpf-nat-global-max using Helm #10511

Merged
merged 2 commits into from Mar 9, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -136,6 +136,10 @@ data:
bpf-ct-global-tcp-max: "{{ .Values.global.bpf.ctTcpMax }}"
bpf-ct-global-any-max: "{{ .Values.global.bpf.ctAnyMax }}"

# bpf-nat-global-max specified the maximum number of entries in the BPF NAT
# table.
bpf-nat-global-max: "{{ .Values.global.bpf.natMax }}"

# Pre-allocation of map entries allows per-packet latency to be reduced, at
# the expense of up-front memory allocation for the entries in the maps. The
# default value below will minimize memory usage in the default installation;
Expand Down
3 changes: 3 additions & 0 deletions install/kubernetes/cilium/values.yaml
Expand Up @@ -202,6 +202,9 @@ global:
# tracking table
ctAnyMax: 262144

# natMax is the maximum number of entries for the NAT table
natMax: 841429

# montiorAggregation is the level of aggregation for datapath trace events
monitorAggregation: medium

Expand Down
5 changes: 5 additions & 0 deletions install/kubernetes/quick-install.yaml
Expand Up @@ -75,6 +75,10 @@ data:
bpf-ct-global-tcp-max: "524288"
bpf-ct-global-any-max: "262144"

# bpf-nat-global-max specified the maximum number of entries in the BPF NAT
# table.
bpf-nat-global-max: "841429"

# Pre-allocation of map entries allows per-packet latency to be reduced, at
# the expense of up-front memory allocation for the entries in the maps. The
# default value below will minimize memory usage in the default installation;
Expand Down Expand Up @@ -144,6 +148,7 @@ data:
enable-remote-node-identity: "true"

synchronize-k8s-nodes: "true"
policy-audit-mode: "false"
operator-api-serve-addr: '127.0.0.1:9234'
---
# Source: cilium/charts/agent/templates/clusterrole.yaml
Expand Down