Closed amisir0219 closed 2 years ago
Fixed by adding metadata with
Key: cloudprober_config
and
Value: probe {
name: "front12_homepage"
type: HTTP
targets {
host_names: "frontend-amisir0219.cloud.okteto.net"
}
interval_msec: 5000 # 5s
timeout_msec: 1000 # 1s
}
Having an issue where cloudprober isn't finding the cloudprober.cfg file telling which url to probe. Getting error "Error reading config from metadata. Err: metadata: GCE metadata "project/attributes/cloudprober_config." Seems I need to add metadata containing the config info to the project/attribute/cloudprober_config for this to work on gke. Will try to figure this out and get it working.