Skip to content

Commit 05074e9

Browse files
committed
GCE/Windows: add cluster-location to instance metadata
This will be used by stackdriver to annotate the logs.
1 parent 18b4e1b commit 05074e9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cluster/gce/windows/node-helper.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
function get-windows-node-instance-metadata-from-file {
2020
local metadata=""
2121
metadata+="cluster-name=${KUBE_TEMP}/cluster-name.txt,"
22+
metadata+="cluster-location=${KUBE_TEMP}/cluster-location.txt,"
2223
metadata+="kube-env=${KUBE_TEMP}/windows-node-kube-env.yaml,"
2324
metadata+="kubelet-config=${KUBE_TEMP}/windows-node-kubelet-config.yaml,"
2425
# To get startup script output run "gcloud compute instances

0 commit comments

Comments
 (0)