-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcluster-settings-template.scs2.env
More file actions
65 lines (65 loc) · 2.94 KB
/
Copy pathcluster-settings-template.scs2.env
File metadata and controls
65 lines (65 loc) · 2.94 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# Cluster settings template (scs2 cluster stack series)
# This is a file to be sourced from bash
# Don't do this with untrusted files!
#
# TODO: Check whether we can make this more compatible with v1 KaaS
#
### Management cluster
# You do not normally override it
#KUBECONFIG=~/.kube/config
### Per namespace: secrets
# The namespace to keep your CS objects for a set of clusters (use e.g. cloud project name)
CS_NAMESPACE=clusterns
# Location of the clouds.yaml (default: ~/.config/openstack/clouds.yaml)
CLOUDS_YAML=~/.config/openstack/clouds.yaml
# Name of the cloud in there (default: openstack, any name works now)
OS_CLOUD=${OS_CLOUD:-openstack}
### Per cluster stack settings
# Kubernetes Maj.Min, e.g. 1.32 (without leading v), can be left empty (see last line)
CS_MAINVER=
# CS Template versions that match, should be an array, e.g. [v1, v2, v0-git.XXXXXXX]
CS_VERSION=
# CS Series (scs or scs2)
CS_SERIES=scs2
### Now the per workload cluster settings
# Full K8s Version Maj.Min.Patch, without leading 'v', e.g. 1.32.3 (this is per cluster)
CL_PATCHVER=
# Cluster name
CL_NAME=
# Restr. Application credentials per cluster -- set lifetime in days (0/"": do not create ACs)
# Regularly run 07-cluster-secret.sh to refresh/rotate AppCreds! You need openstacktools installed for this.
CL_APPCRED_LIFETIME=
# Pod CIDR (e.g. 172.16.0.0/16)
CL_PODCIDR=172.16.0.0/18
# Service CIDR (e.g. 10.96.0.0/12)
CL_SVCCIDR=10.96.0.0/14
# Number of (initial) control plane nodes
CL_CTRLNODES=1
# Number of (initial) worker nodes
# You can also pass a list AZ1:no1,AZ2:no2,AZ3:no3 to create 3 machine deployments
# with no1 replicas in (failureDomain) AZ1, no2 in AZ2 and no3 in AZ3
CL_WRKRNODES=1
# Additional clusterClass variables in key=value syntax (;-separated), the names come
# from the clusterClass, these changed from scs to scs2. With scs2, defaults are
# apiServerLoadBalancer=octavia-ovn
# diskPinAZ=false
# controlPlaneFlavor=SCS-2V-4; controlPlaneRootDisk
# workerFlavor=SCS-4V-8; workerRootDisk
# dnsNameservers=[5.1.66.255,185.150.99.255]
# workerAdditionalBlockDevices= (Use [{name: <NAME>; sizeGiB: <SIZE>}, ...])
# apiServerLoadBalancerOctaviaAmphoraAllowedCIDRs=
# imageIsOrc=true
# (The following should not be touched; normally)
# imageName=; imageAddVersion=true
# disableAPIServerFloatingIP=false; sshKeyName=
# k8sVersion=$CL_PATCHVER; networkExternalID=$EXTNETUUID; networkMTU=
# controlPlaneAvailabilityZones=[]; controlPlaneOmitAvailabilityZone=true
# openstackSecurityGroups=; controlPlaneServerGroupID=; workerServerGroupID=
# securityGroups=; securityGroupIDs=; workerSecurityGroups=; workerSecurityGroupIDs=
# certSANs=; oidcConfig=; nodeCIDR=10.8.0.0/20
# identityRef = { name: openstack; cloudName: openstack }
# Example: CL_VARIABLES="apiServerLoadBalancer=octavia-ovn;dnsNameservers=[9.9.9.9,1.1.1.1]"
CL_VARIABLES="apiServerLoadBalancer=octavia-ovn"
### Autofill magic, don't touch
CS_NAMESPACE=${CS_NAMESPACE:-$OS_CLOUD}
CS_MAINVER=${CS_MAINVER:-${CL_PATCHVER%.*}}