blob: 79c2a9a3a18bd7a078c78666c207e6c6fadb577f [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
Mohammed Naser780f4622022-06-22 19:26:32 -040050 value: 128
okozachenkoe6245a22022-06-21 23:33:08 +100051 - name: net.ipv4.neigh.default.gc_thresh2
Mohammed Naser780f4622022-06-22 19:26:32 -040052 value: 28872
okozachenkoe6245a22022-06-21 23:33:08 +100053 - name: net.ipv4.neigh.default.gc_thresh3
Mohammed Naser780f4622022-06-22 19:26:32 -040054 value: 32768
55 - name: net.ipv6.neigh.default.gc_thresh1
56 value: 128
57 - name: net.ipv6.neigh.default.gc_thresh2
58 value: 28872
59 - name: net.ipv6.neigh.default.gc_thresh3
60 value: 32768
Mohammed Naser336caf42022-03-11 17:56:45 -050061
Mohammed Naserab033e12022-03-13 21:07:28 -040062 # ]]]
63# .. envvar:: kubernetes_control_plane_group [[[
64#
65# Name of Ansible group containing all control-plane nodes
Mohammed Naser336caf42022-03-11 17:56:45 -050066kubernetes_control_plane_group: controllers
Mohammed Naserab033e12022-03-13 21:07:28 -040067
68 # ]]]
Mohammed Naser2144b342022-05-23 10:25:31 -040069# .. envvar:: kubernetes_control_plane_labels [[[
Mohammed Nasera98799e2022-05-19 21:54:20 -040070#
71# Labels to apply for all control plane nodes
72kubernetes_control_plane_labels:
73 openstack-control-plane: enabled
74 openvswitch: enabled
75
76 # ]]]
77# .. envvar:: kubernetes_compute_node_labels [[[
78#
79# Labels to apply for all compute nodes
80kubernetes_compute_node_labels:
81 openstack-compute-node: enabled
82 openvswitch: enabled
83
84 # ]]]