Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add node affinity and toleration conditions and doc #56

Merged
merged 3 commits into from
Nov 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions charts/ecosystem/templates/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,14 @@ data:
# engine_memory_limit: "300"
run_poll: "5"
run_poll_recheck: "2"
#
# Label of k8s node that Galasa test pods should be scheduled on preferrentially
galasa_node_preferred_affinity: "{{ .Values.k8sNodePreferredAffinity }}"
#
# List of node toleration conditions
galasa_node_tolerations: "{{ .Values.k8sNodeTolerations }}"


#
# The name of the Kubernetes Secret that stores the encryption-related keys,
# so that test pods can decrypt credentials where necessary
Expand Down
30 changes: 29 additions & 1 deletion charts/ecosystem/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ galasaVersion: "0.38.0"
# Name of the galasa service which will be shown as the title of the web user interface page.
# Any bookmarks taken by users in their browsers will also receive this name.
# Making this name distict helps users identify which Galasa service they are using.
# If they are all called the same thing, users with access to multiple systems may find that
# If they are all called the same thing, users with access to multiple systems may find that
# confusing.
# It is RECOMMENDED that this value is changed to be unique,
# For example: Galasa Service XYZ
Expand Down Expand Up @@ -48,6 +48,34 @@ maxEngines: "10"
galasaWebUiImage: "galasa-ui"
#
#
#
# Optional. The label of a Kubernetes node that the engine controller should
# have an affinity for. If possible, the engine controller will schedule
# Galasa runs on this node.
#
# Example value: "galasa-engines"
#
k8sNodePreferredAffinity: ""
#
#
#
# Optional. The definition of a Kubernetes node taint toleration behaviour.
# You may wish to prevent other workloads from being scheduled on your dedicated
# Galasa k8s nodes. This can be achieved by tainting the Galasa k8s nodes. If this
# has been done, you will need to define a toleration for your Galasa pods so that
# they can schedule on the tainted nodes.
#
# The value should define a node label, an operator and a condition.
#
# Example value: "galasa-engines=Exists:NoSchedule"
#
# In the above example, any node which has the label "galasa-engines" with a
# "NoSchedule" taint should be tolerated, resulting in the Galasa test pods
# having exclusive access to run on this node.
#
k8sNodeTolerations: ""
#
#
# The pull policy to be used for the Galasa images, only useful for Galasa development purposes
#
pullPolicy: "IfNotPresent"
Expand Down