blob: 4f60bbd862e6d660e8566d42fd170b6e80c3fdce [file] [log] [blame]
Hyunsun Moon72db0fd2019-10-15 13:08:44 -06001# 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
30docker_insecure_registries:
31 - 10.90.0.150
32
33# K8S
34kubeadm_enabled: true
35kubelet_deployment_type: host
36kubectl_localhost: true
37kubeconfig_localhost: true
38
39kube_feature_gates: [SCTPSupport=True]
40kube_pods_subnet: 172.18.0.0/17
41kube_service_addresses: 172.18.128.0/17
42kube_apiserver_node_port_range: 2000-36767
43kube_network_plugin: calico
44kube_network_plugin_multus: true
45multus_version: stable
46ipip: false
47
48local_volume_provisioner_enabled: true
49
50# Applications
51dns_mode: coredns
52dns_cores_per_replica: 256
53dns_min_replicas: 1
54
55helm_enabled: true
56helm_deployment_type: host
57helm_version: v2.14.2