1 # SPDX-license-identifier: Apache-2.0
2 ##############################################################################
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 ##############################################################################
10 ## For some things, kubelet needs to load kernel modules. For example, dynamic kernel services are needed
11 ## for mounting persistent volumes into containers. These may not be loaded by preinstall kubernetes
12 ## processes. For example, ceph and rbd backed volumes. Set to true to allow kubelet to load kernel
14 kubelet_load_modules: true
16 # Kubernetes configuration dirs and system namespace.
17 # Those are where all the additional config stuff goes
18 # kubernetes normally puts in /srv/kubernetes.
19 # This puts them in a sane location and namespace.
20 # Editing those values will almost surely break something.
21 system_namespace: kube-system
23 # Logging directory (sysvinit systems)
24 kube_log_dir: "/var/log/kubernetes"
26 kube_api_anonymous_auth: true
28 # Users to create for basic auth in Kubernetes API via HTTP
29 # Optionally add groups for user
30 kube_api_pwd: "secret"
33 pass: "{{kube_api_pwd}}"
38 ## It is possible to activate / deactivate selected authentication methods (basic auth, static token auth)
39 #kube_oidc_auth: false
43 # Choose network plugin (calico, contiv, weave or flannel)
44 # Can also be set to 'cloud', which lets the cloud provider setup appropriate routing
45 kube_network_plugin: flannel
47 # Settings for containerized control plane
48 kubelet_deployment_type: host
50 # NGINX Ingress Controller
51 ingress_nginx_enabled: true
53 # Make a copy of kubeconfig on the host that runs Ansible in GITDIR/artifacts
54 kubeconfig_localhost: true
56 # Enable MountPropagation gate feature
57 local_volumes_enabled: true
59 ## Change this to use another Kubernetes version, e.g. a current beta release
65 # Kube-proxy proxyMode configuration.
66 # NOTE: Ipvs is based on netfilter hook function, but uses hash table as the underlying data structure and
67 # works in the kernel space
68 # https://kubernetes.io/docs/concepts/services-networking/service/#proxy-mode-ipvs
69 #kube_proxy_mode: ipvs