13f5217d88
In order to mitigate sporadic data races in etcd (publish error: etcdserver: request timed out"): - Add etcd_start_delay and kubelet_start_delay (defaults to a 5 sec.) - Increase default start sleep times to foo_start_delay from a 1 sec. - Add restart sleeping as well. - Add missing start sleep commands as appropriate. Closes: https://github.com/kubespray/kargo/issues/342 Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
52 lines
1.7 KiB
YAML
52 lines
1.7 KiB
YAML
---
|
|
run_gitinfos: false
|
|
|
|
# Controll delayed startup/restart for services, in seconds
|
|
etcd_start_delay: 5
|
|
kubelet_start_delay: 5
|
|
|
|
# This directory is where all the additional scripts go
|
|
# that Kubernetes normally puts in /srv/kubernetes.
|
|
# This puts them in a sane location
|
|
kube_script_dir: "{{ bin_dir }}/kubernetes-scripts"
|
|
|
|
# This directory is where all the additional config stuff goes
|
|
# the kubernetes normally puts in /srv/kubernets.
|
|
# This puts them in a sane location.
|
|
# Editting this value will almost surely break something. Don't
|
|
# change it. Things like the systemd scripts are hard coded to
|
|
# look in here. Don't do it.
|
|
kube_config_dir: /etc/kubernetes
|
|
|
|
# Logging directory (sysvinit systems)
|
|
kube_log_dir: "/var/log/kubernetes"
|
|
|
|
# This is where you can drop yaml/json files and the kubelet will run those
|
|
# pods on startup
|
|
kube_manifest_dir: "{{ kube_config_dir }}/manifests"
|
|
|
|
# change to 0.0.0.0 to enable insecure access from anywhere (not recommended)
|
|
kube_apiserver_insecure_bind_address: 127.0.0.1
|
|
|
|
common_required_pkgs:
|
|
- python-httplib2
|
|
- openssl
|
|
- curl
|
|
- rsync
|
|
- bash-completion
|
|
- socat
|
|
|
|
# Set to true if your network does not support IPv6
|
|
# This maybe necessary for pulling Docker images from
|
|
# GCE docker repository
|
|
disable_ipv6_dns: false
|
|
|
|
|
|
# For the openstack integration kubelet will need credentials to access
|
|
# openstack apis like nova and cinder. Per default this values will be
|
|
# read from the environment.
|
|
openstack_auth_url: "{{ lookup('env','OS_AUTH_URL') }}"
|
|
openstack_username: "{{ lookup('env','OS_USERNAME') }}"
|
|
openstack_password: "{{ lookup('env','OS_PASSWORD') }}"
|
|
openstack_region: "{{ lookup('env','OS_REGION_NAME') }}"
|
|
openstack_tenant_id: "{{ lookup('env','OS_TENANT_ID') }}"
|