Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 2,974 for Tolerations (0.18 sec)

  1. pkg/apis/node/v1/zz_generated.conversion.go

    func autoConvert_v1_Scheduling_To_node_Scheduling(in *v1.Scheduling, out *node.Scheduling, s conversion.Scope) error {
    	out.NodeSelector = *(*map[string]string)(unsafe.Pointer(&in.NodeSelector))
    	out.Tolerations = *(*[]core.Toleration)(unsafe.Pointer(&in.Tolerations))
    	return nil
    }
    
    // Convert_v1_Scheduling_To_node_Scheduling is an autogenerated conversion function.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 7.7K bytes
    - Viewed (0)
  2. manifests/charts/istio-operator/templates/deployment.yaml

          nodeSelector:
            {{- toYaml . | nindent 8 }}
          {{- end }}
          {{- with .Values.affinity }}
          affinity:
            {{- toYaml . | nindent 8 }}
          {{- end }}
          {{- with .Values.tolerations }}
          tolerations:
            {{- toYaml . | nindent 8 }}
          {{- end }}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Aug 25 19:10:42 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  3. plugin/pkg/admission/runtimeclass/admission_test.go

    		}
    	}
    	return pod
    }
    
    func newSchedulingValidPod(name string, nodeSelector map[string]string, tolerations []core.Toleration) *core.Pod {
    	return &core.Pod{
    		ObjectMeta: metav1.ObjectMeta{Name: name, Namespace: "test"},
    		Spec: core.PodSpec{
    			NodeSelector: nodeSelector,
    			Tolerations:  tolerations,
    		},
    	}
    }
    
    func getGuaranteedRequirements() core.ResourceRequirements {
    	resources := core.ResourceList{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 17 01:30:14 UTC 2022
    - 17.5K bytes
    - Viewed (0)
  4. pkg/apis/node/zz_generated.deepcopy.go

    		in, out := &in.NodeSelector, &out.NodeSelector
    		*out = make(map[string]string, len(*in))
    		for key, val := range *in {
    			(*out)[key] = val
    		}
    	}
    	if in.Tolerations != nil {
    		in, out := &in.Tolerations, &out.Tolerations
    		*out = make([]core.Toleration, len(*in))
    		for i := range *in {
    			(*in)[i].DeepCopyInto(&(*out)[i])
    		}
    	}
    	return
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 4K bytes
    - Viewed (0)
  5. pkg/controller/tainteviction/taint_eviction_test.go

    	oneSec := 1 * time.Second
    
    	tests := []struct {
    		tolerations []corev1.Toleration
    		expected    time.Duration
    	}{
    		{
    			tolerations: []corev1.Toleration{},
    			expected:    0,
    		},
    		{
    			tolerations: []corev1.Toleration{
    				{
    					TolerationSeconds: nil,
    				},
    			},
    			expected: -1,
    		},
    		{
    			tolerations: []corev1.Toleration{
    				{
    					TolerationSeconds: &one,
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/node/v1alpha1/zz_generated.deepcopy.go

    		in, out := &in.NodeSelector, &out.NodeSelector
    		*out = make(map[string]string, len(*in))
    		for key, val := range *in {
    			(*out)[key] = val
    		}
    	}
    	if in.Tolerations != nil {
    		in, out := &in.Tolerations, &out.Tolerations
    		*out = make([]v1.Toleration, len(*in))
    		for i := range *in {
    			(*in)[i].DeepCopyInto(&(*out)[i])
    		}
    	}
    	return
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 4.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/node/v1/zz_generated.deepcopy.go

    		in, out := &in.NodeSelector, &out.NodeSelector
    		*out = make(map[string]string, len(*in))
    		for key, val := range *in {
    			(*out)[key] = val
    		}
    	}
    	if in.Tolerations != nil {
    		in, out := &in.Tolerations, &out.Tolerations
    		*out = make([]corev1.Toleration, len(*in))
    		for i := range *in {
    			(*in)[i].DeepCopyInto(&(*out)[i])
    		}
    	}
    	return
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/node/v1beta1/zz_generated.deepcopy.go

    		in, out := &in.NodeSelector, &out.NodeSelector
    		*out = make(map[string]string, len(*in))
    		for key, val := range *in {
    			(*out)[key] = val
    		}
    	}
    	if in.Tolerations != nil {
    		in, out := &in.Tolerations, &out.Tolerations
    		*out = make([]v1.Toleration, len(*in))
    		for i := range *in {
    			(*in)[i].DeepCopyInto(&(*out)[i])
    		}
    	}
    	return
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 4K bytes
    - Viewed (0)
  9. plugin/pkg/admission/runtimeclass/admission.go

    			}
    			newNodeSelector[key] = runtimeClassValue
    		}
    	}
    
    	newTolerations := tolerations.MergeTolerations(pod.Spec.Tolerations, nodeScheduling.Tolerations)
    
    	pod.Spec.NodeSelector = newNodeSelector
    	pod.Spec.Tolerations = newTolerations
    
    	return nil
    }
    
    func validateOverhead(a admission.Attributes, pod *api.Pod, runtimeClass *nodev1.RuntimeClass) (err error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 05 05:53:38 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  10. pkg/apis/node/v1alpha1/conversion_test.go

    					PodFixed: core.ResourceList{
    						core.ResourceCPU: resource.MustParse(cpuOverhead),
    					},
    				},
    				Scheduling: &node.Scheduling{
    					NodeSelector: map[string]string{"extra-soft": "true"},
    					Tolerations: []core.Toleration{{
    						Key:      "stinky",
    						Operator: core.TolerationOpExists,
    						Effect:   core.TaintEffectNoSchedule,
    					}},
    				},
    			},
    			external: &v1alpha1.RuntimeClass{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 09 18:13:07 UTC 2019
    - 3.8K bytes
    - Viewed (0)
Back to top