c12s-kubespray/roles/kubernetes/preinstall/defaults/main.yml

58 lines
2.1 KiB
YAML
Raw Normal View History

---
2016-01-21 12:19:02 +00:00
run_gitinfos: false
# 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"
epel_rpm_download_url: "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm"
2015-12-31 13:07:02 +00:00
common_required_pkgs:
- python-httplib2
2015-12-31 13:07:02 +00:00
- openssl
- curl
2016-01-09 09:45:50 +00:00
- rsync
- bash-completion
- socat
2015-12-31 13:07:02 +00:00
# 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') }}"
# For the vSphere integration kubelet will need credentials to access
# the api. Per default this values will be
# read from the environment.
vsphere_username: "{{ lookup('env', VSPHERE_USERNAME ) }}"
vsphere_password: "{{ lookup('env', VSPHERE_PASSWORD ) }}"
vsphere_server: "{{ lookup('env', VSPHERE_SERVER ) }}"
vsphere_datacenter: "{{ lookup('env', VSPHERE_DATACENTER ) }}"
vsphere_datastore: "{{ lookup('env', VSPHERE_DATASTORE ) }}"
vsphere_working_dir: "{{ lookup('env', VSPHERE_WORKING_DIR ) }}"