Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 420 for NodeSelector (0.17 sec)

  1. staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodeselector.go

    // with apply.
    type NodeSelectorApplyConfiguration struct {
    	NodeSelectorTerms []NodeSelectorTermApplyConfiguration `json:"nodeSelectorTerms,omitempty"`
    }
    
    // NodeSelectorApplyConfiguration constructs an declarative configuration of the NodeSelector type for use with
    // apply.
    func NodeSelector() *NodeSelectorApplyConfiguration {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  2. operator/pkg/translate/translate_value_test.go

    			inIOPSpec: `
    spec:
      components:
        pilot:
          k8s:
            nodeSelector:
              master: "true"
      values:
        pilot:
          enabled: true
          rollingMaxSurge: 100%
          rollingMaxUnavailable: 25%
          resources:
            requests:
              cpu: 1000m
              memory: 1G
          replicaCount: 1
          nodeSelector:
            kubernetes.io/os: linux
          tolerations:
          - key: dedicated
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 06 02:56:54 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  3. manifests/charts/gateways/istio-ingress/templates/_affinity.tpl

      {{- include "nodeAffinityPreferredDuringScheduling" . }}
    {{- end }}
    
    {{- define "nodeAffinityRequiredDuringScheduling" }}
      {{- $nodeSelector := default .global.defaultNodeSelector .nodeSelector -}}
      {{- if or .global.arch $nodeSelector }}
          nodeSelectorTerms:
          - matchExpressions:
            {{- if .global.arch }}
            - key: kubernetes.io/arch
              operator: In
              values:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 10 21:23:08 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/nodeaffinity/node_affinity_test.go

    			name: "Pod with an Affinity and a PodSpec.NodeSelector(the old thing that we are deprecating) " +
    				"both are satisfied, will schedule onto the node",
    			pod: &v1.Pod{
    				Spec: v1.PodSpec{
    					NodeSelector: map[string]string{
    						"foo": "bar",
    					},
    					Affinity: &v1.Affinity{
    						NodeAffinity: &v1.NodeAffinity{
    							RequiredDuringSchedulingIgnoredDuringExecution: &v1.NodeSelector{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Dec 18 12:00:10 UTC 2023
    - 38.7K bytes
    - Viewed (0)
  5. pkg/controller/daemon/util/daemonset_util_test.go

    		expected *v1.Affinity
    	}{
    		{
    			affinity: nil,
    			hostname: "host_1",
    			expected: &v1.Affinity{
    				NodeAffinity: &v1.NodeAffinity{
    					RequiredDuringSchedulingIgnoredDuringExecution: &v1.NodeSelector{
    						NodeSelectorTerms: []v1.NodeSelectorTerm{
    							{
    								MatchFields: []v1.NodeSelectorRequirement{
    									{
    										Key:      metav1.ObjectNameField,
    										Operator: v1.NodeSelectorOpIn,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  6. pkg/api/node/util.go

    	var warnings []string
    
    	if rc != nil && rc.Scheduling != nil && rc.Scheduling.NodeSelector != nil {
    		// use of deprecated node labels in scheduling's node affinity
    		for key := range rc.Scheduling.NodeSelector {
    			if msg, deprecated := GetNodeLabelDeprecatedMessage(key); deprecated {
    				warnings = append(warnings, fmt.Sprintf("%s: %s", field.NewPath("scheduling", "nodeSelector"), msg))
    			}
    		}
    	}
    
    	return warnings
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 25 07:15:34 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/node/v1/types.go

    // RuntimeClass.
    type Scheduling struct {
    	// nodeSelector lists labels that must be present on nodes that support this
    	// RuntimeClass. Pods using this RuntimeClass can only be scheduled to a
    	// node matched by this selector. The RuntimeClass nodeSelector is merged
    	// with a pod's existing nodeSelector. Any conflicts will cause the pod to
    	// be rejected in admission.
    	// +optional
    	// +mapType=atomic
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  8. manifests/charts/gateways/istio-egress/templates/_affinity.tpl

      {{- include "nodeAffinityPreferredDuringScheduling" . }}
    {{- end }}
    
    {{- define "nodeAffinityRequiredDuringScheduling" }}
      {{- $nodeSelector := default .global.defaultNodeSelector .nodeSelector -}}
      {{- if or .global.arch $nodeSelector }}
          nodeSelectorTerms:
          - matchExpressions:
            {{- if .global.arch }}
            - key: kubernetes.io/arch
              operator: In
              values:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 10 21:23:08 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  9. pilot/pkg/serviceregistry/kube/controller/util_test.go

    			}},
    			Selector:  map[string]string{"app": "helloworld"},
    			ClusterIP: "9.9.9.9",
    		},
    	}
    
    	if nodeSelector != "" {
    		svc.Annotations = map[string]string{
    			"traffic.istio.io/nodeSelector": nodeSelector,
    		}
    	}
    	return svc
    }
    
    func hasProxyIP(addresses []v1.EndpointAddress, proxyIP string) bool {
    	for _, addr := range addresses {
    		if addr.IP == proxyIP {
    			return true
    		}
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 21 20:45:12 UTC 2023
    - 5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/node/v1beta1/types.go

    // RuntimeClass.
    type Scheduling struct {
    	// nodeSelector lists labels that must be present on nodes that support this
    	// RuntimeClass. Pods using this RuntimeClass can only be scheduled to a
    	// node matched by this selector. The RuntimeClass nodeSelector is merged
    	// with a pod's existing nodeSelector. Any conflicts will cause the pod to
    	// be rejected in admission.
    	// +optional
    	// +mapType=atomic
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 22 08:59:25 UTC 2022
    - 4.9K bytes
    - Viewed (0)
Back to top