Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 169 for PodAntiAffinity (0.32 sec)

  1. cluster/addons/dns/kube-dns/kube-dns.yaml.in

          priorityClassName: system-cluster-critical
          securityContext:
            seccompProfile:
              type: RuntimeDefault
            supplementalGroups: [ 65534 ]
            fsGroup: 65534
          affinity:
            podAntiAffinity:
              preferredDuringSchedulingIgnoredDuringExecution:
              - weight: 100
                podAffinityTerm:
                  labelSelector:
                    matchExpressions:
                      - key: k8s-app
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 03 03:19:02 UTC 2024
    - 7K bytes
    - Viewed (0)
  2. samples/addons/loki.yaml

                  mountPath: /etc/loki/runtime-config
                - name: storage
                  mountPath: /var/loki
              resources:
                {}
          affinity:
            podAntiAffinity:
              requiredDuringSchedulingIgnoredDuringExecution:
              - labelSelector:
                  matchLabels:
                    app.kubernetes.io/component: single-binary
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:57:35 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  3. pkg/api/pod/warnings_test.go

    									},
    								},
    								{
    									PodAffinityTerm: api.PodAffinityTerm{
    										LabelSelector: nil,
    									},
    								},
    							},
    						},
    						PodAntiAffinity: &api.PodAntiAffinity{
    							RequiredDuringSchedulingIgnoredDuringExecution: []api.PodAffinityTerm{
    								{
    									LabelSelector: &metav1.LabelSelector{},
    								},
    								{
    									LabelSelector: nil,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 17:51:48 UTC 2024
    - 42.1K bytes
    - Viewed (0)
  4. manifests/charts/gateways/istio-ingress/templates/deployment.yaml

              optional: true
          {{- end }}
          affinity:
    {{ include "nodeaffinity" (dict "global" .Values.global "nodeSelector" $gateway.nodeSelector) | trim | indent 8 }}
          {{- include "podAntiAffinity" $gateway | indent 6 }}
    {{- if $gateway.tolerations }}
          tolerations:
    {{ toYaml $gateway.tolerations | indent 6 }}
    {{- else if .Values.global.defaultTolerations }}
          tolerations:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 18:16:49 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. manifests/charts/gateways/istio-egress/templates/deployment.yaml

              optional: true
          {{- end }}
          affinity:
    {{ include "nodeaffinity" (dict "global" .Values.global "nodeSelector" $gateway.nodeSelector) | trim | indent 8 }}
          {{- include "podAntiAffinity" $gateway | indent 6 }}
    {{- if $gateway.tolerations }}
          tolerations:
    {{ toYaml $gateway.tolerations | indent 6 }}
    {{- else if .Values.global.defaultTolerations }}
          tolerations:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 18:16:49 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/plugins/interpodaffinity/plugin_test.go

    			expectedHint: framework.Queue,
    		},
    		{
    			name:         "add a new node with matched pod anti-affinity topologyKey",
    			pod:          st.MakePod().Name("p").PodAntiAffinity("zone", &metav1.LabelSelector{MatchLabels: map[string]string{"another": "label"}}, st.PodAntiAffinityWithRequiredReq).Obj(),
    			newNode:      st.MakeNode().Name("node-a").Label("zone", "zone1").Obj(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 12 03:08:44 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  7. pkg/scheduler/internal/cache/snapshot_test.go

    	podWithPort := st.MakePod().Name("foo").Namespace("foo").Node("node-0").ContainerPort([]v1.ContainerPort{{HostPort: 8080}}).Obj()
    	podWithAntiAffitiny := st.MakePod().Name("baz").Namespace("ns").PodAntiAffinity("another", &metav1.LabelSelector{MatchLabels: map[string]string{"another": "label"}}, st.PodAntiAffinityWithRequiredReq).Node("node-0").Obj()
    	podsWithAffitiny := []*v1.Pod{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 05 08:00:25 UTC 2023
    - 12K bytes
    - Viewed (0)
  8. pkg/registry/core/pod/strategy_test.go

    											},
    										},
    										MatchLabelKeys:    []string{"country"},
    										MismatchLabelKeys: []string{"city"},
    									},
    								},
    							},
    						},
    						PodAntiAffinity: &api.PodAntiAffinity{
    							RequiredDuringSchedulingIgnoredDuringExecution: []api.PodAffinityTerm{
    								{
    									LabelSelector: &metav1.LabelSelector{
    										MatchLabels: map[string]string{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 76.2K bytes
    - Viewed (0)
  9. pkg/apis/core/validation/validation_test.go

    			expectedError: "spec.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[0].podAffinityTerm.labelSelector.matchExpressions[0].values",
    			spec: core.Pod{
    				ObjectMeta: metav1.ObjectMeta{
    					Name:      "123",
    					Namespace: "ns",
    				},
    				Spec: validPodSpec(&core.Affinity{
    					PodAntiAffinity: &core.PodAntiAffinity{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/plugins/interpodaffinity/filtering.go

    		if !t.Matches(pod, nil) {
    			return false
    		}
    	}
    	return true
    }
    
    // calculates the following for each existing pod on each node:
    //  1. Whether it has PodAntiAffinity
    //  2. Whether any AntiAffinityTerm matches the incoming pod
    func (pl *InterPodAffinity) getExistingAntiAffinityCounts(ctx context.Context, pod *v1.Pod, nsLabels labels.Set, nodes []*framework.NodeInfo) topologyToMatchedTermCount {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 01 10:24:54 UTC 2023
    - 14.6K bytes
    - Viewed (0)
Back to top