Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 147 for untaint (3.03 sec)

  1. pkg/controller/tainteviction/doc.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    // Package tainteviction contains the logic implementing taint-based eviction
    // for Pods running on Nodes with NoExecute taints.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:23:56 UTC 2023
    - 723 bytes
    - Viewed (0)
  2. cmd/kubeadm/app/phases/kubelet/flags.go

    	}
    
    	if opts.registerTaintsUsingFlags && opts.nodeRegOpts.Taints != nil && len(opts.nodeRegOpts.Taints) > 0 {
    		taintStrs := []string{}
    		for _, taint := range opts.nodeRegOpts.Taints {
    			taintStrs = append(taintStrs, taint.ToString())
    		}
    		kubeletFlags = append(kubeletFlags, kubeadmapi.Arg{Name: "register-with-taints", Value: strings.Join(taintStrs, ",")})
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 16 10:27:05 UTC 2023
    - 5K bytes
    - Viewed (0)
  3. pkg/proxy/healthcheck/proxier_health.go

    func (hs *ProxierHealthServer) SyncNode(node *v1.Node) {
    	hs.lock.Lock()
    	defer hs.lock.Unlock()
    
    	if !node.DeletionTimestamp.IsZero() {
    		hs.nodeEligible = false
    		return
    	}
    	for _, taint := range node.Spec.Taints {
    		if taint.Key == ToBeDeletedTaint {
    			hs.nodeEligible = false
    			return
    		}
    	}
    	hs.nodeEligible = true
    }
    
    // NodeEligible returns nodeEligible field of ProxierHealthServer.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 16 10:41:18 UTC 2023
    - 8K bytes
    - Viewed (0)
  4. pkg/controller/volume/attachdetach/reconciler/reconciler.go

    			if err != nil {
    				logger.Error(err, "Failed to get taint specs for node", "node", klog.KRef("", string(attachedVolume.NodeName)))
    			}
    
    			// Check whether volume is still mounted. Skip detach if it is still mounted unless we have
    			// decided to force detach or the node has `node.kubernetes.io/out-of-service` taint.
    			if attachedVolume.MountedByNode && !forceDetach && !hasOutOfServiceTaint {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 22 21:02:38 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  5. pkg/apis/core/helper/helpers.go

    // and converts it to the []Taint type in core.
    func GetTaintsFromNodeAnnotations(annotations map[string]string) ([]core.Taint, error) {
    	var taints []core.Taint
    	if len(annotations) > 0 && annotations[core.TaintsAnnotationKey] != "" {
    		err := json.Unmarshal([]byte(annotations[core.TaintsAnnotationKey]), &taints)
    		if err != nil {
    			return []core.Taint{}, err
    		}
    	}
    	return taints, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Oct 28 07:31:28 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. pkg/controller/podgc/metrics/metrics.go

    	PodGCReasonTerminated = "terminated"
    	// PodGCReasonCompleted is used when the pod is terminating and the corresponding node
    	// is not ready and has `node.kubernetes.io/out-of-service` taint.
    	PodGCReasonTerminatingOutOfService = "out-of-service"
    	// PodGCReasonOrphaned is used when the pod is orphaned which means the corresponding node
    	// has been deleted.
    	PodGCReasonOrphaned = "orphaned"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 05 18:06:03 UTC 2023
    - 2.3K bytes
    - Viewed (0)
Back to top