Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 62 for notReady (0.11 sec)

  1. operator/pkg/helmreconciler/wait.go

    func namespacesReady(namespaces []corev1.Namespace) (bool, []string) {
    	var notReady []string
    	for _, namespace := range namespaces {
    		if namespace.Status.Phase != corev1.NamespaceActive {
    			notReady = append(notReady, "Namespace/"+namespace.Name)
    		}
    	}
    	return len(notReady) == 0, notReady
    }
    
    func podsReady(pods []corev1.Pod) (bool, []string) {
    	var notReady []string
    	for _, pod := range pods {
    		if !isPodReady(&pod) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 08 03:13:12 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  2. plugin/pkg/admission/nodetaint/admission.go

    	}
    
    	node, ok := a.GetObject().(*api.Node)
    	if !ok {
    		return admission.NewForbidden(a, fmt.Errorf("unexpected type %T", a.GetObject()))
    	}
    
    	// Taint node with NotReady taint at creation. This is needed to make sure
    	// that nodes are added to the cluster with the NotReady taint. Otherwise,
    	// a new node may receive the taint with some delay causing pods to be
    	// scheduled on a not-ready node. Node controller will remove the taint
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 06 04:56:21 UTC 2019
    - 2.5K bytes
    - Viewed (0)
  3. plugin/pkg/admission/nodetaint/admission_test.go

    		name           string
    		node           api.Node
    		oldNode        api.Node
    		operation      admission.Operation
    		options        runtime.Object
    		expectedTaints []api.Taint
    	}{
    		{
    			name:           "notReady taint is added on creation",
    			node:           myNodeObj,
    			operation:      admission.Create,
    			options:        &metav1.CreateOptions{},
    			expectedTaints: []api.Taint{notReadyTaint},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 06 04:56:21 UTC 2019
    - 3.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/admission/configuration/configuration_manager.go

    		bootstrapGracePeriod: defaultBootstrapGraceperiod,
    	}
    	return &p
    }
    
    func (a *poller) lastError(err error) {
    	a.lock.Lock()
    	defer a.lock.Unlock()
    	a.lastErr = err
    }
    
    func (a *poller) notReady() {
    	a.lock.Lock()
    	defer a.lock.Unlock()
    	a.ready = false
    }
    
    func (a *poller) bootstrapping() {
    	// bootstrapGracePeriod is read-only, so no lock is required
    	timer := time.NewTimer(a.bootstrapGracePeriod)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 06 02:02:38 UTC 2017
    - 4.3K bytes
    - Viewed (0)
  5. pkg/api/v1/endpoints/util_test.go

    			}},
    			expect: []v1.EndpointSubset{{
    				Addresses: []v1.EndpointAddress{{IP: "beef::1:2:3:4"}},
    				Ports:     []v1.EndpointPort{{Port: 111}},
    			}},
    		}, {
    			name: "one set, one notReady ip, one port",
    			given: []v1.EndpointSubset{{
    				NotReadyAddresses: []v1.EndpointAddress{{IP: "1.2.3.4"}},
    				Ports:             []v1.EndpointPort{{Port: 111}},
    			}},
    			expect: []v1.EndpointSubset{{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 27 01:24:22 UTC 2023
    - 16.6K bytes
    - Viewed (0)
  6. pkg/controller/nodelifecycle/config/types.go

    	LargeClusterSizeThreshold int32
    	// Zone is treated as unhealthy in nodeEvictionRate and secondaryNodeEvictionRate when at least
    	// unhealthyZoneThreshold (no less than 3) of Nodes in the zone are NotReady
    	UnhealthyZoneThreshold float32
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 07 18:14:18 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  7. platforms/jvm/toolchains-jvm-shared/src/test/groovy/org/gradle/jvm/toolchain/internal/install/DefaultJdkCacheDirectoryTest.groovy

            new File(temporaryFolder, "jdks/jdk-mac-2/" + DefaultJdkCacheDirectory.MARKER_FILE).createNewFile()
    
            new File(temporaryFolder, "jdks/notReady").tap { mkdirs() }
    
            when:
            def homes = jdkCacheDirectory.listJavaHomes()
    
            then:
            homes == ([install1, install2] as Set)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 06:41:24 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/server.go

    	// Set some defaults
    	s := &Server{
    		ctx:        ctx,
    		kubeClient: client,
    		isReady:    ready,
    		dataplane: &meshDataplane{
    			kubeClient: client.Kube(),
    			netServer:  netServer,
    		},
    	}
    	s.NotReady()
    	s.handlers = setupHandlers(s.ctx, s.kubeClient, s.dataplane, args.SystemNamespace)
    
    	cniServer := startCniPluginServer(ctx, pluginSocket, s.handlers, s.dataplane)
    	err = cniServer.Start()
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 21:45:18 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/phases/upgrade/health.go

    	}
    
    	notReadyControlPlanes := getNotReadyNodes(nodes.Items)
    	if len(notReadyControlPlanes) != 0 {
    		return errors.Errorf("there are NotReady control-planes in the cluster: %v", notReadyControlPlanes)
    	}
    	return nil
    }
    
    // staticPodManifestHealth makes sure the required static pods are presents
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 09:18:02 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  10. pkg/controller/nodelifecycle/node_lifecycle_controller_test.go

    	// we need second healthy node in tests. Because of how the tests are written we need to update
    	// the status of this Node.
    	healthyNodeNewStatus := v1.NodeStatus{
    		Conditions: []v1.NodeCondition{
    			{
    				Type:   v1.NodeReady,
    				Status: v1.ConditionTrue,
    				// Node status has just been updated, and is NotReady for 10min.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 03:26:45 UTC 2024
    - 119K bytes
    - Viewed (0)
Back to top