blob: c4549abb1d5a1d23e59bc00003baa9f1f571c6bb [file] [log] [blame]
Hyunsun Moon2b69b952019-08-19 03:19:03 -05001# Copyright 2019-present Open Networking Foundation
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15# Sample kubespray override variables for COMAC deploy.
16# Pass this file as an extra variables when running kubespray. For example,
17# ansible-playbook -b -i inventory/comac/hosts.ini -e @inventory/comac/extra-vars.yaml cluster.yml
18# Tested with Kubespray release-2.11
19
20# OS
21disable_swap: true
22populate_inventory_to_hosts_file: true
23
24# etcd
25etcd_deployment_type: docker
26etcd_memory_limit: 8192M
27
28# Docker
29docker_iptables_enabled: true
30
31# K8S
32kubeadm_enabled: true
33kubelet_deployment_type: host
34kubectl_localhost: true
35kubeconfig_localhost: true
36
37kube_feature_gates: [SCTPSupport=True]
38kube_pods_subnet: 172.18.0.0/17
39kube_service_addresses: 172.18.128.0/17
40kube_apiserver_node_port_range: 2000-36767
41kube_network_plugin: calico
42kube_network_plugin_multus: true
43multus_version: stable
44ipip: false
45
46local_volume_provisioner_enabled: true
47
48# Applications
49dns_mode: coredns
50dns_cores_per_replica: 256
51dns_min_replicas: 1
52
53helm_enabled: true
54helm_deployment_type: host
55helm_version: v2.14.2