Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 141 for MainKt (0.14 sec)

  1. pilot/pkg/controllers/untaint/nodeuntainter_test.go

    }
    
    func (s *nodeTainterTestServer) addTaintedNodes(t *testing.T, nodes ...string) {
    	t.Helper()
    	for _, node := range nodes {
    		node := generateNode(node, nil)
    		// add our special taint
    		node.Spec.Taints = append(node.Spec.Taints, corev1.Taint{
    			Key:    TaintName,
    			Value:  "true",
    			Effect: corev1.TaintEffectNoSchedule,
    		})
    		s.nc.Create(node)
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 00:50:31 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. pkg/controller/controller_utils.go

    		if err != nil {
    			return err
    		}
    
    		var newNode *v1.Node
    		oldNodeCopy := oldNode
    		updated := false
    		for _, taint := range taints {
    			curNewNode, ok, err := taintutils.AddOrUpdateTaint(oldNodeCopy, taint)
    			if err != nil {
    				return fmt.Errorf("failed to update taint of node")
    			}
    			updated = updated || ok
    			newNode = curNewNode
    			oldNodeCopy = curNewNode
    		}
    		if !updated {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 12 15:34:44 UTC 2024
    - 47.6K bytes
    - Viewed (0)
  3. pkg/kubelet/lifecycle/predicate.go

    			reasons = append(reasons, &PredicateFailureError{r.Name, r.Reason})
    		}
    	}
    
    	// Check taint/toleration except for static pods
    	if !types.IsStaticPod(pod) {
    		_, isUntolerated := corev1.FindMatchingUntoleratedTaint(nodeInfo.Node().Spec.Taints, pod.Spec.Tolerations, func(t *v1.Taint) bool {
    			// Kubelet is only interested in the NoExecute taint.
    			return t.Effect == v1.TaintEffectNoExecute
    		})
    		if isUntolerated {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 19 00:47:50 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  4. pkg/controller/podgc/gc_controller_test.go

    		{
    			name: "some pods have deletion timestamp and/or phase set and some of the corresponding nodes have an" +
    				"outofservice taint that are not ready",
    			nodes: []node{
    				// terminated pods on this node should be force deleted
    				{name: "worker-0", readyCondition: v1.ConditionFalse, taints: []v1.Taint{{Key: v1.TaintNodeOutOfService,
    					Effect: v1.TaintEffectNoExecute}}},
    				// terminated pods on this node should not be force deleted
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 08:16:48 UTC 2024
    - 29K bytes
    - Viewed (0)
  5. manifests/charts/istio-control/istio-discovery/templates/deployment.yaml

    {{- end}}
    {{- if .Values.global.logAsJson }}
              - --log_as_json
    {{- end }}
              - --domain
              - {{ .Values.global.proxy.clusterDomain }}
    {{- if .Values.pilot.taint.namespace }}
              - --cniNamespace={{ .Values.pilot.taint.namespace }}
    {{- end }}
              - --keepaliveMaxServerConnectionAge
              - "{{ .Values.pilot.keepaliveMaxServerConnectionAge }}"
    {{- if .Values.pilot.extraContainerArgs }}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 30 20:24:06 UTC 2024
    - 9K bytes
    - Viewed (0)
  6. maven-embedder/src/main/java/org/apache/maven/cli/transfer/AbstractMavenTransferListener.java

    /**
     * AbstractMavenTransferListener
     */
    public abstract class AbstractMavenTransferListener extends AbstractTransferListener {
        public static final String STYLE = ".transfer:-faint";
    
        protected final MessageBuilderFactory messageBuilderFactory;
        protected final PrintStream out;
    
        protected AbstractMavenTransferListener(MessageBuilderFactory messageBuilderFactory, PrintStream out) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 21:48:41 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. pkg/controller/volume/attachdetach/reconciler/reconciler_test.go

    	// Force detach metric due to out-of-service taint
    	// We shouldn't see any additional force detaches, so only consider the initial count
    	testForceDetachMetric(t, int(initialForceDetachCount), metrics.ForceDetachReasonOutOfService)
    
    	// Act
    	// Taint the node
    	node3 := node2.DeepCopy()
    	node3.Spec.Taints = append(node3.Spec.Taints, v1.Taint{Key: v1.TaintNodeOutOfService, Effect: v1.TaintEffectNoExecute})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 07:00:14 UTC 2024
    - 72.8K bytes
    - Viewed (0)
  8. pkg/kubelet/kubelet_node_status.go

    	}
    	for label, value := range osLabels {
    		node.Labels[label] = value
    	}
    
    	nodeTaints := make([]v1.Taint, len(kl.registerWithTaints))
    	copy(nodeTaints, kl.registerWithTaints)
    	unschedulableTaint := v1.Taint{
    		Key:    v1.TaintNodeUnschedulable,
    		Effect: v1.TaintEffectNoSchedule,
    	}
    
    	// Taint node with TaintNodeUnschedulable when initializing
    	// node to avoid race condition; refer to #63897 for more detail.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/phases/kubelet/flags_test.go

    			},
    		},
    		{
    			name: "register with taints",
    			opts: kubeletFlagsOpts{
    				nodeRegOpts: &kubeadmapi.NodeRegistrationOptions{
    					CRISocket: "unix:///var/run/containerd/containerd.sock",
    					Taints: []v1.Taint{
    						{
    							Key:    "foo",
    							Value:  "bar",
    							Effect: "baz",
    						},
    						{
    							Key:    "key",
    							Value:  "val",
    							Effect: "eff",
    						},
    					},
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 24 07:02:51 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/plugins/nodeunschedulable/node_unschedulable_test.go

    			},
    			expectedHint: framework.Queue,
    		},
    		{
    			name: "skip-unrelated-change",
    			pod:  &v1.Pod{},
    			newObj: &v1.Node{
    				Spec: v1.NodeSpec{
    					Unschedulable: true,
    					Taints: []v1.Taint{
    						{
    							Key:    v1.TaintNodeNotReady,
    							Effect: v1.TaintEffectNoExecute,
    						},
    					},
    				},
    			},
    			oldObj: &v1.Node{
    				Spec: v1.NodeSpec{
    					Unschedulable: true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Dec 16 12:50:11 UTC 2023
    - 4.3K bytes
    - Viewed (0)
Back to top