blob: 02ece9b55ea94ae6498ed6800c755cb04583202d [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 Naser71ebfe82022-12-28 05:28:16 +000023kubernetes_version: 1.22.17
Mohammed Naserb19a6312023-01-19 02:43:40 +000024kubernetes_cri_tools_version: 1.25.0
Mohammed Naser336caf42022-03-11 17:56:45 -050025
Mohammed Naserab033e12022-03-13 21:07:28 -040026 # ]]]
Tadas Sutkaitis06159252023-02-20 17:15:42 +020027# .. envvar:: kubernetes_cri_socket [[[
28#
29# CRI socket path
30kubernetes_cri_socket: /run/containerd/containerd.sock
31
32 # ]]]
Mohammed Naserab033e12022-03-13 21:07:28 -040033# .. envvar:: kubernetes_kernel_modules [[[
34#
35# List of kernel modules to be automatically loaded
Mohammed Naser336caf42022-03-11 17:56:45 -050036kubernetes_kernel_modules:
37 - br_netfilter
38
Mohammed Naserab033e12022-03-13 21:07:28 -040039 # ]]]
40# .. envvar:: kubernetes_sysctls [[[
41#
42# List of ``sysctl`` parameters to set
Mohammed Naser336caf42022-03-11 17:56:45 -050043kubernetes_sysctls:
44 - name: net.ipv4.ip_forward
45 value: 1
Mohammed Naser336caf42022-03-11 17:56:45 -050046 - name: net.bridge.bridge-nf-call-iptables
47 value: 1
48 - name: net.bridge.bridge-nf-call-ip6tables
49 value: 1
50 - name: net.ipv4.conf.all.rp_filter
51 value: 0
52
Mohammed Naserab033e12022-03-13 21:07:28 -040053 # ]]]
54# .. envvar:: kubernetes_control_plane_group [[[
55#
56# Name of Ansible group containing all control-plane nodes
Mohammed Naser336caf42022-03-11 17:56:45 -050057kubernetes_control_plane_group: controllers
Mohammed Naserab033e12022-03-13 21:07:28 -040058
59 # ]]]
Mohammed Naser2144b342022-05-23 10:25:31 -040060# .. envvar:: kubernetes_control_plane_labels [[[
Mohammed Nasera98799e2022-05-19 21:54:20 -040061#
62# Labels to apply for all control plane nodes
63kubernetes_control_plane_labels:
64 openstack-control-plane: enabled
65 openvswitch: enabled
66
67 # ]]]
68# .. envvar:: kubernetes_compute_node_labels [[[
69#
70# Labels to apply for all compute nodes
71kubernetes_compute_node_labels:
72 openstack-compute-node: enabled
73 openvswitch: enabled
74
75 # ]]]
Mohammed Naser1b541262023-03-01 14:33:36 +000076
77# Node IP address
78kubernetes_node_ip: "{{ ansible_default_ipv4.address }}"
Mohammed Naserad999a72023-03-02 16:58:19 +010079
80# Allow usage of swap memory for the Kubelet (Do not enable this unless you
81# know what you are doing).
82kubernetes_allow_unsafe_swap: false