mirror of https://github.com/k3s-io/k3s
GCE/Windows: add cluster-location to instance metadata
This will be used by stackdriver to annotate the logs.k3s-v1.15.3
parent
18b4e1b84c
commit
05074e9dde
|
@ -19,6 +19,7 @@
|
||||||
function get-windows-node-instance-metadata-from-file {
|
function get-windows-node-instance-metadata-from-file {
|
||||||
local metadata=""
|
local metadata=""
|
||||||
metadata+="cluster-name=${KUBE_TEMP}/cluster-name.txt,"
|
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+="kube-env=${KUBE_TEMP}/windows-node-kube-env.yaml,"
|
||||||
metadata+="kubelet-config=${KUBE_TEMP}/windows-node-kubelet-config.yaml,"
|
metadata+="kubelet-config=${KUBE_TEMP}/windows-node-kubelet-config.yaml,"
|
||||||
# To get startup script output run "gcloud compute instances
|
# To get startup script output run "gcloud compute instances
|
||||||
|
|
Loading…
Reference in New Issue