mirror of
https://github.com/logos-storage/bittorrent-benchmarks.git
synced 2026-05-28 11:49:54 +00:00
feat: allow use of custom runner and node tags for Codex
This commit is contained in:
parent
a8c19364b7
commit
688091c965
@ -63,14 +63,14 @@ app.kubernetes.io/part-of: {{ include "experiment.groupId" . }}
|
||||
cluster-autoscaler.kubernetes.io/safe-to-evict: "false"
|
||||
{{- end }}
|
||||
|
||||
{{/* Minikube env. */}}
|
||||
{{/* Image settings. */}}
|
||||
|
||||
{{- define "benchmark.harness.image" -}}
|
||||
{{ .Values.deployment.minikubeEnv | ternary "bittorrent-benchmarks:minikube" "codexstorage/bittorrent-benchmarks:latest" }}
|
||||
{{ .Values.deployment.minikubeEnv | ternary "bittorrent-benchmarks:minikube" (printf "codexstorage/bittorrent-benchmarks:%s" .Values.deployment.runnerTag) }}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "codex.image" -}}
|
||||
{{ .Values.deployment.minikubeEnv | ternary "nim-codex:minikube" "codexstorage/nim-codex:latest" }}
|
||||
{{ .Values.deployment.minikubeEnv | ternary "nim-codex:minikube" (printf "codexstorage/nim-codex:%s" .Values.deployment.nodeTag) }}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "benchmark.harness.imagePullPolicy" -}}
|
||||
|
||||
@ -30,6 +30,11 @@ deployment:
|
||||
# Disables pulling of images and uses :minikube tag for the test runner, agents, and Codex.
|
||||
minikubeEnv: false
|
||||
|
||||
# Allows overriding the tags for non-minikube images. This is useful when you're trying to
|
||||
# run the experiment in the cluster but off of a Codex or benchmark harness branch.
|
||||
runnerTag: "latest"
|
||||
nodeTag: "latest"
|
||||
|
||||
# Labels for setting Deluge, tracker, and experiment runner node affinity towards pools.
|
||||
# Example:
|
||||
# codexNodePool:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user