|
| 1 | +# Cluster settings template (scs2 cluster stack series) |
| 2 | +# This is a file to be sourced from bash |
| 3 | +# Don't do this with untrusted files! |
| 4 | +# |
| 5 | +# TODO: Check whether we can make this more compatible with v1 KaaS |
| 6 | +# |
| 7 | +### Management cluster |
| 8 | +# You do not normally override it |
| 9 | +#KUBECONFIG=~/.kube/config |
| 10 | +### Per namespace: secrets |
| 11 | +# The namespace to keep your CS objects for a set of clusters (use e.g. cloud project name) |
| 12 | +CS_NAMESPACE=clusterns |
| 13 | +# Location of the clouds.yaml (default: ~/.config/openstack/clouds.yaml) |
| 14 | +CLOUDS_YAML=~/.config/openstack/clouds.yaml |
| 15 | +# Name of the cloud in there (default: openstack, any name works now) |
| 16 | +OS_CLOUD=${OS_CLOUD:-openstack} |
| 17 | +### Per cluster stack settings |
| 18 | +# Kubernetes Maj.Min, e.g. 1.32 (without leading v), can be left empty (see last line) |
| 19 | +CS_MAINVER= |
| 20 | +# CS Template versions that match, should be an array, e.g. [v1, v2, v0-git.XXXXXXX] |
| 21 | +CS_VERSION= |
| 22 | +# CS Series (scs or scs2) |
| 23 | +CS_SERIES=scs2 |
| 24 | +### Now the per workload cluster settings |
| 25 | +# Full K8s Version Maj.Min.Patch, without leading 'v', e.g. 1.32.3 (this is per cluster) |
| 26 | +CL_PATCHVER= |
| 27 | +# Cluster name |
| 28 | +CL_NAME= |
| 29 | +# Restr. Application credentials per cluster -- set lifetime in days (0/"": do not create ACs) |
| 30 | +# Regularly run 07-cluster-secret.sh to refresh/rotate AppCreds! You need openstacktools installed for this. |
| 31 | +CL_APPCRED_LIFETIME= |
| 32 | +# Pod CIDR (e.g. 172.16.0.0/16) |
| 33 | +CL_PODCIDR=172.16.0.0/18 |
| 34 | +# Service CIDR (e.g. 10.96.0.0/12) |
| 35 | +CL_SVCCIDR=10.96.0.0/14 |
| 36 | +# Number of (initial) control plane nodes |
| 37 | +CL_CTRLNODES=1 |
| 38 | +# Number of (initial) worker nodes |
| 39 | +CL_WRKRNODES=1 |
| 40 | +# Additional clusterClass variables in key=value syntax (;-separated), the names come |
| 41 | +# from the clusterClass, these changed from scs to scs2. With scs2, defaults are |
| 42 | +# apiServerLoadBalancer=octavia-ovn |
| 43 | +# controlPlaneFlavor=SCS-2V-4; controlPlaneRootDisk |
| 44 | +# workerFlavor=SCS-4V-8; workerRootDisk |
| 45 | +# dnsNameservers=[5.1.66.255,185.150.99.255] |
| 46 | +# workerAdditionalBlockDevices= (Use [{name: <NAME>; sizeGiB: <SIZE>}, ...]) |
| 47 | +# apiServerLoadBalancerOctaviaAmphoraAllowedCIDRs= |
| 48 | +# imageIsOrc=true |
| 49 | +# (The following should not be touched; normally) |
| 50 | +# imageName=; imageAddVersion=true |
| 51 | +# additionalBlockDevices=; disableAPIServerFloatingIP=false; sshKeyName= |
| 52 | +# k8sVersion=$CL_PATCHVER; networkExternalID=$EXTNETUUID; networkMTU= |
| 53 | +# controlPlaneAvailabilityZones=; controlPlaneOmitAvailabilityZone=true |
| 54 | +# openstackSecurityGroups=; controlPlaneServerGroupID=; workerServerGroupID= |
| 55 | +# securityGroups=; securityGroupIDs=; workerSecurityGroups=; workerSecurityGroupIDs= |
| 56 | +# certSANs=; oidcConfig=; nodeCIDR=10.8.0.0/20 |
| 57 | +# dentityRef = { name: openstack; cloudName: openstack } |
| 58 | +# Example: CL_VARIABLES="apiServerLoadBalancer=octavia-ovn;dnsNameservers=[9.9.9.9,1.1.1.1]" |
| 59 | +CL_VARIABLES="apiServerLoadBalancer=octavia-ovn" |
| 60 | +### Autofill magic, don't touch |
| 61 | +CS_NAMESPACE=${CS_NAMESPACE:-$OS_CLOUD} |
| 62 | +CS_MAINVER=${CS_MAINVER:-${CL_PATCHVER%.*}} |
0 commit comments