Skip to content
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
33 changes: 0 additions & 33 deletions oci_ai_blueprints_terraform/app-api.tf
Original file line number Diff line number Diff line change
Expand Up @@ -90,40 +90,7 @@ resource "kubernetes_deployment" "corrino_cp_deployment" {
}
}
}

# dynamic "env" {
# for_each = local.env_adb_access
# content {
# name = env.value.name
# value = env.value.value
# }
# }

# dynamic "env" {
# for_each = local.env_adb_access_secrets
# content {
# name = env.value.name
# value_from {
# secret_key_ref {
# name = env.value.secret_name
# key = env.value.secret_key
# }
# }
# }
# }

# volume_mount {
# name = "adb-wallet-volume"
# mount_path = "/app/wallet"
# read_only = true
# }
}
# volume {
# name = "adb-wallet-volume"
# secret {
# secret_name = "oadb-wallet"
# }
# }
}
}
}
Expand Down
33 changes: 0 additions & 33 deletions oci_ai_blueprints_terraform/app-background.tf
Original file line number Diff line number Diff line change
Expand Up @@ -67,40 +67,7 @@ resource "kubernetes_deployment" "corrino_cp_background_deployment" {
}
}
}

# dynamic "env" {
# for_each = local.env_adb_access
# content {
# name = env.value.name
# value = env.value.value
# }
# }

# dynamic "env" {
# for_each = local.env_adb_access_secrets
# content {
# name = env.value.name
# value_from {
# secret_key_ref {
# name = env.value.secret_name
# key = env.value.secret_key
# }
# }
# }
# }

# volume_mount {
# name = "adb-wallet-volume"
# mount_path = "/app/wallet"
# read_only = true
# }
}
# volume {
# name = "adb-wallet-volume"
# secret {
# secret_name = "oadb-wallet"
# }
# }
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions oci_ai_blueprints_terraform/app-migration.tf
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ resource "kubernetes_job" "corrino_migration_job" {
}
wait_for_completion = true
timeouts {
create = "10m"
update = "10m"
create = "20m"
update = "20m"
}

depends_on = [
Expand Down
7 changes: 5 additions & 2 deletions oci_ai_blueprints_terraform/files/kong/values.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Kong Gateway - Clean Setup for AI Model Routing
image:
repository: kong
tag: "3.9"
repository: docker.io/kong
tag: "3.9.1"

# DB-less mode
env:
Expand Down Expand Up @@ -57,6 +57,9 @@ status:

# Enable Kong Ingress Controller
ingressController:
image:
repository: docker.io/kong/kubernetes-ingress-controller
tag: "3.5"
enabled: true
env:
kong_admin_token: kong-admin-token
Expand Down
4 changes: 2 additions & 2 deletions oci_ai_blueprints_terraform/helm.tf
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,15 @@ resource "helm_release" "amd_device_metrics_exporter" {
name = "amd-device-metrics-exporter"
chart = "device-metrics-exporter-charts"
repository = "https://rocm.github.io/device-metrics-exporter"
version = "v1.2.1"
version = "v1.3.1"
values = ["${file("./files/amd-device-metrics-exporter/values.yaml")}"]
create_namespace = false
recreate_pods = true
force_update = true
dependency_update = true
wait = false
max_history = 1
depends_on = [null_resource.webhook_charts_ready]
depends_on = [null_resource.webhook_charts_ready, module.oke-quickstart.helm_release_prometheus]
}

resource "helm_release" "keda" {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ output "helm_release_grafana" {
value = helm_release.grafana
}

output "helm_release_prometheus" {
value = helm_release.prometheus
}
4 changes: 4 additions & 0 deletions oci_ai_blueprints_terraform/modules/corrino/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,8 @@ output "helm_release_ingress_nginx" {

output "helm_release_grafana" {
value = module.cluster-tools.helm_release_grafana
}

output "helm_release_prometheus" {
value = module.cluster-tools.helm_release_prometheus
}