From 05074e9dde8c7c7655725cc6b2eb702d4c67cdd2 Mon Sep 17 00:00:00 2001 From: Yu-Ju Hong Date: Wed, 17 Apr 2019 16:50:37 -0700 Subject: [PATCH] GCE/Windows: add cluster-location to instance metadata This will be used by stackdriver to annotate the logs. --- cluster/gce/windows/node-helper.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/cluster/gce/windows/node-helper.sh b/cluster/gce/windows/node-helper.sh index 1f62911c0e5..f1ad723bacf 100755 --- a/cluster/gce/windows/node-helper.sh +++ b/cluster/gce/windows/node-helper.sh @@ -19,6 +19,7 @@ function get-windows-node-instance-metadata-from-file { local metadata="" metadata+="cluster-name=${KUBE_TEMP}/cluster-name.txt," + metadata+="cluster-location=${KUBE_TEMP}/cluster-location.txt," metadata+="kube-env=${KUBE_TEMP}/windows-node-kube-env.yaml," metadata+="kubelet-config=${KUBE_TEMP}/windows-node-kubelet-config.yaml," # To get startup script output run "gcloud compute instances