Skip to content

Commit 1006c34

Browse files
add kueue helm
1 parent 4ef3bfd commit 1006c34

File tree

3 files changed

+57
-5
lines changed

3 files changed

+57
-5
lines changed

oci_ai_blueprints_terraform/helm.tf

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ extraEnvVars:
2626
EOF
2727
]
2828

29-
depends_on = [ kubernetes_persistent_volume_claim_v1.mlflow ]
30-
count = var.bring_your_own_mlflow ? 0 : 1
29+
depends_on = [kubernetes_persistent_volume_claim_v1.mlflow]
30+
count = var.bring_your_own_mlflow ? 0 : 1
3131
}
3232

3333
resource "kubernetes_persistent_volume_claim_v1" "mlflow" {
@@ -54,8 +54,8 @@ resource "kubernetes_persistent_volume_claim_v1" "mlflow" {
5454
create = "5m"
5555
}
5656

57-
depends_on = [ kubernetes_ingress_v1.grafana_ingress ]
58-
count = var.bring_your_own_mlflow ? 0 : 1
57+
depends_on = [kubernetes_ingress_v1.grafana_ingress]
58+
count = var.bring_your_own_mlflow ? 0 : 1
5959
}
6060

6161
resource "helm_release" "nvidia-dcgm" {
@@ -102,3 +102,16 @@ resource "helm_release" "lws" {
102102
count = var.bring_your_own_lws ? 0 : 1
103103
}
104104

105+
106+
resource "helm_release" "kueue" {
107+
name = "kueue"
108+
repository = "oci://registry.k8s.io/kueue/charts"
109+
chart = "kueue"
110+
namespace = "kueue-system"
111+
create_namespace = true
112+
wait = false
113+
version = "0.11.4"
114+
115+
count = var.bring_your_own_kueue ? 0 : 1
116+
}
117+

oci_ai_blueprints_terraform/schema.yaml

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,16 @@ variableGroups:
233233
- ${bring_your_own_cluster}
234234
- true
235235

236+
- title: "Kubernetes Queue System"
237+
variables:
238+
- bring_your_own_kueue
239+
- existent_kueue_namespace
240+
visible:
241+
and:
242+
- eq:
243+
- ${bring_your_own_cluster}
244+
- true
245+
236246
# - title: "Oracle Digital Assistant support"
237247
# variables:
238248
# - oda_enabled
@@ -1034,7 +1044,24 @@ variables:
10341044
visible:
10351045
and:
10361046
- bring_your_own_lws
1037-
1047+
1048+
bring_your_own_kueue:
1049+
type: boolean
1050+
title: "Use your own Kueue installation from existing cluster?"
1051+
description: "Only use this if you already have Kueue installed on your existing cluster."
1052+
visible:
1053+
and:
1054+
- bring_your_own_cluster
1055+
1056+
existent_kueue_namespace:
1057+
type: string
1058+
title: "Existing Kueue Namespace"
1059+
description: "Kubernetes namespace of existing Kueue Installation."
1060+
required: true
1061+
visible:
1062+
and:
1063+
- bring_your_own_kueue
1064+
10381065
# Data Sharing
10391066
share_data_with_corrino_team_enabled:
10401067
type: boolean

oci_ai_blueprints_terraform/variables.tf

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,18 @@ variable "bring_your_own_lws" {
188188
type = bool
189189
default = false
190190
}
191+
192+
variable "bring_your_own_kueue" {
193+
type = bool
194+
default = false
195+
}
196+
197+
variable "existent_kueue_namespace" {
198+
type = string
199+
default = ""
200+
}
201+
202+
191203
# -----------------------------------
192204
# Helm
193205
# -----------------------------------

0 commit comments

Comments
 (0)