Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 855 for Patches (0.11 sec)

  1. cmd/kubeadm/app/phases/controlplane/manifests_test.go

    	}
    
    	patchString := dedent.Dedent(`
    	metadata:
    	  annotations:
    	    patched: "true"
    	`)
    
    	err = os.WriteFile(filepath.Join(patchesPath, kubeadmconstants.KubeAPIServer+".yaml"), []byte(patchString), 0644)
    	if err != nil {
    		t.Fatalf("WriteFile returned unexpected error: %v", err)
    	}
    
    	// Execute createStaticPodFunction with patches
    	manifestPath := filepath.Join(tmpdir, kubeadmconstants.ManifestsSubDirName)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Mar 03 14:43:47 UTC 2024
    - 48.5K bytes
    - Viewed (0)
  2. pkg/controller/daemon/update.go

    	cm := controller.NewControllerRevisionControllerRefManager(dsc.crControl, ds, selector, controllerKind, canAdoptFunc)
    	return cm.ClaimControllerRevisions(ctx, histories)
    }
    
    // Match check if the given DaemonSet's template matches the template stored in the given history.
    func Match(ds *apps.DaemonSet, history *apps.ControllerRevision) (bool, error) {
    	patch, err := getPatch(ds)
    	if err != nil {
    		return false, err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 13 16:53:53 UTC 2024
    - 24.4K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/cluster.go

    			if patched := cp.patch(nil, defaultCluster.build()); patched != nil {
    				resources = append(resources, patched)
    				if features.EnableCDSCaching {
    					cb.cache.Add(&clusterKey, cb.req, patched)
    				}
    			}
    			for _, ss := range subsetClusters {
    				if patched := cp.patch(nil, ss); patched != nil {
    					resources = append(resources, patched)
    					if features.EnableCDSCaching {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 33K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/httproute.go

    				for svcHost := range servicesByName {
    					if host.Name(h).Matches(svcHost) {
    						match = true
    						break
    					}
    				}
    			} else {
    				// If non wildcard vs host isn't be found in service map, only loop through
    				// wildcard service hosts to avoid repeated matching.
    				for _, svcHost := range wcSvcHosts {
    					if host.Name(h).Matches(svcHost) {
    						match = true
    						break
    					}
    				}
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  5. pilot/pkg/xds/debug.go

    	s.addDebugHandler(mux, internalMux, "/debug/cachez", "Info about the internal XDS caches", s.cachez)
    	s.addDebugHandler(mux, internalMux, "/debug/cachez?sizes=true", "Info about the size of the internal XDS caches", s.cachez)
    	s.addDebugHandler(mux, internalMux, "/debug/cachez?clear=true", "Clear the XDS caches", s.cachez)
    	s.addDebugHandler(mux, internalMux, "/debug/configz", "Debug support for config", s.configz)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 00:26:45 UTC 2024
    - 39.5K bytes
    - Viewed (0)
  6. pkg/kubelet/kubelet_node_status.go

    	}
    
    	kl.setNodeStatus(ctx, node)
    
    	changed := podCIDRChanged || nodeStatusHasChanged(&originalNode.Status, &node.Status) || areRequiredLabelsNotPresent
    	return node, changed
    }
    
    // patchNodeStatus patches node on the API server based on originalNode.
    // It returns any potential error, or an updatedNode and refreshes the state of kubelet when successful.
    func (kl *Kubelet) patchNodeStatus(originalNode, node *v1.Node) (*v1.Node, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  7. pkg/registry/core/service/storage/alloc.go

    	for i, ip := range service.Spec.ClusterIPs {
    		if ip == api.ClusterIPNone {
    			break
    		}
    
    		// We previously validated that IPs are well-formed and that if an
    		// ipFamilies[] entry exists it matches the IP.
    		fam := familyOf(ip)
    
    		// If the corresponding family is not specified, add it.
    		if i >= len(service.Spec.IPFamilies) {
    			// Families are checked more later, but this is a better error in
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:05 UTC 2023
    - 37.3K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/preflight/checks.go

    	}
    
    	// Checks if k8sVersion greater or equal than the first unsupported versions by current version of kubeadm,
    	// that is major.minor+1 (all patch and pre-releases versions included)
    	// NB. in semver patches number is a numeric, while pre-release is a string where numeric identifiers always have lower precedence than non-numeric identifiers.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 03 11:20:55 UTC 2024
    - 39.5K bytes
    - Viewed (0)
  9. pkg/kube/inject/webhook.go

    	return &c, nil
    }
    
    // WebhookParameters configures parameters for the sidecar injection
    // webhook.
    type WebhookParameters struct {
    	// Watcher watches the sidecar injection configuration.
    	Watcher Watcher
    
    	// Port is the webhook port, e.g. typically 443 for https.
    	// This is mainly used for tests. Webhook runs on the port started by Istiod.
    	Port int
    
    	Env *model.Environment
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:59:39 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/storage/etcd3/watcher.go

    			}
    			// If user couldn't receive results fast enough, we also block incoming events from watcher.
    			// Because storing events in local will cause more memory usage.
    			// The worst case would be closing the fast watcher.
    			select {
    			case wc.resultChan <- *res:
    			case <-wc.ctx.Done():
    				return
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 25 10:26:38 UTC 2023
    - 18.9K bytes
    - Viewed (0)
Back to top