-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathconfig-default.sh
39 lines (24 loc) · 1.05 KB
/
config-default.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#!/bin/bash
## Contains configuration values for the Openstack cluster
# Stack name
STACK_NAME=${STACK_NAME:-KubernetesStack}
# Keypair for kubernetes stack
KUBERNETES_KEYPAIR_NAME=${KUBERNETES_KEYPAIR_NAME:-kubernetes_keypair}
NUMBER_OF_MINIONS=${NUMBER_OF_MINIONS:-1}
MAX_NUMBER_OF_MINIONS=${MAX_NUMBER_OF_MINIONS:-1}
MASTER_FLAVOR=${MASTER_FLAVOR:-m1.small}
MINION_FLAVOR=${MINION_FLAVOR:-m1.small}
EXTERNAL_NETWORK=${EXTERNAL_NETWORK:-public}
NETWORK_CIDR=${NETWORK_CIDR:-10.0.0.0/24}
# Image id which will be used for kubernetes stack
IMAGE_ID=${IMAGE_ID:-23b3ac80-3f08-4c0c-bb99-f323e8aa3565}
# DNS server address
DNS_SERVER=${DNS_SERVER:-8.8.8.8}
# Public RSA key path
CLIENT_PUBLIC_KEY_PATH=${CLIENT_PUBLIC_KEY_PATH:-~/.ssh/id_rsa.pub}
# Max time period for stack provisioning. Time in minutes.
STACK_CREATE_TIMEOUT=${STACK_CREATE_TIMEOUT:-60}
# Private Docker registry url. Leave empty for default docker hub.
DOCKER_REGISTRY_URL=${DOCKER_REGISTRY_URL:-}
# Docker registry prefix for all k8s images.
DOCKER_REGISTRY_PREFIX=${DOCKER_REGISTRY_PREFIX:-}