- Sort Score
- Result 10 results
- Languages All
Results 11 - 18 of 18 for computeMetadata (0.14 sec)
-
cluster/gce/windows/configure.ps1
function Get-InstanceMetadataAttribute { param ( [parameter(Mandatory=$true)] [string]$Key, [parameter(Mandatory=$false)] [string]$Default ) $url = ("http://metadata.google.internal/computeMetadata/v1/instance/" + "attributes/$Key") try { $client = New-Object Net.WebClient $client.Headers.Add('Metadata-Flavor', 'Google') return ($client.DownloadString($url)).Trim() }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 28 21:28:26 UTC 2023 - 7.1K bytes - Viewed (0) -
cluster/gce/gci/master-helper.sh
local zone="${1}" local name="${2}" local key="${3}" gcloud compute ssh "${name}" \ --project "${PROJECT}" \ --zone "${zone}" \ --command "curl \"http://metadata.google.internal/computeMetadata/v1/instance/attributes/${key}\" -H \"Metadata-Flavor: Google\"" 2>/dev/null
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 17 19:00:22 UTC 2022 - 8.7K bytes - Viewed (0) -
cluster/gce/upgrade.sh
gcloud compute --project "${PROJECT}" ssh --zone "${ZONE}" "${NODE_NAMES[0]}" --command \ "curl --fail --silent -H 'Metadata-Flavor: Google' \ 'http://metadata/computeMetadata/v1/instance/attributes/kube-env'" 2>/dev/null } # Read os distro information from /os/release on node. # $1: The name of node # # Assumed vars: # PROJECT # ZONE function get-node-os() {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 21:13:22 UTC 2024 - 25.2K bytes - Viewed (0) -
cluster/gce/windows/common.psm1
function Get-InstanceMetadata { param ( [parameter(Mandatory=$true)] [string]$Key, [parameter(Mandatory=$false)] [string]$Default ) $url = "http://metadata.google.internal/computeMetadata/v1/instance/$Key" try { $client = New-Object Net.WebClient $client.Headers.Add('Metadata-Flavor', 'Google') return ($client.DownloadString($url)).Trim() } catch [System.Net.WebException] {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 19 14:47:38 UTC 2022 - 25.4K bytes - Viewed (0) -
tests/integration/ambient/baseline_test.go
} svcs := apps.All for _, src := range svcs { src := src t.NewSubTestf("from %v", src.Config().Service).Run(func(t framework.TestContext) { // curl -H "Metadata-Flavor: Google" 169.254.169.254/computeMetadata/v1/instance/service-accounts/default/identity opts := echo.CallOptions{ Address: "169.254.169.254", Port: echo.Port{ServicePort: 80}, Scheme: scheme.HTTP, HTTP: echo.HTTP{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 00:07:28 UTC 2024 - 78.4K bytes - Viewed (0) -
cluster/gce/gci/configure-helper.sh
curl_cmd+=("${EXTRA_ADDONS_URL}") "${curl_cmd[@]}" } # A function that fetches a GCE metadata value and echoes it out. # Args: # $1 : URL path after /computeMetadata/v1/ (without heading slash). # $2 : An optional default value to echo out if the fetch fails. # # NOTE: this function is duplicated in configure.sh, any changes here should be # duplicated there as well.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 10 22:07:47 UTC 2024 - 141.1K bytes - Viewed (0) -
cluster/gce/util.sh
"curl --fail --silent -H 'Metadata-Flavor: Google' \ 'http://metadata/computeMetadata/v1/instance/attributes/kube-env'" 2>/dev/null gcloud compute --project "${PROJECT}" ssh --zone "${ZONE}" "${KUBE_MASTER}" --command \ "curl --fail --silent -H 'Metadata-Flavor: Google' \ 'http://metadata/computeMetadata/v1/instance/attributes/kube-master-certs'" 2>/dev/null }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 21:47:17 UTC 2024 - 161.6K bytes - Viewed (0) -
cluster/gce/windows/k8s-node-setup.psm1
-Token ${kube_env}['KUBE_PROXY_TOKEN'] } # Returns the IP alias range configured for this GCE instance. function Get_IpAliasRange { $url = ("http://${GCE_METADATA_SERVER}/computeMetadata/v1/instance/" + "network-interfaces/0/ip-aliases/0") $client = New-Object Net.WebClient $client.Headers.Add('Metadata-Flavor', 'Google') return ($client.DownloadString($url)).Trim() }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 21:13:22 UTC 2024 - 88.3K bytes - Viewed (0)