Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 41 for not_ready (0.47 sec)

  1. src/cmd/trace/threadgen.go

    		gs := g.gStates[r.Scope.Goroutine()]
    		gs.rangeEnd(ev.Time(), r.Name, ev.Stack(), ctx)
    	}
    }
    
    func (g *threadGenerator) GoroutineTransition(ctx *traceContext, ev *trace.Event) {
    	if ev.Thread() != trace.NoThread {
    		if _, ok := g.threads[ev.Thread()]; !ok {
    			g.threads[ev.Thread()] = struct{}{}
    		}
    	}
    
    	st := ev.StateTransition()
    	goID := st.Resource.Goroutine()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. src/internal/trace/testdata/generators/go122-create-syscall-reuse-thread-id.go

    	b0.Event("GoSyscallEndBlocked")
    	b0.Event("ProcStatus", trace.ProcID(0), go122.ProcIdle)
    	b0.Event("ProcStart", trace.ProcID(0), testgen.Seq(1))
    	b0.Event("GoStatus", trace.GoID(4), trace.NoThread, go122.GoRunnable)
    	b0.Event("GoStart", trace.GoID(4), testgen.Seq(1))
    	b0.Event("GoSyscallBegin", testgen.Seq(2), testgen.NoStack)
    	b0.Event("GoDestroySyscall")
    
    	// A new Go-created thread with the same ID appears and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. src/internal/trace/resources.go

    package trace
    
    import "fmt"
    
    // ThreadID is the runtime-internal M structure's ID. This is unique
    // for each OS thread.
    type ThreadID int64
    
    // NoThread indicates that the relevant events don't correspond to any
    // thread in particular.
    const NoThread = ThreadID(-1)
    
    // ProcID is the runtime-internal G structure's id field. This is unique
    // for each P.
    type ProcID int64
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 8K bytes
    - Viewed (0)
  6. 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)
  7. pkg/controller/daemon/daemon_controller_test.go

    		}
    		err = manager.dsStore.Add(ds)
    		if err != nil {
    			t.Fatal(err)
    		}
    
    		expectSyncDaemonSets(t, manager, ds, podControl, 1, 0, 0)
    	}
    }
    
    // DaemonSets should place onto NotReady nodes
    func TestNotReadyNodeDaemonDoesLaunchPod(t *testing.T) {
    	for _, strategy := range updateStrategies() {
    		ds := newDaemonSet("foo")
    		ds.Spec.UpdateStrategy = *strategy
    		_, ctx := ktesting.NewTestContext(t)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.4K bytes
    - Viewed (0)
  8. 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)
  9. src/internal/trace/internal/testgen/go122/trace.go

    			b.writeEventsTo(tw)
    			b = g.newStructuralBatch()
    		}
    	}
    	b.writeEventsTo(tw)
    }
    
    func (g *Generation) newStructuralBatch() *Batch {
    	return &Batch{gen: g, thread: trace.NoThread}
    }
    
    // Batch represents an event batch.
    type Batch struct {
    	gen       *Generation
    	thread    trace.ThreadID
    	timestamp Time
    	size      uint64
    	events    []raw.Event
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  10. pkg/printers/internalversion/printers_test.go

    			},
    			// Columns: Name, Status, Roles, Age, KubeletVersion
    			expected: []metav1.TableRow{{Cells: []interface{}{"foo4", "NotReady", "<none>", "<unknown>", ""}}},
    		},
    		{
    			node: api.Node{
    				ObjectMeta: metav1.ObjectMeta{Name: "foo5"},
    				Spec:       api.NodeSpec{Unschedulable: true},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
Back to top