6e1c0cdd15
* Add restart for weave service unit * Reuse docker_bin_dir everythere * Limit systemd managed docker containers by CPU/RAM. Do not configure native systemd limits due to the lack of consensus in the kernel community requires out-of-tree kernel patches. Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
35 lines
1,014 B
YAML
35 lines
1,014 B
YAML
---
|
|
# Enables Internet connectivity from containers
|
|
nat_outgoing: true
|
|
|
|
# Use IP-over-IP encapsulation across hosts
|
|
ipip: false
|
|
|
|
# Set to true if you want your calico cni binaries to overwrite the
|
|
# ones from hyperkube while leaving other cni plugins intact.
|
|
overwrite_hyperkube_cni: true
|
|
|
|
calico_cert_dir: /etc/calico/certs
|
|
etcd_cert_dir: /etc/ssl/etcd/ssl
|
|
|
|
# Global as_num (/calico/bgp/v1/global/as_num)
|
|
global_as_num: "64512"
|
|
|
|
# You can set MTU value here. If left undefined or empty, it will
|
|
# not be specified in calico CNI config, so Calico will use built-in
|
|
# defaults. The value should be a number, not a string.
|
|
# calico_mtu: 1500
|
|
|
|
# Limits for apps
|
|
calico_rr_memory_limit: 1000M
|
|
calico_rr_cpu_limit: 300m
|
|
calico_rr_memory_requests: 500M
|
|
calico_rr_cpu_requests: 150m
|
|
calico_node_memory_limit: 500M
|
|
calico_node_cpu_limit: 300m
|
|
calico_node_memory_requests: 256M
|
|
calico_node_cpu_requests: 150m
|
|
calicoctl_memory_limit: 170M
|
|
calicoctl_cpu_limit: 100m
|
|
calicoctl_memory_requests: 70M
|
|
calicoctl_cpu_requests: 50m
|