Add support for specifying a server group ID for (anti-)affinity (#135)
This commit is contained in:
parent
22f0a1dca2
commit
b643ff30f8
@ -30,6 +30,9 @@ template:
|
||||
{{- with .Values.controlPlane.machineNetworking.ports }}
|
||||
ports: {{ toYaml . | nindent 6 }}
|
||||
{{- end }}
|
||||
{{- with .Values.controlPlane.serverGroupId }}
|
||||
serverGroupID: {{ . }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
{{- define "openstack-cluster.controlplane.mt.checksum" -}}
|
||||
|
@ -32,6 +32,9 @@ template:
|
||||
{{- with $nodeGroup.machineNetworking.ports }}
|
||||
ports: {{ toYaml . | nindent 6 }}
|
||||
{{- end }}
|
||||
{{- with $nodeGroup.serverGroupId }}
|
||||
serverGroupID: {{ . }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
{{- define "openstack-cluster.nodegroup.mt.checksum" -}}
|
||||
|
@ -151,6 +151,8 @@ controlPlane:
|
||||
# The volume availability zone to use
|
||||
# If not specified, the machine availability zone is used
|
||||
# availabilityZone:
|
||||
# The ID of the server group to use for control plane machines
|
||||
serverGroupId:
|
||||
# Labels to apply to the node objects in Kubernetes that correspond to control plane machines
|
||||
nodeLabels:
|
||||
# my.company.org/label: value
|
||||
@ -256,8 +258,10 @@ nodeGroupDefaults:
|
||||
# The volume availability zone to use
|
||||
# If not specified, the machine availability zone is used
|
||||
# availabilityZone:
|
||||
# The ID of the server group to use for machines in the node group
|
||||
serverGroupId:
|
||||
# Labels to apply to the node objects in Kubernetes that correspond to machines in the node group
|
||||
# By default, nodes that are part of a node group get the label "capi.stackhpc.com/node-group=<node group name>"
|
||||
# By default, nodes get the label "capi.stackhpc.com/node-group=<node group name>"
|
||||
nodeLabels:
|
||||
# my.company.org/label: value
|
||||
# The time to wait for a node to finish draining before it can be removed
|
||||
|
Loading…
x
Reference in New Issue
Block a user