8263c063dd88e9ef8fa3638cc5893a17dcc2b019
[multicloud/k8s.git] / vagrant / inventory / group_vars / k8s-cluster.yml
1 # SPDX-license-identifier: Apache-2.0
2 ##############################################################################
3 # Copyright (c) 2018
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 ##############################################################################
9
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
13 ## modules.
14 kubelet_load_modules: true
15
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
22
23 # Logging directory (sysvinit systems)
24 kube_log_dir: "/var/log/kubernetes"
25
26 kube_api_anonymous_auth: true
27
28 # Users to create for basic auth in Kubernetes API via HTTP
29 # Optionally add groups for user
30 kube_api_pwd: "secret"
31 kube_users:
32   kube:
33     pass: "{{kube_api_pwd}}"
34     role: admin
35     groups:
36       - system:masters
37
38 ## It is possible to activate / deactivate selected authentication methods (basic auth, static token auth)
39 #kube_oidc_auth: false
40 kube_basic_auth: true
41 kube_token_auth: true
42
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
46
47 # Settings for containerized control plane
48 kubelet_deployment_type: host
49
50 # NGINX Ingress Controller
51 ingress_nginx_enabled: true
52
53 # Make a copy of kubeconfig on the host that runs Ansible in GITDIR/artifacts
54 kubeconfig_localhost: true
55
56 # Enable MountPropagation gate feature
57 local_volumes_enabled: true
58
59 ## Change this to use another Kubernetes version, e.g. a current beta release
60 kube_version: v1.11.3
61
62 # Helm deployment
63 helm_enabled: true
64
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