Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for computeMetadata (0.37 sec)

  1. pkg/bootstrap/platform/azure.go

    }
    
    // Retrieves Azure instance metadata response body stores it in the Azure environment
    func (e *azureEnv) parseMetadata(metadata string) {
    	bodyJSON := stringToJSON(metadata)
    	if computeMetadata, ok := bodyJSON["compute"]; ok {
    		e.computeMetadata = computeMetadata.(map[string]any)
    	}
    	if networkMetadata, ok := bodyJSON["network"]; ok {
    		e.networkMetadata = networkMetadata.(map[string]any)
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  2. cluster/gce/gci/master.yaml

          ExecStartPre=/usr/bin/curl --fail --retry 600 --retry-delay 3 --retry-connrefused --connect-timeout 10 --silent --show-error -H "X-Google-Metadata-Request: True" -o /home/kubernetes/bin/configure.sh http://metadata.google.internal/computeMetadata/v1/instance/attributes/configure-sh
          ExecStartPre=/bin/chmod 544 /home/kubernetes/bin/configure.sh
          ExecStart=/home/kubernetes/bin/configure.sh
    
          [Install]
          WantedBy=kubernetes.target
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 12 16:22:20 UTC 2021
    - 5.5K bytes
    - Viewed (0)
  3. cluster/gce/gci/shutdown.sh

    # limitations under the License.
    
    # A script that let's gci preemptible nodes gracefully terminate in the event of a VM shutdown.
    preemptible=$(curl "http://metadata.google.internal/computeMetadata/v1/instance/scheduling/preemptible" -H "Metadata-Flavor: Google")
    if [ "${preemptible}" == "TRUE" ]; then
        echo "Shutting down! Sleeping for a minute to let the node gracefully terminate"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 03:46:45 UTC 2019
    - 1.1K bytes
    - Viewed (0)
  4. cluster/gce/gci/kube-master-internal-route.sh

    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    METADATA_ENDPOINT="http://metadata.google.internal/computeMetadata/v1/instance/attributes/kube-master-internal-ip"
    METADATA_HEADER="Metadata-Flavor: Google"
    ip=$(curl -s --fail ${METADATA_ENDPOINT} -H "${METADATA_HEADER}")
    if [ -n "$ip" ];
    then
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 14 22:03:05 UTC 2020
    - 1.1K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/DefaultMetadataProvider.java

        private boolean computedMetadata;
    
        DefaultMetadataProvider(ModuleComponentResolveState resolveState) {
            this.resolveState = resolveState;
        }
    
        @Override
        public ComponentMetadata getComponentMetadata() {
            if (computedMetadata) {
                return cachedComponentMetadata;
            }
    
            cachedComponentMetadata = computeMetadata();
            computedMetadata = true;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 19:04:04 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  6. pkg/test/fakes/gce_metadata_server/main.go

    	"github.com/gorilla/mux"
    )
    
    const (
    	projID     = "test-project"
    	projNumber = "123456789"
    	instance   = "test-instance"
    	instID     = "987654321"
    	zone       = "us-west1-c"
    
    	metaPrefix     = "/computeMetadata/v1"
    	projIDPath     = metaPrefix + "/project/project-id"
    	projNumberPath = metaPrefix + "/project/numeric-project-id"
    	instIDPath     = metaPrefix + "/instance/id"
    	instancePath   = metaPrefix + "/instance/name"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Dec 04 22:47:52 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  7. cluster/gce/gci/node.yaml

          ExecStartPre=/usr/bin/curl --fail --retry 5 --retry-delay 3 --silent --show-error -H "X-Google-Metadata-Request: True" -o /home/kubernetes/bin/configure.sh http://metadata.google.internal/computeMetadata/v1/instance/attributes/configure-sh
          ExecStartPre=/bin/chmod 544 /home/kubernetes/bin/configure.sh
          ExecStart=/home/kubernetes/bin/configure.sh
          StandardOutput=journal+console
    
          [Install]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 13 18:38:40 UTC 2021
    - 3.9K bytes
    - Viewed (0)
  8. cluster/gce/gci/configure.sh

      - sudo systemctl status kube-node-installation
      - sudo systemctl status kube-node-configuration
    EOF
    }
    
    # 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-helper.sh, any changes here
    # should be duplicated there as well.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 04:14:02 UTC 2024
    - 36.5K bytes
    - Viewed (0)
  9. cluster/gce/windows/testonly/install-ssh.psm1

      try {
        $r1 = Invoke-RestMethod -Headers @{"Metadata-Flavor"="Google"} -Uri `
            "http://metadata.google.internal/computeMetadata/v1/project/attributes/ssh-keys"
      } catch {}
      try {
        $r2 = Invoke-RestMethod -Headers @{"Metadata-Flavor"="Google"} -Uri `
            "http://metadata.google.internal/computeMetadata/v1/project/attributes/sshKeys"
      } catch {}
      $response= $r1 + $r2
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 09 05:09:18 UTC 2021
    - 11.6K bytes
    - Viewed (0)
  10. cluster/gce/gci/flexvolume_node_setup.sh

          echo "FlexVolume driver installed at ${wrapper_path}"
        fi
      done
    }
    
    echo
    echo "Importing mount utility image from Container Registry..."
    echo
    
    METADATA=http://metadata.google.internal/computeMetadata/v1
    SVC_ACCT_ENDPOINT=$METADATA/instance/service-accounts/default
    ACCESS_TOKEN=$(curl -s -H 'Metadata-Flavor: Google' $SVC_ACCT_ENDPOINT/token | cut -d'"' -f 4)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 13 17:58:51 UTC 2020
    - 5.8K bytes
    - Viewed (0)
Back to top