Merge "Add logging agents deployment to CI"
[apex-tripleo-heat-templates.git] / puppet / services / kernel.yaml
1 heat_template_version: ocata
2
3 description: >
4   Load kernel modules with kmod and configure kernel options with sysctl.
5
6 parameters:
7   ServiceNetMap:
8     default: {}
9     description: Mapping of service_name -> network name. Typically set
10                  via parameter_defaults in the resource registry.  This
11                  mapping overrides those in ServiceNetMapDefaults.
12     type: json
13   DefaultPasswords:
14     default: {}
15     type: json
16   EndpointMap:
17     default: {}
18     description: Mapping of service endpoint -> protocol. Typically set
19                  via parameter_defaults in the resource registry.
20     type: json
21   KernelPidMax:
22     default: 1048576
23     description: Configures sysctl kernel.pid_max key
24     type: number
25
26 outputs:
27   role_data:
28     description: Role data for the Kernel modules
29     value:
30       service_name: kernel
31       config_settings:
32         kernel_modules:
33           nf_conntrack: {}
34           ip_conntrack_proto_sctp: {}
35         sysctl_settings:
36           net.ipv4.tcp_keepalive_intvl:
37             value: 1
38           net.ipv4.tcp_keepalive_probes:
39             value: 5
40           net.ipv4.tcp_keepalive_time:
41             value: 5
42           net.nf_conntrack_max:
43             value: 500000
44           net.netfilter.nf_conntrack_max:
45             value: 500000
46           # prevent neutron bridges from autoconfiguring ipv6 addresses
47           net.ipv6.conf.all.accept_ra:
48             value: 0
49           net.ipv6.conf.default.accept_ra:
50             value: 0
51           net.ipv6.conf.all.autoconf:
52             value: 0
53           net.ipv6.conf.default.autoconf:
54             value: 0
55           net.core.netdev_max_backlog:
56             value: 10000
57           kernel.pid_max:
58             value: {get_param: KernelPidMax}
59           kernel.dmesg_restrict:
60             value: 1
61           fs.suid_dumpable:
62             value: 0
63       step_config: |
64         include ::tripleo::profile::base::kernel