-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcluster-template-openstack.rc
39 lines (31 loc) · 1.43 KB
/
cluster-template-openstack.rc
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
# Kubernetes cluster configuration
export KUBERNETES_VERSION=1.25.0
export CONTROL_PLANE_MACHINE_COUNT=1
export WORKER_MACHINE_COUNT=1
# OpenStack credentials configuration. No changes needed if you followed the README.
export OPENSTACK_CLOUD=openstack
export OPENSTACK_CLOUD_CONFIG_SECRET_NAME=cloud-config
# OpenStack region and network configuration. External network ID is only needed if multiple external networks exist.
export OPENSTACK_EXTERNAL_NETWORK_ID=""
export OPENSTACK_FAILURE_DOMAIN="nova"
# OpenStack machine conifugration
export OPENSTACK_IMAGE_NAME=ubuntu-20.04
export OPENSTACK_CONTROL_PLANE_MACHINE_FLAVOR=m1.medium
export OPENSTACK_NODE_MACHINE_FLAVOR=m1.medium
export OPENSTACK_SSH_KEY_NAME=my-ssh-key
# OpenStack network configuration
export OPENSTACK_NETWORK_CIDR=10.6.0.0/24
export OPENSTACK_DNS_NAMESERVERS=
# OpenStack control plane configuration.
# Set this to 'false' to use a simple Floating IP for the control plane (works everywhere)
# Set this to 'true' to use an Octavia LoadBalancer for the control plane (requires octavia support in the cloud)
export OPENSTACK_USE_OCTAVIA_LOADBALANCER=false
# (optional) Containerd HTTP proxy configuration. Leave empty if not required.
export CONTAINERD_HTTP_PROXY=""
export CONTAINERD_HTTPS_PROXY=""
export CONTAINERD_NO_PROXY=""
# (optional) Snap risk level and confinement
export SNAP_RISKLEVEL=""
export SNAP_CONFINEMENT=""
# Upgrade configuration
export UPGRADE_STRATEGY=SmartUpgrade