Files
foxhunt/infra/modules/kapsule/outputs.tf
jgrusewski c731bef759 feat(infra): split training image into RL + supervised, rename ci-compile → ci-rl
RL models (DQN/PPO) only need basic CUDA runtime (~2GB), while supervised
models need cuDNN (~4GB). Splitting saves ~2GB pull time per RL job.
Rename the L4 GPU pool from ci-compile to ci-rl to reflect its actual use.
Add DaemonSet image pre-puller to cache training images on GPU nodes.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-28 10:16:42 +01:00

47 lines
1.4 KiB
HCL

output "cluster_id" {
description = "ID of the Kapsule cluster"
value = scaleway_k8s_cluster.foxhunt.id
}
output "kubeconfig" {
description = "Kubeconfig file content for the cluster"
value = scaleway_k8s_cluster.foxhunt.kubeconfig[0].config_file
sensitive = true
}
output "apiserver_url" {
description = "URL of the Kubernetes API server"
value = scaleway_k8s_cluster.foxhunt.apiserver_url
}
output "services_pool_id" {
description = "ID of the services node pool"
value = scaleway_k8s_pool.services.id
}
output "gitlab_pool_id" {
description = "ID of the GitLab node pool"
value = var.enable_gitlab_pool ? scaleway_k8s_pool.gitlab[0].id : ""
}
output "ci_rl_pool_id" {
description = "ID of the CI RL node pool (L4)"
value = var.enable_ci_rl_pool ? scaleway_k8s_pool.ci_rl[0].id : ""
}
output "ci_compile_cpu_pool_id" {
description = "ID of the CPU compile node pool (POP2-HC)"
value = var.enable_ci_compile_cpu_pool ? scaleway_k8s_pool.ci_compile_cpu[0].id : ""
}
output "ci_training_pool_id" {
description = "ID of the CI training node pool (L40S)"
value = var.enable_ci_training_pool ? scaleway_k8s_pool.ci_training[0].id : ""
}
output "private_network_id" {
description = "ID of the VPC private network the cluster is attached to"
value = scaleway_vpc_private_network.foxhunt.id
}