Skip to content

Commit

Permalink
delete kuberay-logging and kuberay-operator module
Browse files Browse the repository at this point in the history
Change-Id: I2b8eda653bcf4b1d1cd402111e7bd79d18eaf1ac
  • Loading branch information
genlu2011 committed Aug 30, 2024
1 parent d15b816 commit b981bbc
Show file tree
Hide file tree
Showing 14 changed files with 57 additions and 490 deletions.
34 changes: 17 additions & 17 deletions applications/rag/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -64,25 +64,25 @@ module "infra" {
source = "../../infrastructure"
count = var.create_cluster ? 1 : 0

project_id = var.project_id
cluster_name = local.cluster_name
cluster_location = var.cluster_location
region = local.cluster_location_region
autopilot_cluster = var.autopilot_cluster
private_cluster = var.private_cluster
create_network = var.create_network
network_name = local.network_name
subnetwork_name = local.network_name
subnetwork_cidr = var.subnetwork_cidr
subnetwork_region = local.cluster_location_region
cpu_pools = var.cpu_pools
enable_gpu = true
gpu_pools = var.gpu_pools
ray_addon_enabled = true
project_id = var.project_id
cluster_name = local.cluster_name
cluster_location = var.cluster_location
region = local.cluster_location_region
autopilot_cluster = var.autopilot_cluster
private_cluster = var.private_cluster
create_network = var.create_network
network_name = local.network_name
subnetwork_name = local.network_name
subnetwork_cidr = var.subnetwork_cidr
subnetwork_region = local.cluster_location_region
cpu_pools = var.cpu_pools
enable_gpu = true
gpu_pools = var.gpu_pools
ray_addon_enabled = true
# TODO(genlu): remove channel and k8s_version after ray addon is in REGULAR channel
release_channel = "RAPID"
release_channel = "RAPID"
kubernetes_version = "1.30.3-gke.1969000"
depends_on = [module.project-services]
depends_on = [module.project-services]
}

data "google_container_cluster" "default" {
Expand Down
8 changes: 5 additions & 3 deletions cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,12 @@ steps:
-auto-approve -no-color
echo "pass" > /workspace/user_result.txt
# Make sure pods are running
chmod +x /workspace/scripts/ci/wait_for_pods.sh
/workspace/scripts/ci/wait_for_pods.sh ml-$SHORT_SHA-$_BUILD_ID-ray 3000
kubectl wait --all pods -n ml-$SHORT_SHA-$_BUILD_ID-ray --for=condition=Ready --timeout=1200s
# Wait for pods to be stable
sleep 5s
# Ray head's readinessProbe is not probing the head service today. Therefore the wait for ready above is not reliable.
sleep 60s
kubectl port-forward -n ml-$SHORT_SHA-$_BUILD_ID-ray service/ray-cluster-kuberay-head-svc 8265:8265 &
# Wait port-forwarding to take its place
sleep 10s
Expand Down
18 changes: 0 additions & 18 deletions modules/kuberay-logging/config/fluent-bit.conf

This file was deleted.

4 changes: 0 additions & 4 deletions modules/kuberay-logging/config/parsers.conf

This file was deleted.

Empty file.
26 changes: 0 additions & 26 deletions modules/kuberay-logging/main.tf

This file was deleted.

19 changes: 0 additions & 19 deletions modules/kuberay-logging/variables.tf

This file was deleted.

33 changes: 0 additions & 33 deletions modules/kuberay-logging/versions.tf

This file was deleted.

121 changes: 0 additions & 121 deletions modules/kuberay-operator/kuberay-operator-autopilot-values.yaml

This file was deleted.

Loading

0 comments on commit b981bbc

Please sign in to comment.