blob: 538a6c9fb9f0c373c008c293529328060770f9f0 [file] [log] [blame]
Mohammed Naserab033e12022-03-13 21:07:28 -04001---
2# .. vim: foldmarker=[[[,]]]:foldmethod=marker
Mohammed Naser336caf42022-03-11 17:56:45 -05003
Mohammed Naserab033e12022-03-13 21:07:28 -04004# .. Copyright (C) 2022 VEXXHOST, Inc.
5# .. SPDX-License-Identifier: Apache-2.0
6
7# Default variables
8# =================
9
10# .. contents:: Sections
11# :local:
12
13
14# .. envvar:: kubernetes_repo_url [[[
15#
16# Kubernetes repository URL
Mohammed Naser336caf42022-03-11 17:56:45 -050017kubernetes_repo_url: "{{ _kubernetes_upstream_apt_repository }}"
Mohammed Naserab033e12022-03-13 21:07:28 -040018
19 # ]]]
20# .. envvar:: kubernetes_version [[[
21#
22# Kubernetes version
Mohammed Naser336caf42022-03-11 17:56:45 -050023kubernetes_version: 1.22.7
24
Mohammed Naserab033e12022-03-13 21:07:28 -040025 # ]]]
26# .. envvar:: kubernetes_kernel_modules [[[
27#
28# List of kernel modules to be automatically loaded
Mohammed Naser336caf42022-03-11 17:56:45 -050029kubernetes_kernel_modules:
30 - br_netfilter
31
Mohammed Naserab033e12022-03-13 21:07:28 -040032 # ]]]
33# .. envvar:: kubernetes_sysctls [[[
34#
35# List of ``sysctl`` parameters to set
Mohammed Naser336caf42022-03-11 17:56:45 -050036kubernetes_sysctls:
37 - name: net.ipv4.ip_forward
38 value: 1
39 - name: net.ipv4.tcp_l3mdev_accept
40 value: 1
41 - name: net.ipv4.udp_l3mdev_accept
42 value: 1
43 - name: net.bridge.bridge-nf-call-iptables
44 value: 1
45 - name: net.bridge.bridge-nf-call-ip6tables
46 value: 1
47 - name: net.ipv4.conf.all.rp_filter
48 value: 0
okozachenkoe6245a22022-06-21 23:33:08 +100049 - name: net.ipv4.neigh.default.gc_thresh1
50 value: 4096
51 - name: net.ipv4.neigh.default.gc_thresh2
52 value: 8192
53 - name: net.ipv4.neigh.default.gc_thresh3
54 value: 16384
Mohammed Naser336caf42022-03-11 17:56:45 -050055
Mohammed Naserab033e12022-03-13 21:07:28 -040056 # ]]]
57# .. envvar:: kubernetes_control_plane_group [[[
58#
59# Name of Ansible group containing all control-plane nodes
Mohammed Naser336caf42022-03-11 17:56:45 -050060kubernetes_control_plane_group: controllers
Mohammed Naserab033e12022-03-13 21:07:28 -040061
62 # ]]]
Mohammed Naser2144b342022-05-23 10:25:31 -040063# .. envvar:: kubernetes_control_plane_labels [[[
Mohammed Nasera98799e2022-05-19 21:54:20 -040064#
65# Labels to apply for all control plane nodes
66kubernetes_control_plane_labels:
67 openstack-control-plane: enabled
68 openvswitch: enabled
69
70 # ]]]
71# .. envvar:: kubernetes_compute_node_labels [[[
72#
73# Labels to apply for all compute nodes
74kubernetes_compute_node_labels:
75 openstack-compute-node: enabled
76 openvswitch: enabled
77
78 # ]]]