interop-workloads/workloads/ansible/shade/k8s/vars/coreos.yml

66 lines
1.8 KiB
YAML
Executable File

---
# This is an example configuration file when use coreos image.
horizon_url: "http://9.30.217.9"
auth: {
auth_url: "http://9.30.217.9:5000/v3",
username: "demo",
password: "{{ password }}",
domain_name: "default",
project_name: "demo"
}
app_env: {
target_os: "coreos",
image_name: "coreos",
region_name: "RegionOne",
availability_zone: "nova",
validate_certs: False,
ssh_user: "core",
private_net_name: "demonet",
flavor_name: "m1.large",
public_key_file: "/home/ubuntu/.ssh/interop.pub",
private_key_file: "/home/ubuntu/.ssh/interop",
stack_size: 4,
volume_size: 1,
block_device_name: "/dev/vdb",
domain: "cluster.local",
pod_network: {
Network: "172.17.0.0/16",
SubnetLen: 24,
SubnetMin: "172.17.0.0",
SubnetMax: "172.17.255.0",
Backend: {
Type: "udp",
Port: 8285
}
},
service_ip_range: "172.16.0.0/24",
dns_service_ip: "172.16.0.4",
dashboard_service_ip: "172.16.0.5",
app_setting: {
public_node: "",
own_cluster: True,
# The following section shows how to pre allocate floating IPs for each
# server. If you wish not to pre allocate floating IPs or your cloud
# does not support floating IPs, leave them empty. The stack_size
# above should dictate how many worker nodes should be. For example, if
# your stack_size is 10, you will need to add worker-1 to worker-9.
ips: {
master: [],
worker-1: [],
worker-2: []
}
},
# The following section shows an example when use a local repo.
# If you have exported some container images such as images that being used
# by this workload, you can place the url point to tar.gz file for
# cimages_repo
cimages_repo: "http://10.0.10.12/cimages.tar.gz",
flannel_repo: "http://10.0.10.12/flannel-v0.7.0-linux-amd64.tar.gz",
k8s_repo: "http://10.0.10.12/v1.5.4/"
}