mirror of
https://github.com/poseidon/typhoon
synced 2024-09-26 05:50:43 +02:00
8cc303c9ac
* Add Typhoon Fedora CoreOS on Google Cloud as alpha * Add docs on uploading the Fedora CoreOS GCP gzipped tarball to Google Cloud storage to create a boot disk image
24 lines
750 B
HCL
24 lines
750 B
HCL
# Target pool for TCP/UDP load balancing
|
|
resource "google_compute_target_pool" "workers" {
|
|
name = "${var.name}-worker-pool"
|
|
region = var.region
|
|
session_affinity = "NONE"
|
|
|
|
health_checks = [
|
|
google_compute_http_health_check.workers.name,
|
|
]
|
|
}
|
|
|
|
# HTTP Health Check (for TCP/UDP load balancing)
|
|
# Forward rules (regional) to target pools don't support different external
|
|
# and internal ports. Health check for nodes with Ingress controllers that
|
|
# may support proxying or otherwise satisfy the check.
|
|
resource "google_compute_http_health_check" "workers" {
|
|
name = "${var.name}-target-pool-health"
|
|
description = "Health check for the worker target pool"
|
|
|
|
port = 10254
|
|
request_path = "/healthz"
|
|
}
|
|
|