mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 11:21:47 +00:00
GCE/Windows: add cluster-location to instance metadata
This will be used by stackdriver to annotate the logs.
This commit is contained in:
parent
18b4e1b84c
commit
05074e9dde
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user