Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for notReady (0.14 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. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. pkg/controller/nodelifecycle/node_lifecycle_controller.go

    				if currentReadyCondition.Status != v1.ConditionTrue && observedReadyCondition.Status == v1.ConditionTrue {
    					// If error happened during node status transition (Ready -> NotReady)
    					// we need to mark node for retry to force MarkPodsNotReady execution
    					// in the next iteration.
    					nc.nodesToRetry.Store(node.Name, struct{}{})
    				}
    				return
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  9. cni/pkg/install/install.go

    	default:
    		// Valid configuration; set isReady to true and wait for modifications before checking again
    		setReady(in.isReady)
    		cniInstalls.With(resultLabel.Value(resultSuccess)).Increment()
    		// Pod set to "NotReady" before termination
    		return watcher.Wait(ctx)
    	}
    }
    
    // checkValidCNIConfig returns an error if an invalid CNI configuration is detected
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 21:45:18 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  10. pkg/kubelet/kuberuntime/kuberuntime_gc_test.go

    		containers           []containerTemplate // templates of containers
    		remain               []int               // template indexes of remaining sandboxes
    		evictTerminatingPods bool
    	}{
    		{
    			description: "notready sandboxes without containers for deleted pods should be garbage collected.",
    			sandboxes: []sandboxTemplate{
    				makeGCSandbox(pods[2], 0, runtimeapi.PodSandboxState_SANDBOX_NOTREADY, false, false, 0),
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 20.6K bytes
    - Viewed (0)
Back to top