Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for not_ready (0.15 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/kubelet/nodestatus/setters.go

    		// NOTE(aaronlevy): NodeReady condition needs to be the last in the list of node conditions.
    		// This is due to an issue with version skewed kubelet and master components.
    		// ref: https://github.com/kubernetes/kubernetes/issues/16961
    		currentTime := metav1.NewTime(nowFunc())
    		newNodeReadyCondition := v1.NodeCondition{
    			Type:              v1.NodeReady,
    			Status:            v1.ConditionTrue,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 12:12:04 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  3. 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)
  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. cmd/kubeadm/app/cmd/phases/join/kubelet.go

    	node, err := bootstrapClient.CoreV1().Nodes().Get(context.TODO(), nodeName, metav1.GetOptions{})
    	if err != nil && !apierrors.IsNotFound(err) {
    		return errors.Wrapf(err, "cannot get Node %q", nodeName)
    	}
    	for _, cond := range node.Status.Conditions {
    		if cond.Type == v1.NodeReady && cond.Status == v1.ConditionTrue {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  6. pkg/kubelet/kubelet_node_status.go

    		return false
    	}
    
    	readyIdx, nodeReady := nodeutil.GetNodeCondition(&node.Status, v1.NodeReady)
    	if readyIdx == -1 {
    		klog.ErrorS(nil, "Node does not have NodeReady condition", "node", node)
    		return false
    	}
    
    	if nodeReady.Status == v1.ConditionFalse {
    		return false
    	}
    
    	klog.InfoS("Fast updating node status as it just became ready")
    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/scheduler/eventhandlers_test.go

    			NewConditions: []v1.NodeCondition{},
    		},
    		{
    			Name:          "condition status changed",
    			Changed:       true,
    			OldConditions: []v1.NodeCondition{{Type: v1.NodeReady, Status: v1.ConditionFalse}},
    			NewConditions: []v1.NodeCondition{{Type: v1.NodeReady, Status: v1.ConditionTrue}},
    		},
    	} {
    		t.Run(test.Name, func(t *testing.T) {
    			oldNode := &v1.Node{Status: v1.NodeStatus{Conditions: test.OldConditions}}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 10 14:38:54 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  8. src/internal/trace/oldtrace.go

    				// the states _Gidle or _Grunnable.
    				it.extra = append(it.extra, Event{
    					ctx: schedCtx{
    						// G: GoID(gid),
    						G: NoGoroutine,
    						P: NoProc,
    						M: NoThread,
    					},
    					table: it.evt,
    					base: baseEvent{
    						typ:  go122.EvGoStatus,
    						time: Time(ev.Ts),
    						args: timedEventArgs{uint64(gid), ^uint64(0), uint64(go122.GoRunnable)},
    					},
    				})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 17.2K 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/kubemark/controller.go

    	if !ok {
    		return
    	}
    	for _, condition := range node.Status.Conditions {
    		// Delete node if it is in unready state, and it has been
    		// explicitly marked for deletion.
    		if condition.Type == apiv1.NodeReady && condition.Status != apiv1.ConditionTrue {
    			kubemarkCluster.nodesToDeleteLock.Lock()
    			defer kubemarkCluster.nodesToDeleteLock.Unlock()
    			if kubemarkCluster.nodesToDelete[node.Name] {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 17 23:02:17 UTC 2020
    - 14.1K bytes
    - Viewed (0)
Back to top