Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 54 for Bootstrapping (0.18 sec)

  1. pkg/bootstrap/platform/azure.go

    	}
    )
    
    type azureEnv struct {
    	APIVersion      string
    	prefix          string
    	computeMetadata map[string]any
    	networkMetadata map[string]any
    }
    
    // IsAzure returns whether or not the platform for bootstrapping is Azure
    // Checks the system vendor file (similar to https://github.com/banzaicloud/satellite/blob/master/providers/azure.go)
    func IsAzure() bool {
    	sysVendor, err := os.ReadFile(SysVendorPath)
    	if err != nil {
    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. plugin/pkg/auth/authorizer/rbac/bootstrappolicy/policy.go

    	Read       = []string{"get", "list", "watch"}
    	ReadUpdate = []string{"get", "list", "watch", "update", "patch"}
    
    	Label      = map[string]string{"kubernetes.io/bootstrapping": "rbac-defaults"}
    	Annotation = map[string]string{rbacv1.AutoUpdateAnnotationKey: "true"}
    )
    
    const (
    	legacyGroup                  = ""
    	appsGroup                    = "apps"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 19:25:10 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  3. pkg/controlplane/controller/kubernetesservice/controller.go

    		serviceLister: serviceInformer.Lister(),
    		serviceSynced: serviceInformer.Informer().HasSynced,
    		stopCh:        make(chan struct{}),
    	}
    }
    
    // Start begins the core controller loops that must exist for bootstrapping
    // a cluster.
    func (c *Controller) Start(stopCh <-chan struct{}) {
    	if !cache.WaitForCacheSync(stopCh, c.serviceSynced) {
    		runtime.HandleError(fmt.Errorf("timed out waiting for caches to sync"))
    		return
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 16 16:33:01 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  4. pkg/bootstrap/platform/gcp.go

    		Fn       func() (string, error)
    	}
    )
    
    type gcpEnv struct {
    	sync.Mutex
    	metadata     map[string]string
    	fillMetadata lazy.Lazy[bool]
    }
    
    // IsGCP returns whether or not the platform for bootstrapping is Google Cloud Platform.
    func IsGCP() bool {
    	if len(GCPStaticMetadata) > 0 {
    		// Assume this is running on GCP if GCP project env variable is set.
    		return true
    	}
    	return metadata.OnGCE()
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 15 00:37:33 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  5. src/flag/flag_test.go

    	f.v = s
    	return nil
    }
    
    func (f *zeroPanicker) String() string {
    	if !f.dontPanic {
    		panic("panic!")
    	}
    	return f.v
    }
    
    const defaultOutput = `  -A	for bootstrapping, allow 'any' type
      -Alongflagname
        	disable bounds checking
      -C	a boolean defaulting to true (default true)
      -D path
        	set relative path for local imports
      -E string
        	issue 23543 (default "0")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:38:24 UTC 2024
    - 22K bytes
    - Viewed (0)
  6. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitTestExecutionIntegrationTest.groovy

            // Our test infrastructure loads org.gradle.util.SystemProperties, which depends on $EmptyImmutableCollection from guava 14.
            // The below test is testing that out infrastructure doesn't throw a VerifyError while bootstrapping.
            // This is testing classloader isolation, but this was not the real problem that triggered GRADLE-2962.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:33 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  7. pkg/volume/csi/csi_plugin.go

    		// Get a CSINode from API server to make sure 1) kubelet can reach API server
    		// and 2) it has enough permissions. Kubelet may have restricted permissions
    		// when it's bootstrapping TLS.
    		// https://kubernetes.io/docs/reference/command-line-tools-reference/kubelet-tls-bootstrapping/
    		_, lastErr = client.StorageV1().CSINodes().Get(context.TODO(), string(nodeName), opts)
    		if lastErr == nil || apierrors.IsNotFound(lastErr) {
    			// API server contacted
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/reconcilers/peer_endpoint_lease.go

    		endpointInterval: endpointInterval,
    		client:           client,
    		stopCh:           make(chan struct{}),
    	}
    }
    
    // Start begins the peer endpoint lease reconciler loop that must exist for bootstrapping
    // a cluster.
    func (c *PeerEndpointLeaseController) Start(stopCh <-chan struct{}) {
    	localStopCh := make(chan struct{})
    	go func() {
    		defer close(localStopCh)
    		select {
    		case <-stopCh: // from Start
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 24 09:23:05 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  9. samples/security/spire/spire-quickstart.yaml

      volumeLifecycleModes:
        - Ephemeral
    
    ---
    apiVersion: v1
    kind: ServiceAccount
    metadata:
      name: spire-server
      namespace: spire
    
    ---
    # ConfigMap for spire-agent bootstrapping.
    apiVersion: v1
    kind: ConfigMap
    metadata:
      name: spire-bundle
      namespace: spire
    
    ---
    # ClusterRole to allow spire-server to query k8s API server.
    kind: ClusterRole
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Oct 12 16:12:42 UTC 2023
    - 32.2K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/util/config/initconfiguration.go

    	}
    
    	// This is the same logic as the API Server uses, except that if no interface is found the address is set to 0.0.0.0, which is invalid and cannot be used
    	// for bootstrapping a cluster.
    	ip, err := ChooseAPIServerBindAddress(addressIP)
    	if err != nil {
    		return err
    	}
    	cfg.AdvertiseAddress = ip.String()
    
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 05 12:41:16 UTC 2024
    - 17.3K bytes
    - Viewed (0)
Back to top